图像生成技巧 #
风格控制技巧 #
写实风格 #
text
写实风格提示词模板:
基础模板:
photorealistic, realistic, photograph, raw photo,
highly detailed, 8k uhd, dslr, soft lighting,
high quality, film grain
人物肖像:
portrait photography, professional photo,
canon 50mm, f/1.8, bokeh, detailed skin texture,
natural lighting, studio lighting
风景照片:
landscape photography, nature photography,
golden hour, dramatic sky, detailed,
professional photograph, 8k
增强写实感:
├── 使用写实模型 (realisticVision, juggernaut)
├── 添加摄影术语
├── 使用适当的负向提示词
└── CFG: 7-8
动漫风格 #
text
动漫风格提示词模板:
基础模板:
anime style, anime art, manga style,
highly detailed, masterpiece, best quality
日系动漫:
anime girl, anime face, detailed eyes,
colorful, vibrant, studio ghibli style
韩系风格:
korean webtoon style, manhwa style,
beautiful detailed face, soft shading
美式卡通:
cartoon style, western animation,
bold lines, vibrant colors
增强动漫感:
├── 使用动漫模型 (anything, counterfeit)
├── 添加动漫相关术语
├── 适当提高 CFG
└── 使用动漫专用 VAE
艺术风格 #
text
艺术风格提示词:
油画风格:
oil painting, impasto, thick brushstrokes,
canvas texture, classical art, masterpiece
水彩风格:
watercolor painting, wet on wet,
soft edges, paper texture, artistic
素描风格:
pencil sketch, graphite drawing,
detailed linework, shading, artistic
数字艺术:
digital art, digital painting,
concept art, artstation, detailed
使用艺术家名字:
├── by Greg Rutkowski (奇幻)
├── by Artgerm (人物)
├── by WLOP (唯美)
├── by Alphonse Mucha (装饰)
└── by Studio Ghibli (动漫)
质量优化技巧 #
提高细节 #
text
增加细节的方法:
1. 提示词增强
highly detailed, intricate details,
sharp focus, detailed texture,
ultra detailed, fine details
2. 使用细节 LoRA
├── detail_tweaker
├── add_detail
└── more_details
3. 参数优化
├── 步数: 25-35
├── CFG: 7-8
└── 采样器: DPM++ SDE
4. 后处理
├── High-res fix
├── Tile ControlNet
└── Extras 放大
5. 多次迭代
├── img2img 细化
└── DS: 0.3-0.4
改善色彩 #
text
色彩优化技巧:
1. 提示词控制
├── vibrant colors
├── vivid colors
├── rich colors
├── warm color palette
└── cool color palette
2. 光线描述
├── golden hour lighting
├── soft lighting
├── dramatic lighting
├── studio lighting
└── natural lighting
3. 使用 VAE
├── vae-ft-mse (通用)
├── clearvae (清晰)
└── 模型自带 VAE
4. 后期调色
├── img2img 微调
└── 图像编辑软件
提升分辨率 #
text
高分辨率生成技巧:
方法一:High-res fix
┌─────────────────────────────────────────────────────────────┐
│ 设置: │
│ ├── 基础分辨率: 512×512 或 512×768 │
│ ├── Upscale by: 2x │
│ ├── Denoising strength: 0.3-0.5 │
│ └── Upscaler: 4x-UltraSharp 或 R-ESRGAN 4x+ │
└─────────────────────────────────────────────────────────────┘
方法二:Tile ControlNet
┌─────────────────────────────────────────────────────────────┐
│ 步骤: │
│ 1. 生成基础图像 │
│ 2. 使用 Tile ControlNet │
│ 3. img2img 放大 │
│ 4. 添加细节 │
└─────────────────────────────────────────────────────────────┘
方法三:Extras 放大
┌─────────────────────────────────────────────────────────────┐
│ 设置: │
│ ├── Upscaler: R-ESRGAN 4x+ │
│ ├── GFPGAN visibility: 0-0.5 (人物) │
│ └── CodeFormer visibility: 0-0.5 (人物) │
└─────────────────────────────────────────────────────────────┘
常见问题解决 #
手部问题 #
text
手部生成问题及解决:
常见问题:
├── 手指数量错误
├── 手指变形
├── 手部结构错误
└── 多余手指
解决方法:
1. 负向提示词
bad hands, malformed hands,
extra fingers, missing fingers,
deformed fingers, too many fingers
2. 使用手部 LoRA
└── hand fix LoRA
3. ControlNet 控制
└── OpenPose (包含手部骨骼)
4. Inpainting 修复
├── 蒙版: 手部区域
├── DS: 0.5-0.7
└── 提示词: detailed hands, correct fingers
5. ADetailer 扩展
└── 自动检测并修复手部
面部问题 #
text
面部生成问题及解决:
常见问题:
├── 面部变形
├── 眼睛不对称
├── 表情不自然
└── 细节不足
解决方法:
1. Restore Faces 功能
├── 开启 Restore Faces
└── 调整 CodeFormer weight
2. 负向提示词
bad face, deformed face,
ugly face, asymmetrical eyes,
bad eyes, crossed eyes
3. Inpainting 修复
├── 蒙版: 面部区域
├── DS: 0.4-0.6
└── 提示词: beautiful detailed face
4. ADetailer 扩展
└── 自动面部检测和修复
5. 面部 LoRA
└── 提高面部质量
构图问题 #
text
构图问题及解决:
问题:主体不在中心或位置不对
解决方法:
1. 提示词控制
├── centered
├── symmetrical
├── rule of thirds
└── specific position descriptions
2. ControlNet 控制
├── OpenPose: 控制人物位置
├── Depth: 控制空间关系
└── Segmentation: 控制区域
3. img2img 调整
├── 裁剪到合适构图
└── img2img 重新生成
4. Outpainting
└── 扩展画布调整构图
高效生成技巧 #
批量生成策略 #
text
高效批量生成:
1. 快速探索阶段
├── 分辨率: 512×512
├── 步数: 15-20
├── Batch Size: 4
└── 目的: 找到好的提示词方向
2. 精细调整阶段
├── 固定种子
├── 调整提示词
├── 步数: 25-30
└── 目的: 优化细节
3. 最终生成阶段
├── 高分辨率
├── High-res fix
├── 步数: 30
└── 目的: 高质量输出
4. 后处理阶段
├── 放大
├── 面部修复
└── 目的: 最终完善
提示词优化流程 #
text
提示词优化步骤:
1. 基础提示词
└── 简单描述主体
2. 添加细节
└── 增加特征描述
3. 添加风格
└── 确定艺术风格
4. 添加质量词
└── 提高生成质量
5. 添加负向提示词
└── 排除不想要的元素
6. 调整权重
└── 强调重要元素
7. 测试迭代
└── 根据结果调整
示例演进:
┌─────────────────────────────────────────────────────────────┐
│ V1: a girl │
│ V2: a beautiful girl with long hair │
│ V3: a beautiful girl with long silver hair, blue eyes │
│ V4: a beautiful girl with long silver hair, blue eyes, │
│ wearing white dress, in a garden │
│ V5: a beautiful girl with long silver hair, blue eyes, │
│ wearing white dress, standing in a flower garden, │
│ soft sunlight, anime style, masterpiece, best quality │
└─────────────────────────────────────────────────────────────┘
特殊效果技巧 #
光效效果 #
text
光效提示词:
自然光效:
├── golden hour (黄金时刻)
├── blue hour (蓝色时刻)
├── sunset (日落)
├── sunrise (日出)
└── moonlight (月光)
戏剧光效:
├── dramatic lighting
├── rim lighting (边缘光)
├── backlight (背光)
├── volumetric lighting (体积光)
└── god rays (上帝之光)
特殊光效:
├── neon lights (霓虹灯)
├── bioluminescence (生物发光)
├── aurora borealis (极光)
└── fireflies (萤火虫)
氛围效果 #
text
氛围提示词:
情绪氛围:
├── peaceful (平静)
├── mysterious (神秘)
├── dramatic (戏剧性)
├── romantic (浪漫)
├── melancholic (忧郁)
└── cheerful (欢快)
视觉氛围:
├── dreamy (梦幻)
├── ethereal (空灵)
├── fantasy (奇幻)
├── magical (魔法)
├── surreal (超现实)
└── whimsical (异想天开)
环境氛围:
├── foggy (雾气)
├── misty (朦胧)
├── rainy (雨天)
├── snowy (雪天)
└── stormy (暴风雨)
特殊风格 #
text
特殊风格提示词:
赛博朋克:
cyberpunk style, neon lights, futuristic city,
sci-fi, high tech, dark atmosphere
蒸汽朋克:
steampunk style, victorian era, brass gears,
mechanical, industrial, vintage
奇幻风格:
fantasy art, magical, mystical creatures,
enchanted forest, ethereal, epic
恐怖风格:
horror theme, dark, creepy, scary,
gothic, ominous, nightmare
复古风格:
vintage, retro, nostalgic, old photograph,
film grain, sepia, 1950s style
工作流模板 #
人像生成工作流 #
text
高质量人像生成流程:
1. 选择模型
└── 写实模型: realisticVision, juggernautXL
2. 编写提示词
┌─────────────────────────────────────────────────────────┐
│ 正向: │
│ portrait of a beautiful woman, detailed face, │
│ natural makeup, soft lighting, professional photo, │
│ 85mm lens, bokeh, 8k, masterpiece │
│ │
│ 负向: │
│ ugly, deformed, bad anatomy, bad hands, │
│ extra fingers, low quality, blurry │
└─────────────────────────────────────────────────────────┘
3. 设置参数
├── 分辨率: 512×768
├── 采样器: DPM++ 2M Karras
├── 步数: 30
├── CFG: 7
└── High-res fix: 2x
4. 后处理
├── Restore Faces: 开启
└── Extras 放大
风景生成工作流 #
text
高质量风景生成流程:
1. 选择模型
└── 写实或艺术模型
2. 编写提示词
┌─────────────────────────────────────────────────────────┐
│ 正向: │
│ beautiful mountain landscape, snow-capped peaks, │
│ pine forest, reflection in lake, golden hour, │
│ dramatic clouds, photorealistic, 8k, highly detailed │
│ │
│ 负向: │
│ low quality, blurry, oversaturated, people, buildings │
└─────────────────────────────────────────────────────────┘
3. 设置参数
├── 分辨率: 768×512 (横图)
├── 采样器: DPM++ 2M Karras
├── 步数: 30
├── CFG: 7
└── High-res fix: 2x
4. 后处理
└── Extras 放大
下一步 #
掌握生成技巧后,继续学习:
最后更新:2026-04-05