图像生成模型的推荐参数
GPUStack目前不支持非一体化的GGUF图像生成模型(即基础模型、文本编码器和VAE未合并的模型)。详情请参阅支持的模型列表:
图像生成模型的核心参数是实现预期输出的关键。这些参数包括Prompt
、Seed
、Resolution
、Sampler
、Scheduler
、Sampling Steps
和CFG scale
。
不同模型的参数设置可能存在差异。为了快速入门并生成令人满意的图像,以下部分将提供一些参数配置的参考值。
FLUX.1-dev
对于FLUX模型,建议禁用CFG(CFG=1)以获得更好的结果。
参考设置:
参数 | 值 |
---|---|
尺寸 | 1024x1024 |
采样器 | euler |
调度器 | 离散式 |
步骤 | 20 |
CFG | 1.0 |
推荐采样器:euler、heun、ipndm、ipndm_v
推荐调度器:discrete
✏️试试看!
Prompt: A kangaroo holding a beer,wearing ski goggles and passionately singing silly songs.
Size: 1024x1024
Sampler: euler
Scheduler: discrete
Steps: 20
CFG: 1.0
Seed: 838887451
使用LoRA
配置: 编辑模型 -> 高级 -> 后端参数 -> 添加 --lora=
顶部一行显示原始图像,底部一行展示使用LoRA生成的对应图像。
注意
LoRA目前是一项实验性功能。并非所有模型或LoRA文件都兼容。
FLUX.1-快速
对于FLUX模型,建议禁用CFG(CFG=1)以获得更好的结果。
参考设置:
参数 | 值 |
---|---|
尺寸 | 1024x1024 |
采样器 | euler |
调度器 | 离散式 |
步骤 | 2-4 |
CFG | 1.0 |
推荐采样器:euler, dpm++2mv2, ipndm_v
推荐调度器:discrete
✏️试试看!
Prompt: A mischievous ferret with a playful grin squeezes itself into a large glass jar, surrounded by colorful candy. The jar sits on a wooden table in a cozy kitchen, and warm sunlight filters through a nearby window
Size: 1024x1024
Sampler: euler
Scheduler: discrete
Steps: 3
CFG: 1.0
Seed: 1565801500
Stable-Diffusion-v3-5-大型模型
参考设置:
参数 | 值 |
---|---|
尺寸 | 1024x1024 |
采样器 | euler |
调度器 | 离散式 |
步骤 | 25 |
CFG | 4.5 |
推荐采样器:dpm++2m, ipndm, ipndm_v, dpm++2mv2, eluer, heun, dpm2
推荐调度器:discrete
✏️试试看!
Prompt: Lucky flower pop art style with pink color scheme,happy cute girl character wearing oversized headphones and smiling while listening to music in the air with her eyes closed,vibrant colorful Japanese anime cartoon illustration with bold outlines and bright colors,colorful text "GPUStack" on top of background,high resolution,detailed,
Size: 1024x1024
Sampler: dpm++2m
Scheduler: discrete
Steps: 25
CFG: 5
Seed: 3520225659
Stable-Diffusion-v3-5-Large-Turbo
对于turbo模型,建议禁用CFG(CFG=1)以获得更好的结果。
参考设置:
参数 | 值 |
---|---|
尺寸 | 1024x1024 |
采样器 | euler/dpm++2m |
调度器 | 离散/指数 |
步骤 | 5/15-20 |
CFG | 1.0 |
推荐采样器:euler、ipndm、ipndm_v、dpm++2mv2、heun、dpm2、dpm++2m
推荐调度器:discrete、karras、exponential
✏️试试看!
Prompt: This dreamlike digital art captures a vibrant, kaleidoscopic bird in a lush rainforest
Size: 768x1024
Sampler: heun
Scheduler: karras
Steps: 15
CFG: 1.0
Seed: 2536656539
Stable-Diffusion-v3-5-Medium
参考设置:
参数 | 值 |
---|---|
尺寸 | 768x1024 |
采样器 | euler |
调度器 | 离散式 |
步骤 | 28 |
CFG | 4.5 |
推荐采样器:euler, ipndm, ipndm_v, dpm++2mv2, heun, dpm2, dpm++2m
推荐调度器:discrete
✏️试试看!
Prompt: Plush toy, a box of French fries, pink bag, long French fries, smiling expression, round eyes, smiling mouth, bright colors, simple composition, clean background, jellycat style,
Negative Prompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2)
Size: 768x1024
Sampler: euler
Scheduler: discrete
Steps: 28
CFG: 4.5
Seed: 3353126565
Stable-Diffusion-v3-中等模型
参考设置:
参数 | 值 |
---|---|
尺寸 | 1024x1024 |
采样器 | euler |
调度器 | 离散式 |
步骤 | 25 |
CFG | 4.0 |
推荐采样器:euler、ipndm、ipndm_v、dpm++2mv2、heun、dpm2、dpm++2m
推荐调度器:discrete
✏️试试看!
Prompt: A guitar crafted from a watermelon, realistic, close-up, ultra-HD, digital art, with smoke and ice cubes, soft lighting, dramatic stage effects of light and shadow, pastel aesthetic filter, time-lapse photography, macro photography, ultra-high resolution, perfect design composition, surrealism, hyper-imaginative, ultra-realistic, ultra-HD quality
Size: 768x1280
Sampler: euler
Scheduler: discrete
Steps: 30
CFG: 5.0
Seed: 1937760054
提示
默认的最大图像高度为1024。如需增加,请编辑模型并在高级设置中添加后端参数 --image-max-height=1280。
SDXL基础版1.0
参考设置:
参数 | 值 |
---|---|
尺寸 | 1024x1024 |
采样器 | dpm++2m |
调度器 | karras |
步骤 | 25 |
CFG | 5.0 |
推荐采样器:euler、ipndm、ipndm_v、dpm++2mv2、heun、dpm2、dpm++2m
推荐调度器:discrete、karras、exponential
✏️试试看!
Prompt: Weeds blowing in the wind,By the seaside,Ultra-realistic,Majestic epic scenery,excessively splendid ancient rituals,vibrant,beautiful Eastern fantasy,bright sunshine,pink peach blossoms,daytime perspective.
Negative Prompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),
Size: 768x1280
Sampler: dpm++2m
Scheduler: exponential
Steps: 30
CFG: 5.0
Seed: 3754742591
Stable-Diffusion-v2-1-Turbo
对于turbo模型,建议禁用CFG(CFG=1)以获得更好的结果。
参考设置:
参数 | 值 |
---|---|
尺寸 | 512x512 |
采样器 | euler_a |
调度器 | 离散式 |
步骤 | 6 |
CFG | 1.0 |
推荐采样器:eluer_a, dmp++2s, lcm
推荐调度器:discrete, karras, exponential, ays, gits
✏️试试看!
Prompt: A burger patty, with the bottom bun and lettuce and tomatoes.
Size: 512x512
Sampler: euler_a
Scheduler: discrete
Steps: 6
CFG: 1.0
Seed: 1375548153
注意
以上参数仅供参考。理想设置可能因具体情况而异,应相应调整。