优化脚本,添加另一种风格的prompt

This commit is contained in:
JimmysAIPG
2026-03-26 23:19:55 +08:00
parent 14cad19e58
commit d81b3166e6
4 changed files with 380 additions and 158 deletions

View File

@@ -30,7 +30,7 @@ image:
# auto: CUDA/MPS→bfloat16, XPU→float16, CPU→float32
device: "auto" # auto | cuda | xpu | mps | cpu
# auto: 自动检测可用设备cuda > xpu > mps > cpu
size_preset: "phone_hd" # 尺寸预设(优先于 height/width可选值
size_preset: "phone" # 尺寸预设(优先于 height/width可选值
# square — 1024×1024 正方形(默认)
# phone — 576×1024 手机壁纸 9:16
# phone_hd — 768×1344 手机壁纸 9:16 高清
@@ -53,6 +53,7 @@ image:
prompt_language: "zh" # zh | en — 发送给 Z-Image-Turbo 的 prompt 语言
# zh: 使用中文 promptQwen3 中文编码器原生支持)
# en: 使用英文 prompt
style_variants: 2 # 每分镜实际出图的画风数1 仅首套2 两套均生成LLM 仍输出两套文案)
style_preference: "" # 风格期望(可选,留空则由 LLM 根据诗意自动选择)
# 可选值示例:水墨写意 / 青绿山水 / 工笔花鸟 / 工笔重彩
# 文人画 / 泼墨大写意 / 浅绛山水