AI绘画SD咒语合集:Stable Diffusion高质量提示词模板大公开
TL;DR:SD咒语(prompt)写得好不好,出图质量天差地别。这里整理了8大类50+条经过反复验证的高质量提示词模板,涵盖写实人像、二次元、场景设计、风格化等主流方向,拿来即用、改改就出片。
SD咒语的基本结构:质量词→主体描述→风格标签→细节强化→负面词,5层结构缺一不可
很多新手写prompt就是一句话扔进去,然后纳闷为什么出图质量不稳定。好的SD咒语有严格的5层结构。第一层质量词(前置强绑定):"masterpiece, best quality, 8k, highly detailed, sharp focus"——这些词告诉AI你要求顶级输出。第二层主体描述(是什么):"1girl, long black hair, wearing a white sundress, sitting on a park bench"。第三层风格标签(怎么画):"anime style, Makoto Shinkai aesthetic, soft lighting, cinematic composition"。
第四层细节强化(画面加分项):"cherry blossom petals falling, warm spring afternoon, dappled sunlight through trees, shallow depth of field"。第五层负面词(排除什么):"low quality, worst quality, blurry, deformed, bad anatomy, extra fingers, watermark, text"。这五层中,第三和第四层是拉开差距的关键——同样是画一个女孩坐在公园,加不加"cherry blossom petals falling, dappled sunlight"效果差别大到像两部不同预算的电影。
人像类咒语模板(10条):从写实证件照到二次元角色立绘,覆盖最常用的出图场景
写实女性肖像:"masterpiece, best quality, photorealistic, 1girl, 25-year-old, natural beauty, subtle freckles, soft golden hour lighting, shallow depth of field, Canon EOS R5, 85mm f/1.4"。 写实男性肖像:"professional headshot, 1man, 30-year-old, sharp jawline, stubble, confident expression, studio lighting, dark background, Hasselblad medium format"。 二次元少女:"masterpiece, best quality, anime style, 1girl, school uniform, cherry blossom background, sparkling eyes, pastel color palette, Makoto Shinkai aesthetic"。
赛博朋克角色:"cyberpunk, 1girl, neon-lit city street, holographic interface, cybernetic implants, purple and cyan color scheme, rain-slicked streets, Blade Runner 2049 style"。 古风汉服:"Chinese traditional hanfu, 1girl, Tang dynasty style, flowing silk robes, elaborate hair ornaments, ancient palace courtyard, misty atmosphere"。 奇幻精灵:"fantasy elf, 1girl, pointed ears, ethereal beauty, glowing markings on skin, enchanted forest, bioluminescent plants, magical particles floating"。 商务职业照:"corporate portrait, 1woman, business attire, modern office background, professional yet approachable, natural window lighting"。 复古胶片:"film photography, 1girl, Kodak Portra 400, nostalgic 1990s vibe, casual street snap, slightly grainy, warm tones"。 水彩插画:"watercolor illustration, 1girl, flowing dress, floral wreath, soft color bleeding, textured paper, artistic"。 黑白艺术:"black and white fine art portrait, 1man, dramatic chiaroscuro, sculptural lighting, timeless elegance, film noir atmosphere"。
这些模板不是让你原封不动抄的——把主体描述换成你要的角色,风格和细节保留,就能快速出片。想搭配具体角色设计思路的,美女肖像教程、男生全身像教程、动漫腹肌教程都有更针对性的角色关键词。
场景与风格类咒语模板(额外8条)+ 高级技巧:权重语法和提示词排序的秘密
赛博朋克城市场景:"cyberpunk cityscape, neon-drenched streets, flying cars, massive holographic billboards, rain-slicked asphalt, Blade Runner aesthetic, wide angle lens"。 日系乡村风景:"rural Japanese landscape, terraced rice fields, traditional farmhouse, cherry tree in bloom, Studio Ghibli background art style, peaceful atmosphere"。 太空科幻:"sci-fi space station interior, gleaming white corridors, holographic control panels, distant nebula visible through observation window, 2001 A Space Odyssey inspiration"。
提示词权重语法是SD独有的强大功能。用括号增加权重:(beautiful)表示1.1倍,((beautiful))表示1.21倍。用方括号降低权重:[ugly]表示0.9倍。还可以精确指定:(beautiful:1.3)。提示词排序也有讲究:越靠前的词权重越高。所以把最重要的质量词和主体描述放在最前面,把背景和氛围放在后面。更多提示词工程技巧,艺术感提升指南里讲了如何用语言引导AI的美学判断。CivitAI提示词工程专题和Stable Diffusion Art提示词指南是两份非常实用的外部参考资料,建议收藏。
常见问题 FAQ
Q1:为什么同样的咒语在不同模型下效果差很多?
因为每个模型(SD 1.5、SDXL、SD3、各类微调模型)的训练数据和理解方式不同。咒语需要根据模型微调——写实咒语在二次元模型上肯定跑偏。
Q2:负面词到底写多少合适?
15-25个词为佳。太少了没约束力,太多了可能干扰正面描述。推荐一个万能负面模板:"low quality, worst quality, blurry, deformed, bad anatomy, extra fingers, missing fingers, watermark, text, signature, ugly, distorted, jpeg artifacts"。
Q3:咒语是用英文写还是中文写?
SD系列底层是英文模型,必须用英文写。即使用了中文插件,翻译过程也会损失精度。英文不好就用翻译工具辅助,别直接写中文。
Q4:有现成的咒语库可以抄吗?
CivitAI上每个模型页面都附带示例咒语,直接复制粘贴到SD里就能用。这是新手学习咒语最快的方式——先抄,再改,最后原创。
📤 分享这篇文章
觉得有用?分享给你的画师朋友吧!
🐦 Twitter |
📱 微博 |
📘 Facebook