42 lines
1.6 KiB
Markdown
42 lines
1.6 KiB
Markdown
---
|
||
title: "Negative Prompting"
|
||
type: concept
|
||
tags: [prompt-engineering, ai-image-generation, exclusion]
|
||
last_updated: 2026-05-15
|
||
---
|
||
|
||
## Definition
|
||
|
||
负向提示词(Negative Prompting)——通过明确指定不想要的内容元素,主动排除 AI 生成图像中的干扰元素和常见缺陷,提升生成结果的可控性和专业度。
|
||
|
||
## Mechanism
|
||
|
||
在支持负向提示词的 AI 平台(Midjourney、Stable Diffusion)中,用户通过专门的语法(`--no`、`negative_weights`、`NOT` 等)指定需要排除的元素。
|
||
|
||
## Common Negative Prompt Categories
|
||
|
||
- **图像缺陷**:blurry、noise、grain、artifact、distortion、overexposed、underexposed
|
||
- **不想要的对象**:watermark、text、logo、signature、frame、border
|
||
- **构图元素**:background clutter、distracting elements、unwanted objects
|
||
- **质量相关**:low quality、jpeg artifacts、compression artifacts
|
||
- **风格相关**:cartoonish(当需要写实风格时)、oversaturated、overprocessed
|
||
|
||
## Best Practices
|
||
|
||
- 针对性而非泛化:只排除确实不想要的特定元素,不过度使用
|
||
- 与正向提示词协同:负向提示词补充而非替代正向提示词
|
||
- 平台适配:各平台负向提示词语法和支持程度不同(Midjourney 的 `--no`、SD 的 negative embeddings)
|
||
|
||
## Connections
|
||
|
||
- [[Five-Layer-Prompt-Structure]] 的组成部分(在结构框架中标注负向提示词位置)
|
||
- [[Midjourney]] / [[Stable-Diffusion]] 平台的核心功能
|
||
- [[Prompt-Engineering]] 的关键技术之一
|
||
|
||
## Aliases
|
||
|
||
- Negative Prompt
|
||
- Exclusion Prompt
|
||
- NOT Prompt
|
||
- 负向提示词
|