🗒初墨
🍊Hello,各位好,我是面包!
当你想要用 AI 生成一张图片时,可以先问问自己这几个问题:
当你想要用 AI 生成一张图片时,可以先问问自己这几个问题:
你想画什么?
是照片还是画?比如,是一张风景照,还是一幅油画?
你最想突出什么?
画面里最重要的东西是什么?比如,是一个人、一只猫,还是一座山?
你想要什么风格?
是写实的、科幻的、二次元的,还是像吉卜力动画那样的?
你想加点什么细节?
比如光影效果、时间(白天还是晚上)、场景(森林还是城市)、视角(俯视还是仰视),以及背景(天空还是大海)。
简单来说,就是先想清楚画什么、突出什么、用什么风格,再加点细节让画面更丰富!
一、SD提示词基本语法:像点餐一样简单
1.1 提示词就是"菜单"
提示词由多个词缀构成--包含正向提示词(定义所需元素)与反向提示词(排除干扰元素)
想象你去餐厅点菜:
正向提示词:鱼香肉丝(主菜)、微辣(口味)、多加木耳(配料)
反向提示词:不要香菜(忌口)、别太咸(注意事项)
AI绘画同理:(best quality), 1girl, smile, pink hair, (sunset background:1.3), [blurry]
语法
提示词与提示词之间用英文逗号分隔,同时词之间要用空格隔开(大家在撰写提示词的时候一定要注意,用英文输入法)
提示词之间是可以换行的(我们可以利用这一特性让提示词看起来更清楚,但换行时记得加上逗号这样AI才知道你换行了)
每个提示词默认权重为1,越靠前权重越高。
提示词词数量并不是越多越好(如果你想可控生图提示词数量控制在75个单词以内,关键词超过这个数量对整体画面影响比较少了,但可以增加一些点缀要素)
Prompt 支持使用 emoji,可通过添加 emoji 图来达到效果
1.2 词序就是优先级
在提示词段落中,词缀的权重从左向右依次减弱,权重影响画面生成的结果
比如景色Tag在前,人物就会小:
相反的人物提示词在前景物在后人物会变大或半身:
就像服务员会先记下最先说的菜品:
正确示范:高质量 → 人物 → 背景--生成半身像美女
错误示范:背景 → 人物--可能得到风景中的小人
1.2.1 画面质量
best quality, masterpiece, HDR, UHD, 8K, oil_painting这些提示词用于确保生成图片的基础质量高,通常放在提示词的最前面。例如,best quality 和 8K 可以让 AI 生成高分辨率的图像,而 oil_painting 则指定了油画风格。
1.2.2 主要元素
princess, oval face, dancing, smile, bright pupils这些提示词用于明确画面的主体内容。例如,princess 指定了画面中的主角是公主,dancing 则描述了她的动作。为了让主体更突出,这些词缀的排序要尽量靠前,权重也可以适当提高。
1.2.3 细节
Movie light, elves, floating light points, dreams, magic, panoramic, grand scenes, (Bokeh:1.4)这些提示词用于补充画面的细节,例如光影效果、背景元素或氛围感。Movie light 可以添加电影般的光影效果,floating light points 则让画面中出现漂浮的光点。权重视具体需求调整,比如 (Bokeh:1.4) 强调背景虚化效果。
1.2.4 风格优先
oil_painting, anime style, cyberpunk如果希望明确画面的风格,风格词缀应优于内容词缀。例如,oil_painting 会生成油画风格的图像,cyberpunk 则会呈现赛博朋克风格。可以通过增加权重(如 ((oil_painting)))来强化风格效果。
1.2.5 完整示例
best quality, masterpiece, HDR, UHD, 8K, ((oil_painting)),
princess, oval face, dancing, bright pupils, twintails, smile,
Movie light, elves, floating light points,
dreams, magic, panoramic, grand scenes, (Bokeh:1.4)这是一个完整的提示词示例,按照“画面质量 → 风格 → 主要元素 → 细节”的顺序排列。例如:
- 画面质量:
best quality,masterpiece,HDR,UHD,8K - 风格:
((oil_painting)) - 主要元素:
princess,oval face,dancing,bright pupils,twintails,smile - 细节:
Movie light,elves,floating light points,dreams,magic,panoramic,grand scenes,(Bokeh:1.4)
这种结构确保了画面质量高、风格明确、主体突出、细节丰富。
1.3 元素冲突就像点鸳鸯锅
当提示词互相矛盾时:(snow mountain:1.2), beach
AI会像火锅里的红汤清汤各占一半,生成雪山脚下有沙滩的奇幻场景
1.4 长度控制黄金法则
75词原则:关键词超过这个数量对整体画面影响比较少了,但可以增加一些点缀要素。就像点菜超过10道会串味,提示词太多AI也会混乱
推荐结构:
质量词(5-10个) + 主体(3-5个) + 细节(5-8个) + 风格(2-3个)二、参数解析:给提示词加Buff的魔法
2.1 括号就是音量旋钮
(蛋糕) # 普通音量 → 1.1倍
((巧克力)) # 调大音量 → 1.21倍
[[[奶油]]] # 调小音量 → 0.73倍2.2 时间控制器:先炒菜后放盐
[鱼:0.3] # 前30%步骤画鱼
[香菜::0.7] # 后30%步骤加香菜
[红烧|清蒸:0.5] # 前半红烧,后半清蒸2.3 混合创作:生成新物种
[猫|狗|兔] # 生成猫狗兔混合萌物
(龙) AND [翅膀::0.6] # 先画龙身,后60%加翅膀提示词权重控制符号详解
2.3.1 小括号 ( )
用于强调重要元素,如主体或风格。
Garden, red flower, blue flower, (yellow flower) # 黄色花朵权重 ×1.1
Garden, red flower, blue flower, ((yellow flower)) # 黄色花朵权重 ×1.21
Garden, red flower, blue flower, (((yellow flower))) # 黄色花朵权重 ×1.3312.3.2 大括号 { }
用于轻微调整,避免过度强调。
Garden, red flower, blue flower, {yellow flower} # 黄色花朵权重 ×1.05
Garden, red flower, blue flower, {{yellow flower}} # 黄色花朵权重 ×1.10
Garden, red flower, blue flower, {{{yellow flower}}} # 黄色花朵权重 ×1.152.3.3 中括号 [ ]
用于降低干扰元素的权重。
Garden, [red flower], blue flower, yellow flower # 红色花朵权重 ×0.9
Garden, [[red flower]], blue flower, yellow flower # 红色花朵权重 ×0.81
Garden, [[[red flower]]], blue flower, yellow flower # 红色花朵权重 ×0.7292.3.4 自定义权重
精确控制,适合高级用户。
Garden, red flower, (blue flower:0.4), yellow flower # 蓝色花朵权重 ×0.4
Garden, red flower, (blue flower:1.6), yellow flower # 蓝色花朵权重 ×1.62.3.5 尖括号 < >(调用 LoRA 模型)
用于调用特定风格的 LoRA 模型。你可以通过权重来调整lora对画面的影响(0.1-1)
<lora:anime_style:0.8> # 调用动漫风格 LoRA 模型,权重 ×0.82.3.6 使用下划线和AND连接提示词
**下划线_**起到连接的作用,让词与词更紧密连接到一起/防止歧义。
例如我想让AI生成一个咖啡蛋糕,如果不加下划线它很可能理解不了会出现单独的咖啡喝蛋糕,但是加了下划线后它就理解的更好了。
AND将多个词缀聚合在一个提示词顺序位置中,其初始权重一致
三、用聊天生成提示词:AI帮你写咒语
3.1 对话模板
特定物品
你是一位工业设计师兼材质学家(角色定位)
请用专业术语(中英文各一版)描述该图片中目标物品特征(使用于flux等AI绘画大模型)
人工提示:{填写你的理解}
长度要求:80-120单词
描述格式:将主要特征和场景成分提取成词组放在前面,然后才是精细描述
内容涵盖:
色彩体系(主色、辅色)、
物理拓扑(主体结构、组件分布、连接方式)、
几何参数(整体尺寸、类比大小、曲率半径、倾角设计)、
材质矩阵(表面处理、触觉反馈、光学特性)、
动态特征(光影响应、运动轨迹、使用痕迹);
同时描述{几个}该物品同时处于一个特定环境中(这些物体具有同一外形特征)【特别强调】
并依照现实添加该环境的纹理细节与物品摆放,并整理成一段话二次元插画
你是一位角色原画师兼场景设计师
请用专业术语(中英文各一版)描述该二次元图像特征(适配Stable Diffusion/NovelAI等模型)
人工提示:{解析画面核心设计语言}
内容涵盖:
角色设定(体型比例、服饰剪裁、特征符号)
场景矩阵(景深层次、环境光遮蔽、材质混合)
视觉风格(线稿质感、色指定、特效分层)
构图拓扑(引导线、负空间、视觉重心)
动态元素(布料解算、发丝动力学、粒子系统)
【特别强调】处于幻想场景中,添加:
环境拓扑(远景雾效、地表磨损、植被分布)
物件交互(角色投影、环境反射、遮挡关系)
,并整理成一段话3.2 AI生成示例
🤖 输出:(cyberpunk:1.3), 1girl, mechanical arm, neon lights, (holographic interface:1.2), [blood], futuristic cityscape
3.3 润色技巧
原始:海边 sunset
优化:
(tropical beach:1.2), (golden hour:1.3),
palm trees, turquoise waves,
[seagulls:0.5], (4k texture), anime style四、我的提示词仓库:开箱即用
4.1 万能模板
正向:best quality, masterpiece, 8k,
[主体描述],
(风格:1.2), [环境],
soft lighting, detailed eyes
反向:low quality, blurry, extra fingers4.2 风格速查表
| 风格 | 关键词 |
|---|---|
| 吉卜力 | ghibli style, pastel |
| 赛博朋克 | cyberpunk, neon |
| 水墨风 | ink wash painting |
4.3 prompts库
二次元人物细节修复【sd1.5】
正面提示词
(masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,
负面提示词
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 fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),
二次元人物描述【sd1.5】
prompt
Adorable, whimsical, anime-style, vibrant, imaginative, colorful, spirited, youthful, energetic, fantasy-inspired, manga-influenced, cute, quirky, ethereal, dreamy, otherworldly, charming, dynamic, artistic, expressive, vibrantly dressed, distinctive, visually striking, manga-styled, anime-featured, pop-culture, eye-catching, stylish, imaginatively coiffed, characterful,
桥梁钢架细节【realistic_vision】
正面提示词
Detail of the steel frame of the bridge,no_humans, 8k,raw photo,masterpiece,best quality,photorealistic, professional, 4k, highly detailed(steel is product),product close-up shots,suitable size,
负面提示词
unsuitable,big product,drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly,worst quality,low quality,
室内设计【realistic_vision】
正面提示词
{High-ceilinged living room|minimalist aesthetic|warm beige walls|floor-to-ceiling windows|natural light infusion|large pendant lighting|modern art accents }, { charcoal low-profile sofa|plush cream shag rug|cosy conversation nook|sculptural brass chandelier|ambient lighting|minimalist wall art|floor cushions }, { modern fireplace|black marble surround|abstract art collection|potted succulents|floating wall shelf|Polished metal decor|Geometric patterned carpet }, { muted-toned armchairs|sleek glass coffee table|sophisticated ambiance|relaxation area|socializing space|warm-toned lighting|textured throw pillows }, { Expansive open-concept living space|modern Scandinavian design|crisp white walls|high-gloss hardwood floors|floor-to-ceiling windows with panoramic views|airy curtains|airy balcony access }, { natural light streaming in|minimalist floating shelves|statement area rug in geometric patterns|sleek L-shaped sofa in soft grey|accent chairs in contrasting jewel tones|vintage sideboard|mid-century modern chairs }, { marble coffee table with brass inlays|suspended Sputnik chandelier|minimalist fireplace with linear design|wall-mounted TV on a swivel bracket|contemporary art pieces with bold colors|luxury velvet curtains|edgy wall sculptures }, { indoor plants adding a touch of greenery|sleek dining set with glass tabletop|pendant lights above kitchen island|stainless steel appliances|subway tile backsplash|modern bar cart|industrial-style pendant lights }, { breakfast bar with bar stools|open kitchen layout|cozy reading nook with plush armchair|built-in bookshelves|soft ambient lighting|comfortable floor lamps|vintage bookends }, { elegant yet inviting atmosphere|high-quality upholstery|polished brass fixtures|luxurious silk cushions|glossy ceramic vases|stylish throw blankets|sleek wooden side tables},
学习环境【realistic_vision】
正面提示词
{serene study atmosphere|minimalist design|natural light flooding|comfortable ergonomic chairs|sleek wooden desks}, {modern art accents|vibrant color palette|inspirational quotes on walls|spacious layout|creative freedom}, {ergonomic lighting setup|ambient noise reduction|greenery in corners|digital canvas display|interactive learning tools}, {flexible seating options|collaborative work areas|whiteboard for brainstorming|calming color scheme|acoustic panels}, {multimedia presentation area|interactive digital screens|comfortable bean bags|ambient music option|aromatherapy diffusers}, {sustainable materials used|energy-efficient appliances|eco-friendly decorations|natural ventilation system|biophilic design elements}, {personalized study nooks|adjustable standing desks|soft ambient lighting|inspirational artwork|motivational posters}, {soundproofed private pods|high-speed internet access|ergonomic keyboard setup|adjustable task lighting|noise-cancelling headphones}, {color-coded study zones|tactile learning materials|interactive whiteboards|comfortable lounge areas|digital library access}, {ergonomic footrests|adjustable monitor stands|ambient temperature control|calming nature sounds|focus-enhancing scents}, {brainstorming huddle areas|writable wall surfaces|flexible furniture layout|high-tech projectors|creative brainstorming tools}, {inspirational speaker corners|motivational video loops|comfortable reading nooks|adjustable lighting schemes|digital note-taking apps}, {group project stations|collaborative design tables|interactive feedback screens|comfortable swivel chairs|brainstorming apps}, {ergonomic seating options|adjustable standing desks|soft ambient lighting|inspirational artwork|motivational posters}, {soothing color schemes|tactile learning materials|interactive whiteboards|comfortable lounge areas|digital library access}, {brainstorming huddle areas|writable wall surfaces|flexible furniture layout|high-tech projectors|creative brainstorming tools}, {inspirational speaker corners|motivational video loops|comfortable reading nooks|adjustable lighting schemes|digital note-taking apps}, {group project stations|collaborative design tables|interactive feedback screens|comfortable swivel chairs|brainstorming apps}, {ergonomic footrests|adjustable monitor stands|ambient temperature control|calming nature sounds|focus-enhancing scents}, {brain-friendly snack stations|hydration reminders|eco-friendly materials|sustainable energy sources|biophilic design elements},
桥梁设计
正面提示词
{close-up view|riveted steel beams|intricate welds|industrial gloves|safety goggles}, {detailed rebar pattern|concrete formwork|vibration plates|finishing trowels|cement mixers}, {focused cable stay|tensioning equipment|sling shot details|anchorage points|stay cables}, {up-close abutment|reinforced concrete texture|foundation bolts|earthmoving tracks|steel casings}, {intimate bridge deck|fresh concrete|pavement layers|road markings|traffic barriers}, {detailed expansion joint|thermal movement studies|weatherproof seals|durability tests|maintenance crews}, {close inspection platform|safety harnesses|high-angle rigging|binoculars|measuring devices}, {up-close painting process|anti-corrosion layers|spray paint cans|safety nets|industrial scaffolds}, {detailed formwork removal|rebar exposure|concrete curing|finishing touches|cement dust}, {focused traffic control|barrier installation|road markings|pavement cutters|traffic cones}, {intimate lighting installation|LED light fixtures|electrical conduits|light pole assembly|cable trays}, {detailed aesthetic features|architectural curves|decorative elements|historical plaques|cultural symbols}, {close-up bridge opening|ribbon cutting ceremony|construction team|achievement banners|public appreciation}, {detailed bridge approach|pavement laying|road markings|traffic lights|pavement texture}, {focused water flow|river currents|bridge piers|scour protection|water level markers}, {up-close maintenance|routine inspections|repair works|safety briefings|maintenance logs}, {detailed bridge lighting|LED lights|cable management|electrical connections|light fixture installation}, {close-up bridge walkway|pedestrian textures|bicycle lane markings|handrails|pavement details}, {detailed bridge signage|directional arrows|warning signs| informational plaques|reflective surfaces}, {focused bridge joint|structural connections|rivet details|bolt assemblies|load-bearing components}, {up-close bridge railing|safety features|handrail design|pavement edge|structural integrity}, {detailed bridge support|pier construction|foundation excavation|steel pile driving|support structure assembly},
Kimi动态提示词命令
基于【学习环境的室内设计】的环境,将提示词随机细化并转化成一段基于AI绘画【sd1.5模型】的英文提示词并写一段高质量提示词,以词组形式写成一段话。词组之间用|隔开,根据语义用{}分成20个小段,要求每个小段中至少有7个词组,不要分点,将每个小段用,连起来,{}不要删掉。二次元风格大模型【pony】
score_9(最高质量)
minecraft lora微调模型【minecraft】
keys
The triggering words is:
minecraft.Preview images are all produced using
SDXLbaseRecommend weight :
0.8~1Recommend prompts :
Blocky and pixelated aesthetic,pixel art,4k,realistic,game CG rendering,nature light,shadows,minecraft
📜 结语:提示词工程师的自我修养
记住:AI不是读心专家,而是精准的编译器。当你学会用
(艺术:科学=1:1)的视角看待提示词,就能把"抽卡式玄学"变成"可复现的魔法"!
