Stable Diffusion - Prompts prompt word engineering framework

Welcome to my CSDN: https://spike.blog.csdn.net/
This article address: https://spike.blog.csdn.net/article/details/131544508

SD

The current Stable Diffusion model uses the base stable-diffusion-v1-5 , v1-5-pruned-emaonly.safetensors .

Stable Diffusion's positive prompts are a language used to describe the images you want to generate, and you can control the content, style, and quality of the generated images through different words, symbols, weights, and correlations. Positive prompts can be flexibly selected and combined according to different scenarios and needs to achieve the desired effect.

Combining forward prompts with reverse prompts, the output effect is better. Reverse prompt words, as follows:

NSFW,(worst quality:2),(low quality:2),(normal quality:2),lowres,normal quality,((monochrome)),((grayscale)),skin spots,acnes,skin blemishes,age spot,(ugly:1.331),(duplicate:1.331),(morbid:1.21),(mutilated:1.21),(tranny:1.331),mutated hands,(poorly drawn hands:1.5),blurry,(bad anatomy:1.21),(bad proportions:1.331),extra limbs,(disfigured:1.331),(missing arms:1.331),(extra legs:1.331),(fused fingers:1.61051),(too many dingers:1.61051),(unclear eyes:1.331),lowers,bad hands,missing fingers,extra digit,bad hands,missing fingers,(((extra arms and legs)))

1. Prompt words

Prompts: It mainly includes three parts: content prompts, standardized prompts, and other special requirements.

Prompt

content prompts

  1. Characters and Subject Characteristics
    1. Clothing wear: white dress
    2. Hair color: blonde hair (blond hair), long hair
    3. Features of facial features: small eyes, big mouth
    4. Facial expression: smiling
    5. Body movements: stretching arms (stretching arms)
  2. Scene Features
    1. Indoor, outdoor: indoor, outdoor
    2. Large scene: forest, city, street
    3. Small details: tree, bush, white flower
  3. ambient light
    1. Day and night: day, night
    2. Specific time period: morning, sunset
    3. Light environment: sunlight, bright, dark
    4. Sky: blue sky, starry sky (starry sky)
  4. Supplement: drawing perspective
    1. Distance: close-up, distant
    2. Character ratio: full body, upper body
    3. Observation angle: from above, view of back
    4. Lens type: wide angle, Sony A7 III

standardized prompt words

  1. image quality hint
    1. Universal high-resolution: best quality, ultra-detailed, masterpiece (masterpiece), hires, 8k
    2. Specific high resolution type: extremely detailed CG unity 8k wallpaper (super fine 8k Unity game CG), unreal engine rendered (unreal engine rendering)
  2. Style prompt words
    1. Illustration style: illustration (illustration), painting, paintbrush
    2. 2D: anime, comic, game CG
    3. Realism: photorealistic (photo-level), realistic, photograph (photo)

According to content prompts and standardized prompts, the general template includes:

  1. describe the character
  2. describe the scene
  3. Describe the environment (time, lighting)
  4. Describing frame angle
  5. other screen elements
  6. high quality standardization
  7. Style standardization
  8. other special requirements

Describe the person, for example:

  • nilou\(Genshin Impact\): nilou original god character
  • jewelry: jewelry
  • blue gemstone:sapphire
  • earrings:earrings
  • horns:horn
  • crown:crown
  • cyan satin strapless dress: Cyan satin tube top dress
  • white veil: white veil
  • neck ring: collar
(one girl:2.0),solo,nilou\(genshin Impact\),long hair,jewelry,blue gemstone,earrings,horns,crown,cyan satin strapless dress,white veil,neck ring,red hair, {
    
    green eyes},

Describe the scenario, for example:

indoor,room,house,sofa,wooden floor,plant,flowers,trees,windows,

Describe the environment (time, lighting), for example:

  • dappled sunlight: dappled sunlight
  • light rays: light
day,morning,sunlight,dappled sunlight,backlight,light rays,cloudy sky,

Describe the frame angle, for example:

  • depth of field: depth of field
full body,wide angle shot,depth of field,

Other screen elements, such as:

  • light particles: Photon
  • fantasy:fantasy
  • wind blow: the wind blows
  • maple leaf: maple leaf
  • dusty: dusty
light particles,fantasy,wind blow,maple leaf,dusty,

High-quality standardization, such as:

{
    
    {
    
    masterpiece}},{
    
    best quality},{
    
    highres},original,reflection,unreal engine,body shadow,artstationextremely detailed CG unity 8k wallpaper,

Style standardization, for example:

(illustration),(painting),(sketch),anime coloring,fantasy,

Other special requirements, such as:

  • exaggerated body proportions: Exaggerated body proportions
  • greasy skin: Oily skin
  • realistic and delicate facial features: Realistic and refined facial features
  • SFW:safe for working
exaggerated body proportions,greasy skin,realistic and delicate facial features,SFW,

Improvement summary:

(one girl:2.0),solo,nilou\(genshin Impact\),long hair,jewelry,blue gemstone,earrings,horns,crown,cyan satin strapless dress,white veil,neck ring,red hair, {green eyes},
indoor,room,house,sofa,wooden floor,plant,flowers,trees,windows,
day,morning,sunlight,dappled sunlight,backlight,light rays,cloudy sky,
full body,wide angle shot,depth of field,
light particles,fantasy,wind blow,maple leaf,dusty,
{
   
   {masterpiece}},{best quality},{highres},original,reflection,unreal engine,body shadow,artstationextremely detailed CG unity 8k wallpaper,
(illustration),(painting),(sketch),anime coloring,fantasy,
exaggerated body proportions,greasy skin,realistic and delicate facial features,SFW,

image:

SD


2. Content prompts

parameter settings:

Params

Prompts 1, the basic prompt:

a girl,walking,forest,path,sun,sunshine,shining on body,

image:

Prompts 1

Prompts 2, that is, basic prompts + characters and main characteristics:

a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy

image:

SD

Prompts 3, that is, basic prompts + character and subject features + scene features:

a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,

image:

SD

Prompt 4, that is, basic prompts + character and subject features + scene features + ambient lighting:

a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,
day,sunlight,blue sky,cloudy sky,(close-up:1.5),

image:

SD


3. Standardized prompt words

parameter settings:
insert image description here

Prompts 5, content prompt words + image quality:

a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,
day,sunlight,blue sky,cloudy sky,(close-up:1.5),
best quality,ultra detailed,masterpiece,hires,8k,extremely detailed CG unity 8k wallpaper,

image:

SD

Prompts 6, content prompt words + image quality + style of painting:

a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,
day,sunlight,blue sky,cloudy sky,(close-up:1.5),
best quality,ultra detailed,masterpiece,hires,8k,extremely detailed CG unity 8k wallpaper,
painting,illustration,anime,game CG, 

image:

SD

Guess you like

Origin blog.csdn.net/u012515223/article/details/131544508
Recommended