Stable Diffusion v1.5 风格化实战:油画、水彩与线稿生成指南
想要把脑海中的画面变成真正的艺术作品?比如用梵高式的笔触描绘森林,或者将普通照片瞬间转为灵动的水彩画。今天我们就用经典的 Stable Diffusion v1.5 模型,探索如何生成油画、水彩和线稿这三种截然不同的艺术风格。整个过程比想象中简单,关键在于如何精准地'说话'。
准备工作:理解你的工具
Stable Diffusion v1.5 是一个经过时间考验的文生图模型,特别适合创意草图和风格化创作。它不仅能听懂文字描述,还支持负向提示词来排除不想要的元素,以及固定种子值来复现相同图片。
要使用它,只需访问部署好的 Web 界面。通常界面分为左右两部分:左侧设置参数,右侧显示生成的图片。
核心技巧:用英文'说话'
虽然模型能识别中文,但英文提示词的效果更稳定、精确。中文容易导致画面元素错乱或细节丢失。建议先用中文构思,再用翻译工具转换为地道的英文描述。
一个有效的结构通常是:主体 + 场景 + 风格 + 光照 + 细节。例如,'月光下的城堡'可以写成:a majestic medieval castle under a full moon, surrounded by misty forest, dramatic lighting, highly detailed, fantasy art style.
风格实战一:厚重质感的油画
油画的特点是色彩浓郁、笔触明显、有肌理感。提示词需强调这些元素。
核心提示词构建
- 风格定义:
oil painting,impressionist oil painting,van gogh style。 - 质感描述:
thick brushstrokes,textured canvas,rich colors。 - 艺术家参考:如
by Van Gogh,in the style of Monet。
负面提示词同样重要,用于避免破坏质感的效果:lowres, blurry, digital art, 3d render, cartoon, anime, smooth, plastic, shiny, extra fingers.
参数设置与案例
以生成'梵高风格的向日葵田野'为例。
- Steps (采样步数):
25。较高的步数能让笔触和色彩混合更充分。 - Guidance Scale (引导尺度):
7.5。保证遵循风格描述,避免画面扭曲。 - 分辨率:
512x768或768x512。 - Seed (种子): 初始设为
-1,满意后固定种子微调。
提示词 (Prompt):
A vibrant field of sunflowers under a swirling blue sky, in the style of Vincent van Gogh, thick impasto brushstrokes, expressive and dynamic, oil on canvas, masterpiece.
负向提示词 (Negative Prompt):
lowres, blurry, photorealistic, smooth, digital painting, anime, cartoon, ugly, deformed.

