首发于AIGC tips

Stable Diffusion使用入门与提示词技巧

基础(图片质量)

输入提示词的第一步不是要尝试画任何东西,而是定义提示词以提升图片质量。

基本吟唱魔法

起手式输入下述提示词,生成图片质量就会提高。

best quality, ultra-detailed, masterpiece, finely detail, highres, 8k wallpaper

比较输入质量提示词前后

1girl, magic Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2785601337, Size: 512x512, Model hash: fc2511737a, Model: chilloutmix_NiPrunedFp32Fix
1girl, magic, best quality, ultra-detailed, masterpiece, finely detail, highres, 8k wallpaper Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2785601337, Size: 512x512, Model hash: fc2511737a, Model: chilloutmix_NiPrunedFp32Fix

人物吟唱魔法

画人时添加下列提示词,可大幅提升人物细节精细度

beautiful detailed eyes
highly detailed skin
extremely delicate and beautiful girls

比较输入质量提示词前后

1girl, sailor dress Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 241507614, Size: 512x512, Model hash: a074b8864e, Model: CounterfeitV25_25>
1girl, sailor dress, beautiful detailed eyes, highly detailed skin, extremely delicate and beautiful girls Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 745832415, Size: 512x512, Model hash: a074b8864e, Model: CounterfeitV25_25

特定元素的质量改进魔法

同理,当您想要升级某些元素(背景、眼睛或衣服)的质感时,可添加以下提示词:

extremely detailed /* 某些单词 */
beautiful detailed /* 某种单词 */

使用负面提示词

使用负面提示词可以筛选掉不需要的画风、要素、或错误绘画结果。

mutated hands and fingers,text,title,deformed, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, out of focus, long neck, long body

由于目前AI还不太会画手,以下为不画手提示词组合句

((poorly drawn hands)),more than 1 left hand, more than 1 right hand, short arm, (((missing arms))), bad hands,missing fingers,(extradigit),(fewer digits),mutated hands,(fused fingers),(too many fingers),sharp fingers,wrong figernails,long hand,double middle finger,index fingers together,missing indexfinger,interlocked fingers,pieck fingers,sharp fingernails,(steepled fingers),x fingers,((curled fingers)),(no finger gaps),interlocked fingers,fingers different thickness,cross fingers,poor outline,big fingers,finger growth,outline on body,outline on hair,out line on background,more than one hands,fuse arm,fuse elbow,more than two arm,more than two elbow

视角

  • dynamic angle
  • from above
  • from below
  • wide shot
  • Aerial View
best quality, ultra-detailed, masterpiece, finely detail, highres, 1girl, kimono, in shinto shrine, Aerial View Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 4093211569, Size: 512x512, Model hash:

主体远近的相关提示词

  • full body shot(全身)
  • cowboy shot ( 半身)
  • close-up shot (接近)
best quality, ultra-detailed, masterpiece, finely detail, highres, 1girl, extremely delicate and beautiful girls,cyberpunk, full body shot Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 923218373, Size: 512x512, Model hash: a074b8864e, Model: CounterfeitV25_25
best quality, ultra-detailed, masterpiece, finely detail, highres, 1girl, extremely delicate and beautiful girls,cyberpunk, cowboy shot Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3024702595, Size: 512x512, Model hash: a074b8864e, Model: CounterfeitV25_25
best quality, ultra-detailed, masterpiece, finely detail, highres, 1girl, extremely delicate and beautiful girls,cyberpunk, close-up shot Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 1257468238, Size: 512x512, Model hash: a074b8864e, Model: CounterfeitV25_25

光线

  • cinematic lighting (电影光)
  • dynamic lighting (动感光)

视线

  • looking at viewer
  • looking at another
  • looking away
  • looking back
  • looking up

画风

  • sketch, one-hour drawing challenge (手绘风)

身体指定

表情

  • blush(脸红)
  • wet sweat(大汗)
  • flying sweatdrops (飞汗 )

衣服指定

制服

  • china dress
  • sailor dress
  • school uniform
  • sailor senshi uniform

不多说了。。。

风景指定

  • underwater (水下)
  • shinto shrine (神社)

姿势指定

  • hands on 例hands on own face, hands on feet, hands on breast
  • kneeling
  • hand between legs
  • hair flip
  • skirt flip

其他技巧

使用括号

  • 如果你想变得提示词更强(x1.05):用 () 括起单词
  • 如果你想提示词变弱(/1.05):用 [] 括起单词

Seed 固定

使用固定的Seed号,再添加提示词,可以在原图上进行进一步修改(如上色,改变视角等)

PNG info

上传AI生成图查看相应的prompt信息

参考资料

NovelAIの個人的使える呪文(prompt)集・テクニック(適宜更新)|藍々(あいあい)|note

词图PromptTool - AI绘画资料管理网站

编辑于 2023-02-26 23:59・IP 属地上海