THIS ARTICLE IS OUT OF DATE, THE NEW ONE IS AT THIS LINK.
What Are Negative Prompts?
Negative prompts are specific instructions given to an AI model to exclude certain features or characteristics from the generated images. They act as filters, ensuring that the unwanted elements do not appear in the final output. This is particularly useful in preventing common issues such as poor quality, incorrect anatomy, or undesirable styles.
What to use?
Here is a list of the negative prompts that I use, they are categorized for convenience:
1. Image Quality:
ai-generated, artifact, artifacts, bad quality, bad scan, blurred, blurry, compressed, compression artifacts, corrupted, dirty art scan, dirty scan, dithering, downsampling, faded lines, frameborder, grainy, heavily compressed, heavily pixelated, high noise, image noise, low dpi, low fidelity, low resolution, lowres, moire pattern, moiré pattern, motion blur, muddy colors, noise, noisy background, overcompressed, pixelation, pixels, poor quality, poor lineart, scanned with errors, scan artifact, scan errors, very low quality, visible pixels
2. Artistic Quality:
amateur, amateur drawing, bad anatomy, bad art, bad aspect ratio, bad color, bad coloring, bad composition, bad contrast, bad crop, bad drawing, bad image, bad lighting, bad lineart, bad perspective, bad photoshop, bad pose, bad proportions, bad shading, bad sketch, bad trace, bad typesetting, bad vector, beginner, black and white, broken anatomy, broken pose, clashing styles, color error, color issues, color mismatch, deformed, dirty art, disfigured, displeasing, distorted, distorted proportions, drawing, dubious anatomy, duplicate, early, exaggerated limbs, exaggerated pose, flat colors, gross proportions, incomplete, inconsistent proportions, inconsistent shading, inconsistent style, incorrect anatomy, lazy art, long neck, low contrast, low detail, low detail background, low effort, low quality background, malformed limbs, messy, messy drawing, messy lineart, misaligned, mutated hands, mutation, mutilated, no shading, off center, off model, off model errors, off-model, poor background, poor color, poor coloring, poorly colored, poorly drawn, poorly drawn face, poorly drawn hands, poorly proportioned, poorly scaled, poorly shaded, quality control, questionable anatomy, questionable quality, random background, rough, rough drawing, rough edges, rough sketch, rushed, shading error, sketch, sketchy, smudged, smudged lines, symmetrical, terrible quality, too many fingers, twisted, ugly, unclear, uncolored, uncoloured, under saturated, underexposed, uneven lines, unfinished, unfinished lineart, unpolished, very low quality, worst quality, wrong anatomy, wrong proportions
3. Censorship and Filtering:
bar censor, censor, censor mosaic, censored, filter abuse, heavily pixelated, instagram filter, mosaic censoring, over filter, over saturated, over sharpened, overbrightened, overdarkened, overexposed, overfiltered, oversaturated
4. Artifacts and Errors:
aliasing, anatomy error, anatomy mistake, artifact, artifacts, broken anatomy, broken pose, camera aberration, chromatic aberration, clashing styles, cloned face, color banding, color error, color issues, color mismatch, compression artifacts, corrupted, cribbed from, cropped, deformed, dirty scan, disfigured, distorted, downsampling, draft, dubious anatomy, emoji, error, exaggerated limbs, exaggerated pose, extra arms, extra digits, extra fingers, extra legs, extra limbs, faded lines, filter abuse, fused fingers, gradient background, grainy, heavily compressed, heavily pixelated, high noise, image noise, improper cropping, incomplete, inconsistent proportions, inconsistent shading, inconsistent style, incorrect anatomy, jagged edges, jpeg artifacts, lazy art, long neck, low contrast, low detail, low detail background, low dpi, low effort, low fidelity, low quality background, low resolution, lowres, malformed limbs, messy, messy drawing, messy lineart, misaligned, missing, missing arms, missing legs, moire pattern, motion blur, mutated hands, mutation, mutilated, needs retage, no background, no shading, noise, noisy background, obstructed view, off center, off model, off model errors, off-model, over saturated, over sharpened, overbrightened, overcompressed, overdarkened, overexposed, overlay text, oversaturated, pixelation, pixels, placeholder, poorly drawn face, poorly drawn hands, poorly proportioned, poorly scaled, poorly shaded, rough, rough drawing, rough edges, rough sketch, rushed, scan artifact, scan errors, scanned with errors, shading error, smudged, smudged lines, style mismatch, stylistic clash, symmetrical, tagme, terrible quality, too many fingers, twisted, unfinished, unfinished lineart, unpolished, very low quality, visible pixels, worst quality, wrong anatomy, wrong proportions
5. Background and Composition:
empty background, gradient background, no background, random background, simple background, white background
6. Tags Related to Artist and Signatures:
artist name, artist signature, artist unknown, signature, stolen artwork, username, watermark, watermark text, watermarked, web address
7. Watermarks and Logos:
logo, patreon logo, sample watermark, sticker, sticker overlay
8. Style and Medium:
abstract, amateur, black and white, drawing, flat colors, icon overlay, meme, monochrome, ms paint, pixel art, screencap, sketch, sketchy, symetrical
How about using all of them?
If you split them with BREAK it should improve the result.
Here is a ready example:
ai-generated, artifact, artifacts, bad quality, bad scan, blurred, blurry, compressed, compression artifacts, corrupted, dirty art scan, dirty scan, dithering, downsampling, faded lines, frameborder, grainy, heavily compressed, heavily pixelated, high noise, image noise, low dpi, low fidelity, low resolution, lowres, moire pattern, moiré pattern, motion blur, muddy colors, noise, noisy background, overcompressed, pixelation, pixels, poor quality, poor lineart, scanned with errors, scan artifact, scan errors, very low quality, visible pixels BREAK amateur, amateur drawing, bad anatomy, bad art, bad aspect ratio, bad color, bad coloring, bad composition, bad contrast, bad crop, bad drawing, bad image, bad lighting, bad lineart, bad perspective, bad photoshop, bad pose, bad proportions, bad shading, bad sketch, bad trace, bad typesetting, bad vector, beginner, black and white, broken anatomy, broken pose, cartoon, clashing styles, color error, color issues, color mismatch, deformed, dirty art, disfigured, displeasing, distorted, distorted proportions, drawing, dubious anatomy, duplicate, early, exaggerated limbs, exaggerated pose, flat colors, gross proportions, incomplete, inconsistent proportions, inconsistent shading, inconsistent style, incorrect anatomy, lazy art, long neck, low contrast, low detail, low detail background, low effort, low quality background, malformed limbs, messy, messy drawing, messy lineart, misaligned, mutated hands, mutation, mutilated, no shading, off center, off model, off model errors, off-model, poor background, poor color, poor coloring, poorly colored, poorly drawn, poorly drawn face, poorly drawn hands, poorly proportioned, poorly scaled, poorly shaded, quality control, questionable anatomy, questionable quality, random background, rough, rough drawing, rough edges, rough sketch, rushed, shading error, sketch, sketchy, smudged, smudged lines, symmetrical, terrible quality, too many fingers, twisted, ugly, unclear, uncolored, uncoloured, under saturated, underexposed, uneven lines, unfinished, unfinished lineart, unpolished, worst quality, wrong anatomy, wrong proportions BREAK bar censor, censor, censor mosaic, censored, filter abuse, instagram filter, mosaic censoring, over filter, over saturated, over sharpened, overbrightened, overdarkened, overexposed, overfiltered, oversaturated BREAK aliasing, anatomy error, anatomy mistake, camera aberration, chromatic aberration, cloned face, color banding, cribbed from, cropped, draft, emoji, error, extra arms, extra digits, extra fingers, extra legs, extra limbs, fused fingers, gradient background, improper cropping, jagged edges, jpeg artifacts, missing, missing arms, missing legs, needs retage, no background, obstructed view, overlay text, placeholder, style mismatch, stylistic clash, tagme BREAK empty background, simple background, white background BREAK artist name, artist signature, artist unknown, signature, stolen artwork, username, watermark, watermark text, watermarked, web address, logo, patreon logo, sample watermark, sticker, sticker overlay, abstract, icon overlay, meme, monochrome, ms paint, pixel art, screencap, symetrical
Does it work?
It has been suggested in the comments that this prompt is redundant. However, I am convinced otherwise: this prompt has been carefully selected from training data and tested to improve the quality of generation. While personal impressions can be subjective, I prefer to rely on concrete data. This is why I use quantitative measures to validate the prompt's effectiveness.
I used THIS prompt as a basis. Anime Aesthetic Predict was used for evaluation, you can use it to test the prompt yourself.
There were four series of generations to evaluate:
Using my negative prompt.
score: 0,9303326606750488
With the original negative prompt.
score: 0,19898708164691925
With the application of Textual Inversion zPDXL2-neg.
score: 0,6895483136177063
Without using the negative prompt.
score: 0,8461727499961853
Generation parameters:
score_9,score_8_up,score_7_up,score_6_up,score_5_up,score_4_up,source_anime,vibrant colors,volumetric lighting BREAK
kindred,lamb,furry,anthro,small breast,hourglass body,mask,white see-through summer dress,bare side leg,bare arms,bare shoulders,long white hair,
Steps: 25, Sampler: Euler a, CFG scale: 7, Seed: 1523479921, Size: 768x1024, Model hash: 67ab2fd8ec, Model: ponyDiffusionV6XL_v6StartWithThisOne, VAE hash: 235745af8d, VAE: ponyDiffusion.safetensors, Clip skip: 2
The results showed that my prompt received the highest score, which clearly demonstrates its superiority and effectiveness.
I'm NOT a professional, so I don't know much about it. If you have any suggestions on how I can improve a negative prompt or article, please share them in the comments, THANKS!