零度AI
高级12 分钟阅读

AI 绘图提示词进阶

深入学习 AI 绘图提示词,掌握高级技巧提升图片生成质量

AI绘画提示词进阶技巧MidjourneyStable Diffusion

提示词工程概述

同样的工具,为什么别人能生成高质量图片?因为他们掌握了提示词工程的精髓。

提示词核心

提示词质量 = 图片质量的 80%

提示词结构解析

完整提示词结构

[主体描述] + [场景/环境] + [风格] + [光线] + [色调] + [构图] + [参数]

各部分详解

1. 主体描述

❌ 不好: a cat ✅ 更好: a fluffy orange tabby cat with green eyes, sitting pose, visible whiskers, realistic fur texture, looking at camera

2. 场景/环境

示例: in a cozy living room with large windows in a futuristic city street underwater coral reef in a misty forest clearing

3. 风格

摄影风格: photorealistic, studio photography, shot on Sony A7R IV cinematic, film still, 35mm lens documentary photography, street style 艺术风格: oil painting, impressionist, Van Gogh style digital illustration, flat design, vector art anime style, Studio Ghibli inspired 渲染风格: 3D render, octane render, unreal engine 5 isometric, low-poly, clean geometry

4. 光线

自然光: golden hour, soft natural lighting, backlit overcast sky, diffused light, studio softbox 人造光: neon lighting, cyberpunk, colorful glow candlelight, warm intimate glow fluorescent, cool blue tones 特殊效果: volumetric lighting, god rays, light leaks rim lighting, edge lighting, dramatic shadows

5. 色调

颜色描述: warm color palette, orange and yellow tones cool blue and purple tones, desaturated vibrant colors, high saturation, bold colors 黑白/复古: black and white photography, film noir vintage aesthetic, 1970s film grain faded colors, retro Polaroid look

6. 构图

视角: eye level, worm's eye view, bird's eye view close-up portrait, wide shot, establishing shot dutch angle, dynamic composition 景深: shallow depth of field, bokeh background deep focus, everything in focus tilt-shift, miniature effect

Midjourney 进阶技巧

版本选择与参数

版本参数: --v 6 最新版本,文字理解好 --v 5.2 写实风格优秀 --niji 动漫风格 宽高比: --ar 1:1 正方形 --ar 16:9 横版电影 --ar 9:16 竖版手机 --ar 3:4 竖版照片

风格化参数

--s 100 低风格化(更写实) --s 500 中风格化 --s 1000 高风格化(更艺术) --s 2500 极高风格化 --chaos 0 低变化(一致性高) --chaos 50 中等变化 --chaos 100 高变化(更有创意)

权重调整

使用 :: 增加权重 a cat::2 dog::1 猫的权重是狗的 2 倍 使用 () 增强,[] 减弱 (cat) 增强 1.1 倍 ((cat)) 增强 1.21 倍 [cat] 减弱 0.9 倍

否定提示

使用 --no 参数排除元素 a portrait photo --no background, watermark, text

Stable Diffusion / ComfyUI 技巧

提示词语法

正向提示词: (masterpiece:1.3), (best quality:1.2), highly detailed 反向提示词: (worst quality:1.2), (low quality:1.2), blurry, deformed

ControlNet 使用

ControlNet 可以精确控制: 1. 姿势控制 - 上传人物姿势图 - AI 按照姿势生成新角色 2. 线稿控制 - 上传线稿 - AI 根据线稿生成图片 3. 深度控制 - 上传深度图 - AI 生成符合深度关系的图片 4. 色彩控制 - 上传色彩参考 - AI 生成相同色调的图片

LoRA 模型

LoRA = Low-Rank Adaptation 用途: - 训练特定角色风格 - 定制化视觉风格 - 特定物体或服装 使用方式: 在提示词中添加: <lora:model_name:0.7> 调整数字控制强度(0-1)

实战提示词模板

模板 1:产品摄影

[产品名称], product photography on [背景], soft studio lighting, [主色调] gradient background, professional lighting, high-end luxury feel, shot on Phase One camera, 100 megapixels, 8K resolution, commercial photography style

模板 2:人像摄影

[性别/年龄] portrait, [表情/姿势], [着装描述], [场景描述], [光线类型], [色调], shot on [相机型号], [镜头焦段], professional portrait photography, magazine cover style

模板 3:建筑摄影

[建筑类型], [材质描述], [环境描述], [光线], [时间], [季节], [色调] tones, architectural photography, shot on Canon EOS R5, 24mm tilt-shift lens, wide angle, deep depth of field

模板 4:动漫角色

anime style, [角色描述], [服装描述], detailed, [场景描述], [光线], Studio Ghibli inspired, vibrant colors, high quality illustration, perfect anatomy, soft shading, cel shading

高级组合技巧

1. 图片参考(Image Prompt)

Midjourney 支持以图生图: [图片URL] + 文字描述 示例: [人物参考图] a character in cyberpunk outfit, neon lighting, detailed mecha suit

2. 风格融合

融合多个风格关键词: 格式: style1 :: weight1 + style2 :: weight2 示例: cyberpunk style::0.6 + traditional japanese::0.4

3. 艺术家参考

使用特定艺术家风格: by [艺术家名] 示例: by Studio Ghibli, by Greg Rutkowski, by Alphonse Mucha, by Picasso

4. 环境氛围

使用氛围词增强情感: peaceful, dramatic, mysterious, nostalgic, ethereal, moody, vibrant, serene, chaotic

常见问题解决

Q:生成的图片不清晰?

解决方案: 1. 添加 "8K, high detail, ultra detailed" 2. 添加 "photorealistic" 或 "cinematic" 3. 使用 --v 6 最新版本 4. 使用更高的 --upbeta 参数

Q:风格不准确?

解决方案: 1. 使用更具体的风格词(如艺术家名) 2. 增加风格权重 3. 参考他人成功案例 4. 使用 --style 参数(如支持)

Q:主体不突出?

解决方案: 1. 添加景深效果 "shallow depth of field" 2. 使用背景简化 "minimalist background" 3. 添加光线强调主体 "rim lighting" 4. 调整构图 "centered composition"

Q:角色一致性?

解决方案: 1. 使用相同的 seed 2. 使用 --cref(Midjourney V 6) 3. 保存成功案例的完整提示词 4. 使用 LoRA 训练专属角色

练习建议

收集喜欢的图片,分析它们的提示词结构,然后尝试复现和改良。

提示词收藏夹

光线关键词

soft lighting, golden hour, blue hour dramatic lighting, chiaroscuro neon lighting, volumetric light backlit, rim lighting, god rays studio lighting, ring light, diffused light

质量关键词

8K, 4K, high resolution, ultra detailed professional, award winning, masterpiece photorealistic, cinematic, dramatic vibrant colors, sharp focus, clean

构图关键词

centered composition, rule of thirds close-up, wide shot, aerial view shallow depth of field, bokeh symmetrical, leading lines, dynamic

风格关键词

cinematic, dramatic, documentary oil painting, watercolor, sketch anime, manga, pixel art minimalist, maximalist, vintage

总结

AI 绘图提示词要点:

  1. 结构化描述:主体、场景、风格、光线、色调
  2. 精确描述:越具体越准确
  3. 善用参数:版本、权重、比例
  4. 学习借鉴:分析优秀作品的提示词
  5. 不断尝试:多试多想,积累经验

记住:好的提示词是不断迭代出来的