Zubnet AIसीखेंWiki › Negative Prompt
Using AI

Negative Prompt

Negative Conditioning
एक text description जो बताता है कि generated image में आप क्या नहीं चाहते, main prompt के साथ use होता है। Prompt: “a beautiful landscape।” Negative prompt: “blurry, low quality, text, watermark, people।” Model generation के दौरान negative prompt के concepts से actively दूर steer करता है। Negative prompts primarily Stable Diffusion और दूसरे open image generation models के साथ use होते हैं।

यह क्यों matter करता है

Negative prompts image generation quality improve करने के सबसे effective tools में से एक हैं। इनके बिना, models artifacts produce करते हैं (blurry areas, extra fingers, text watermarks) क्योंकि ये training data में frequently appear होते हैं। एक well-crafted negative prompt common failure modes eliminate करता है और positive prompt change किए बिना output पर ज़्यादा control देता है।

Deep Dive

Technically, negative prompts work through classifier-free guidance (CFG). During generation, the model computes two predictions: one conditioned on the positive prompt and one conditioned on the negative prompt. The final prediction moves toward the positive conditioning and away from the negative: final = negative + scale × (positive − negative). The guidance scale controls how strongly the model follows the prompts.

Common Negative Prompts

The community has developed standard negative prompts for common issues: "blurry, low quality, jpeg artifacts" (quality), "extra fingers, deformed hands, extra limbs" (anatomy), "text, watermark, signature, logo" (unwanted elements), "ugly, disfigured, bad proportions" (general quality). Many users have a default negative prompt they include with every generation. Custom negative prompts address domain-specific issues.

Not All Models Use Them

Negative prompts work with models that support classifier-free guidance (most Stable Diffusion variants, Flux). DALL-E 3 and Midjourney don't expose negative prompts as a user-facing feature — they handle quality issues through their prompt rewriting and internal quality mechanisms. The trend in newer models is to reduce the need for negative prompts by improving default quality, but they remain valuable for precise control in open models.

संबंधित अवधारणाएँ

← सभी Terms
ESC