ERNIE-Image 写实人像与摄影风格进阶指南
发布日期:2026-07-11
EI 编号:EI-129
SEO 关键词:ernie-image realistic portrait, ernie-image photorealism, ernie-image photography style, ernie-image 人像, ernie-image 摄影风格
ERNIE-Image 的文字渲染和构图能力已经深入人心。但在摄影写实领域,它同样有着令人惊喜的表现——尤其是当你知道如何用正确的"摄影语言"与它对话时。
从 Reddit 社区到专业 AI 摄影工作流,用户们发现 ERNIE-Image 对相机参数、镜头语言、光线描述有着出色的理解能力。掌握这些"摄影密码",你就可以用这个 8B 模型生成媲美专业相机的人像和摄影作品。
本文将从基础到进阶,系统讲解如何在 ERNIE-Image 中实现照片级写实效果。
一、ERNIE-Image 的"摄影基因"从何而来
与许多追求"美学完美"的模型不同,ERNIE-Image 的训练数据经过了特殊处理:
- 真实照片占比高:ERNIE-Image 的训练数据中包含了大量真实摄影作品,而非仅仅由 AI 生成的图像。
- 元数据理解:通过 VLM 重标注,模型学会了理解"85mm 镜头"、"f/1.8 光圈"、"1/125s 快门"等摄影术语的真实含义。
- Aesthetic 评分校准:ERNIE-Image-Aes 模型在美学评分时,对真实摄影风格的偏好权重较高——这意味着真实感本身就是模型优化方向。
因此,当你在提示词中加入摄影术语时,不仅仅是在"装饰"提示词——模型确实能理解这些术语对应的视觉特征。
二、摄影提示词的核心要素
要获得写实摄影效果,提示词需要包含以下要素:
2.1 镜头语言
| 镜头/焦段 | 效果 | 适用场景 |
|---|---|---|
35mm |
人文视角,自然透视 | 街拍、环境人像 |
50mm |
标准视角,接近人眼 | 半身人像、纪实 |
85mm |
经典人像焦段,柔和虚化 | 特写、肖像 |
135mm |
长焦压缩,极致虚化 | 面部特写 |
24mm |
广角,夸张透视 | 环境、建筑 |
macro |
微距,极近对焦 | 细节、产品 |
2.2 光线描述
| 光线类型 | 描述关键词 | 视觉效果 |
|---|---|---|
| 自然光 | natural window light, soft diffused daylight |
柔和、真实 |
| 黄金时刻 | golden hour, warm sunset light |
温暖、戏剧性 |
| 柔光箱 | soft studio lighting, softbox |
专业、无阴影 |
| 伦勃朗光 | Rembrandt lighting |
经典肖像 |
| 逆光 | backlight, rim light |
轮廓光、氛围感 |
| 闪光灯 | on-camera flash, direct flash |
复古、纪实 |
2.3 风格化描述
| 风格 | 描述词 | 效果 |
|---|---|---|
| 胶片感 | 35mm film, Kodak Portra 400, Fujifilm |
温润、颗粒感 |
| 纪实风格 | documentary style, photojournalism |
真实、不修饰 |
| 时尚大片 | editorial photography, fashion editorial |
精致、戏剧化 |
| 抓拍 | candid, unposed, street photography |
自然、有故事感 |
三、五种摄影场景实战模板
场景 1:自然光环境人像
原理:利用窗户自然光,配合合适的焦段和曝光,模拟真实摄影师的布光方案。
提示词模板:
Natural light portrait of a [subject description], sitting by a large window, soft diffused daylight, [angle of light], [background treatment], [camera/lens], [film style], [quality]
实战示例:
Natural light portrait of a woman in her late 20s with wavy brown hair, sitting by a large window, soft diffused daylight coming from the side, slight background blur, 85mm lens at f/1.8, shot on Kodak Portra 400 film, candid expression, skin texture visible, warm film tones
💡 社区经验:Reddit 用户反馈,加入
skin texture visible或natural skin texture可以显著减少 ERNIE-Image-Turbo 常见的"塑料感"问题。
场景 2:黄金时刻户外摄影
原理:模拟日落前 1-2 小时的金色阳光,是摄影中最受欢迎的光线条件之一。
提示词模板:
Portrait of a [subject] at golden hour, [location], warm sunset light from the [direction], [atmosphere], [camera setting], [style]
实战示例:
Portrait of a young man with short dark hair standing in a wheat field at golden hour, warm sunset light from behind creating rim light on his shoulders, golden tones, slight lens flare, 50mm lens, shallow depth of field, cinematic photography, film grain, nostalgic mood
场景 3:城市街拍
原理:模拟纪实摄影师在街头捕捉瞬间的视觉语言,突出环境氛围和真实感。
提示词模板:
Street photography of a [subject] in [urban setting], [weather/light], [composition detail], [camera spec], [film aesthetic]
实战示例:
Street photography of an elderly man crossing a rain-wet Shibuya crossing at dusk, neon signs reflecting on wet pavement, umbrella in hand, motion blur from passing traffic, 35mm lens, high contrast black and white, grainy film texture, documentary style, candid moment
场景 4:棚拍时尚人像
原理:模拟专业摄影棚的灯光布置,强调画面质感和对细节的极致控制。
提示词模板:
Editorial fashion portrait of [subject], [wardrobe description], [lighting rig], [background], [camera spec], [post-processing]
实战示例:
Editorial fashion portrait of a woman in a red silk dress against a dark gray seamless backdrop, dramatic Rembrandt lighting from a large softbox above-left, sharp catchlights in eyes, 85mm lens at f/2.8, medium format camera, high-end fashion editorial style, flawless skin with natural texture, Vogue aesthetic
场景 5:产品与静物摄影
原理:利用摄影语言描述产品摆放、光线方向和材质质感。
提示词模板:
[Product description] on [surface], [lighting direction], [camera spec], [depth of field], [commercial style], [quality]
实战示例:
A matte black wireless mechanical keyboard on a dark wood desk, soft studio lighting from above-left creating gentle shadows, macro lens, shallow depth of field focused on the keycaps, subtle RGB backlight glow, commercial product photography, sharp details, 8K, clean minimalist composition
四、消除"AI 感"的实战技巧
技巧 1:加入"不完美"提示词
AI 生成图像常见的"塑料感"往往来源于过度完美的表面。加入以下描述可以显著增加真实感:
natural skin texture, visible pores, slight imperfections, realistic skin, natural wrinkles, freckles, subtle blemishes, not airbrushed
技巧 2:指定具体相机和胶片型号
ERNIE-Image 对具体的相机和胶片品牌有较好的理解:
shot on Fujifilm X-T5 with 35mm f/2 lens
shot on Canon EOS R5 with 85mm f/1.2
Kodak Portra 400, Fuji Pro 400H, Ilford HP5 Plus 400 (black and white)
技巧 3:使用闪光灯描述增加真实感
direct on-camera flash, harsh shadows, slightly overexposed skin, vintage flash photography style
这个技巧来自社区——point-and-shoot film camera, front flash 的描述可以有效消除 Turbo 版本的"塑料感"。
技巧 4:温度和氛围描述
纯颜色的描述往往产生单调的效果。加入温度或氛围词:
| 替代前 | 替代后 |
|---|---|
blue lighting |
cool blue hour light, slightly underexposed, moody |
warm lighting |
warm golden hour sun, low contrast, hazy |
dark |
dimly lit, deep shadows, noir atmosphere |
技巧 5:关闭 Prompt Enhancer
对于摄影写实类提示词,建议关闭 Prompt Enhancer。原因是:
- 摄影提示词通常已经很详细
- PE 可能会加入非摄影风格的修饰词(如 "vibrant"、"stunning")
- 关闭 PE 后,模型的输出更接近纯摄影语言
五、摄影工作流:从构思到成品
5.1 快速迭代模式
使用 ERNIE-Image-Turbo(8 steps,约 0.5 CU/图)进行快速迭代:
步骤:
- 从基础人像模板开始
- 调整光线方向(左侧光 vs 右侧光 vs 逆光)
- 更换焦段(35mm vs 85mm vs 135mm)
- 尝试不同胶片风格
- 记录最佳种子值(seed)
5.2 最终输出模式
找到满意的构图后,切换到 Standard ERNIE-Image(50 steps,约 3-4 CU/图):
- 使用 Turbo 迭代获得的 seed
- 提示词保持不变
- Standard 模式会产出更多细节、更准确的光影
- 适用于打印输出或商业用途
5.3 推荐的完整工作流
[构思] → Turbo 迭代(构图、光线、焦段)→ 记录最优 seed
→ Standard 最终生成(使用固定 seed)
→ 放大(可选)→ 后期微调
六、常见问题排查
问题:人脸看起来像"塑料"(过度平滑)
原因:Turbo 模式在 8 steps 下细节不足,或 PE 加入过度美学修饰。
解决方案:
- 切换 Standard 模式(50 steps)
- 关闭 Prompt Enhancer
- 加入
natural skin texture, visible pores, realistic skin details, matte finish - 使用闪光灯描述:
on-camera direct flash, unretouched
问题:背景过于模糊或丢失细节
原因:肖像模式下景深过浅。
解决方案:
- 指定
f/5.6或f/8而非最大光圈 - 使用
deep depth of field或everything in focus - 增加背景描述细节
问题:肤色偏差或不自然
原因:ERNIE-Image 对特定肤色的渲染准确度可能因光线描述不足而波动。
解决方案:
- 增加光线色温描述:
neutral white balance, accurate skin tones - 明确皮肤类型:
fair skin with freckles,warm olive skin tone,deep dark skin with natural highlights - 禁用 PE:复杂的人像描述可能被 PE 改写
七、总结
ERNIE-Image 的写实摄影能力远超多数用户的预期——关键在于使用正确的"摄影语言"。
| 核心要素 | 最佳实践 |
|---|---|
| 镜头焦段 | 人像用 85mm,街拍用 35mm,特写用 135mm |
| 光线类型 | 自然窗光最可靠,黄金时刻出片率最高 |
| 胶片风格 | Kodak Portra 400(暖调),Ilford HP5(黑白) |
| 消除 AI 感 | natural skin texture + 闪光灯描述 |
| PE 策略 | 详细提示词建议关闭 PE |
| 迭代流程 | Turbo 快速迭代 → Standard 最终输出 |
掌握这些技巧后,你将可以用 ERNIE-Image 生成接近专业摄影水准的作品——而这个 8B 模型完全免费、开源,人人可用。
本文基于 ERNIE-Image 官方技术报告(arXiv:2605.25347)、Scenario 知识库文档及 Reddit r/StableDiffusion 社区经验编写。所有提示词模板已在 ERNIE-Image v1.0 Standard(50 steps)和 ERNIE-Image-Turbo(8 steps)上验证通过。