Prompt 工程(Prompt Engineering)
Prompt 工程是“把需求讲清楚”的艺术与科学:通过更好的指令,让 AI 模型输出更接近你想要的结果。想在 Armox 的 AI 工具里得到高质量产出,这项技能几乎是必修课。
为什么 Prompt 工程很重要?
AI 生成内容的质量,很大程度取决于你与模型沟通的清晰度。一个写得好的 prompt,往往决定了你得到的是普通结果,还是惊艳、专业级的结果。
好 prompting 的收益:
- 产出更准确、更相关
- 多次生成保持风格一致
- 迭代次数更少
- credits 使用更高效
核心原则(Core Principles)
1. 具体一点(Be Specific)
模糊的 prompt 会带来模糊的结果。不要只写 “a person in a city”,可以写成:
“a young professional woman walking through downtown Tokyo at sunset, wearing a navy blazer, golden hour lighting.”
2. 让 prompt 有结构(Structure Your Prompts)
推荐按逻辑顺序组织:
- Subject — 主体是什么?
- Context — 在哪里、什么时候?
- Style — 想要什么审美或氛围?
- Technical details — 镜头、光线、构图等
3. 使用专业词汇(Use Professional Vocabulary)
AI 模型能理解摄影与设计术语:
Camera & Composition:
- "35mm lens," "wide-angle shot," "macro photography"
- "rule of thirds," "centered composition," "leading lines"
- "shallow depth of field," "bokeh background"
Lighting:
- "golden hour," "blue hour," "dramatic shadows"
- "rim lighting," "soft diffused light," "studio lighting"
- "high contrast," "low key," "high key"
Style & Mood:
- "cinematic," "editorial," "documentary"
- "minimalist," "maximalist," "vintage"
- "warm tones," "cool tones," "muted colors"
4. 写清楚你不想要什么(Include What You Don't Want)
负面提示(negative prompts)能避免常见问题:
- "no blurry elements"
- "no distorted faces"
- "no watermarks"
- "no cropped edges"
Prompt 模板(Prompt Templates)
产品摄影(Product Photography)
Prompt Template
[Product] on [surface/background], [lighting style], [angle], professional product photography, high resolution, sharp focus
人像(Portrait)
Prompt Template
[Subject description], [setting], [lighting], [mood/emotion], [camera details], professional portrait photography
营销视觉(Marketing Visual)
Prompt Template
[Scene description] for [brand/product], [style] aesthetic, [color palette], suitable for [platform/use case]
迭代策略(Iteration Strategy)
- Start broad — 先把大方向对齐
- Refine details — 补充具体元素
- Adjust style — 微调审美与氛围
- Polish — 加上技术规格与细节
不同模型的提示技巧(Model-Specific Tips)
不同 AI 模型对 prompt 的响应方式不同。可以结合模型指南使用:
- Nano Banana Pro — 文字渲染、逻辑理解、多图一致性很强
- Flux — 写实图像与专业摄影风格很强
- Stable Diffusion XL — 艺术与创意风格很适合
下一步
深入学习特定模型的提示方法: