什么是负面 Prompt?
负面 prompt 告诉 AI 图像生成器你不想要什么。正面 prompt 描述期望的元素,而负面 prompt 则排除不需要的内容。这个看似简单的概念能显著提升 AI 艺术质量,并赋予你对结果更精细的控制力。
把它想象成雕塑:正面 prompt 添加材料,负面 prompt 凿去不属于作品的部分。两者协同配合,精确地塑造你的创意构想。
工作原理
AI 图像生成器从噪声开始,逐步将其优化为符合你 prompt 的图像。在这个过程中:
正面 prompt 引导 AI 趋向某些特征,推动图像包含指定的元素。
负面 prompt 主动推离某些特征,引导生成过程远离不需要的元素。
AI 平衡这两种相反的力量,生成的图像既强调了你想要的,又避免了你不想要的。这种双重引导系统比仅使用正面 prompt 提供了更多的控制力。
平台支持情况
不同平台处理负面 prompt 的方式各不相同:
Stable Diffusion:完整支持负面 prompt。对于高质量结果至关重要。大多数界面中有独立的文本输入框。
Midjourney:使用 --no 参数代替独立输入框。例如:--no text, watermark, blur
DALL-E:原生支持有限。有时可以通过措辞来绕过,但效果不如其他平台。
Leonardo AI:完整支持,类似于 Stable Diffusion。
本指南主要关注 Stable Diffusion 和 Midjourney,因为负面 prompt 在这两个平台上影响最为显著。
| Platform | Support Level | How to Use | Effectiveness |
|---|---|---|---|
| Stable Diffusion | Full support | Separate text field | Very High - essential for quality |
| Midjourney | Parameter-based | --no keyword1, keyword2 | High - effective but limited syntax |
| DALL-E 3 | Limited | Phrasing workarounds | Moderate - less precise control |
| Leonardo AI | Full support | Separate text field | High - similar to Stable Diffusion |
Copy-Paste Starter Negative Prompts
Universal Quality Fix:
blurry, low quality, lowres, bad anatomy, bad hands, cropped, worst quality, jpeg artifacts, watermark, text, signature, deformed
For Portraits:
ugly, deformed face, extra fingers, mutated hands, poorly drawn face, extra limbs, long neck, cross-eyed, asymmetric eyes
For Landscapes:
people, text, watermark, buildings, cars, modern elements, power lines, signs, fences, lens distortion
基本负面 Prompt
从以下基础负面 prompt 开始:
质量控制:
"blurry, low quality, low resolution, poorly drawn, bad anatomy, wrong anatomy, extra limbs, missing limbs, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, out of frame, out of focus"
伪影和错误:
"jpeg artifacts, compression artifacts, watermark, text, signature, username, logo, cropped, worst quality, normal quality"
手部/面部问题:
"bad hands, extra fingers, missing fingers, fused fingers, too many fingers, mutated hands, malformed hands, extra hands, bad face, asymmetric eyes, cross-eyed, deformed face"
这些负面词解决了最常见的 AI 图像生成问题,几乎每个 prompt 都应该包含它们。
风格特定的负面词
根据你期望的风格调整负面词:
追求写实图像:
"cartoon, anime, drawing, painting, illustration, sketch, digital art, 3d render, cgi, unrealistic, fake, artificial"
追求动漫/插画:
"photorealistic, realistic, photograph, photo, 3d, 3d render, hyperrealistic, real life, stock photo"
追求数字艺术:
"photography, photograph, realistic, photorealistic, real, traditional art, oil painting, watercolor"
追求干净背景:
"busy background, cluttered, noisy background, complex background, detailed background, distracting elements"
高级负面 Prompt 策略
提升你的负面 prompt 技巧:
加权负面词:在 Stable Diffusion 中,为负面词设置权重以加强效果:(blurry:1.3)、(bad hands:1.5)。更高的权重会更强力地避免那些元素。
针对你的具体问题:如果结果中出现了不想要的元素,就把它们加入负面词。总是出现不想要的眼镜?添加 "glasses, spectacles, eyewear"。不想要帽子?添加 "hat, cap, headwear"。
对抗意外关联:一些正面 prompt 的词汇会有意外的关联。如果 "fantasy warrior" 总是产生过多的盔甲,就在负面词中添加 "heavy armor, bulky armor"。
使用同义词:覆盖不需要元素的各种变体。要避免文字:"text, writing, words, letters, typography, font, caption, watermark, logo, signature"。
用负面 Prompt 解决常见问题
问题:面部变形
添加:"deformed face, ugly face, bad proportions, asymmetric face, weird face, distorted features, bad eyes, crossed eyes"
问题:多余或缺失的肢体
添加:"extra limbs, missing limbs, extra arms, extra legs, missing arms, missing legs, floating limbs, disconnected limbs, extra body parts"
问题:模糊或低质量输出
添加:"blurry, out of focus, bokeh, depth of field, soft focus, low resolution, pixelated, compression, artifacts, noise"
问题:出现不需要的物体
添加:具体指名不需要的物体。"no person, no animal, no building" 或任何不断出现的东西
问题:错误的风格混入
添加:明确指名不需要的风格。如果写实 prompt 中出现了动漫元素,添加 "anime, cartoon, animated, cel-shaded"
Midjourney 中的负面 Prompt
Midjourney 使用 --no 代替独立的负面 prompt 输入框:
基本用法:在 prompt 末尾添加:--no text, watermark, blur
多个负面词:用逗号分隔:--no people, animals, vehicles, text
与其他参数组合:
"beautiful landscape, mountains, sunset --ar 16:9 --v 6 --no people, buildings, text"
局限性:Midjourney 的 --no 不如 Stable Diffusion 的完整负面 prompt 强大。它在排除具体物体方面效果最好,而非抽象品质。
建立你的负面 Prompt 模板
为不同用途创建可复用的负面 prompt 模板:
肖像模板:
"blurry, bad anatomy, bad face, bad eyes, asymmetric eyes, deformed face, extra limbs, missing limbs, bad hands, extra fingers, missing fingers, cropped, out of frame, low quality, worst quality, text, watermark, signature"
风景模板:
"blurry, low quality, oversaturated, undersaturated, text, watermark, people, person, human, buildings, man-made structures, cropped, out of frame, ugly, worst quality"
产品摄影模板:
"blurry, low quality, low resolution, bad lighting, harsh shadows, overexposed, underexposed, text, watermark, background objects, cluttered, busy background, worst quality"
动漫/角色模板:
"photorealistic, realistic, 3d render, bad anatomy, extra limbs, missing limbs, bad hands, extra fingers, missing fingers, poorly drawn face, bad proportions, gross proportions, text, watermark, worst quality"
技巧与最佳实践
从基本开始,逐步添加:先用基础的质量负面词,然后根据你实际得到的结果添加具体的负面词。
不要过载:太多负面 prompt 可能会让 AI 困惑或导致意外结果。聚焦在实际出现的问题上。
反复迭代:根据结果调整负面词。如果出现了不想要的东西,就添加它。如果没有得到预期的效果,就移除过于宽泛的负面词。
匹配模型:不同的 Stable Diffusion 模型对负面词的响应不同。对一个有效的可能对另一个不适用。
先不加负面词测试:有时了解基线输出有助于你更好地制作负面词。
结语
负面 prompt 是 AI 艺术生成中最强大却最未被充分利用的工具之一。它赋予你雕塑般的控制力——像添加期望元素一样精确地移除不需要的内容。
从基本的质量负面词开始,根据你的目标添加风格特定的术语,并根据结果不断优化。随着时间推移,你会培养出直觉,知道哪些负面词能解决哪些问题。
建立你个人的负面 prompt 模板库并持续优化它们。在掌握负面 prompt 上的投入,将在更好、更可控的 AI 艺术创作方面获得指数级的回报。