28 lines
921 B
Markdown
28 lines
921 B
Markdown
---
|
||
title: "负向提示词"
|
||
type: concept
|
||
tags: [ai, prompt, image-generation]
|
||
---
|
||
|
||
## Definition
|
||
负向提示词(Negative Prompt)是一种明确指定 AI 生成过程中需要排除的特征或元素的提示词策略。
|
||
|
||
## Mechanism
|
||
在图像生成中,negatives 字段告诉模型"不要生成这些内容":
|
||
- 避免常见缺陷:blur、noise、watermark、logo
|
||
- 排除不需要的元素:human hands、text、distortion
|
||
- 控制风格纯度:no unrealistic lighting、no cartoon style
|
||
|
||
## In Nano Banana Framework
|
||
Nano Banana 的 negatives 字段是质量控制关键:
|
||
```json
|
||
"negatives": "no scratches, no dust, no logos or brand names, no human hands, blurry watch face"
|
||
```
|
||
|
||
## Why It Matters
|
||
不写 negatives = 让 AI 自由发挥,容易混入不需要的元素。明确的 negatives = 质量门槛。
|
||
|
||
## Connections
|
||
- [[Nano Banana]] ← 框架实现
|
||
- [[结构化提示词]] ← 上位概念
|