ai-artist
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAI Artist - Prompt Engineering
AI Artist - 提示词工程
Craft effective prompts for AI text and image generation models.
为AI文本和图像生成模型打造有效的提示词。
Core Principles
核心原则
- Clarity - Be specific, avoid ambiguity
- Context - Set scene, role, constraints upfront
- Structure - Use consistent formatting (markdown, XML tags, delimiters)
- Iteration - Refine based on outputs, A/B test variations
- 清晰性 - 具体明确,避免歧义
- 上下文 - 提前设定场景、角色和约束条件
- 结构化 - 使用统一的格式(markdown、XML标签、分隔符)
- 迭代性 - 根据输出结果优化,进行A/B测试变体
Quick Patterns
快速模板
LLM Prompts (Claude/GPT/Gemini)
LLM提示词(Claude/GPT/Gemini)
[Role] You are a {expert type} specializing in {domain}.
[Context] {Background information and constraints}
[Task] {Specific action to perform}
[Format] {Output structure - JSON, markdown, list, etc.}
[Examples] {1-3 few-shot examples if needed}[角色] 你是一名专注于{领域}的{专家类型}。
[上下文] {背景信息和约束条件}
[任务] {需要执行的具体操作}
[格式] {输出结构 - JSON、markdown、列表等}
[示例] {如有需要,提供1-3个少样本示例}Image Generation (Midjourney/DALL-E/Stable Diffusion)
图像生成提示词(Midjourney/DALL-E/Stable Diffusion)
[Subject] {main subject with details}
[Style] {artistic style, medium, artist reference}
[Composition] {framing, angle, lighting}
[Quality] {resolution modifiers, rendering quality}
[Negative] {what to avoid - only if supported}Example:
Portrait of a cyberpunk hacker, neon lighting, cinematic composition, detailed face, 8k, artstation quality --ar 16:9 --style raw[主体] {带有细节的主要主体}
[风格] {艺术风格、媒介、艺术家参考}
[构图] {取景、角度、光线}
[画质] {分辨率修饰词、渲染质量}
[负面提示] {需要避免的内容 - 仅在模型支持时使用}示例:
Portrait of a cyberpunk hacker, neon lighting, cinematic composition, detailed face, 8k, artstation quality --ar 16:9 --style rawReferences
参考资料
Load for detailed guidance:
| Topic | File | Description |
|---|---|---|
| LLM | | System prompts, few-shot, CoT, output formatting |
| Image | | Style keywords, model syntax, negative prompts |
| Nano Banana | | Gemini image prompting, narrative style, multi-image input |
| Advanced | | Meta-prompting, chaining, A/B testing |
| Domain Index | | Universal pattern, links to domain files |
| Marketing | | Headlines, product copy, emails, ads |
| Code | | Functions, review, refactoring, debugging |
| Writing | | Stories, characters, dialogue, editing |
| Data | | Extraction, analysis, comparison |
加载以下文件获取详细指导:
| 主题 | 文件 | 描述 |
|---|---|---|
| LLM | | 系统提示词、少样本、思维链(CoT)、输出格式 |
| 图像 | | 风格关键词、模型语法、负面提示词 |
| Nano Banana | | Gemini图像提示词、叙事风格、多图像输入 |
| 高级技巧 | | 元提示词、链式提示、A/B测试 |
| 领域索引 | | 通用模板、各领域文件链接 |
| 营销 | | 标题、产品文案、邮件、广告 |
| 代码 | | 函数、代码评审、重构、调试 |
| 写作 | | 故事、角色、对话、编辑 |
| 数据 | | 提取、分析、对比 |
Model-Specific Tips
模型专属技巧
| Model | Key Syntax |
|---|---|
| Midjourney | |
| DALL-E 3 | Natural language, no parameters, HD quality option |
| Stable Diffusion | Weighted tokens |
| Flux | Natural prompts, style mixing, |
| Imagen/Veo | Descriptive text, aspect ratio, style references |
| 模型 | 关键语法 |
|---|---|
| Midjourney | |
| DALL-E 3 | 自然语言,无需参数,支持高清画质选项 |
| Stable Diffusion | 加权标记 |
| Flux | 自然提示词、风格混合、 |
| Imagen/Veo | 描述性文本、宽高比、风格参考 |
Anti-Patterns
反模式
- Vague instructions ("make it better")
- Conflicting constraints
- Missing context for domain tasks
- Over-prompting with redundant details
- Ignoring model-specific strengths/limits
- 模糊的指令(如“做得更好”)
- 冲突的约束条件
- 领域任务缺少上下文
- 提示词冗余过度
- 忽略模型的特定优势/限制