优化默认的生图提示词前缀

This commit is contained in:
puke
2025-10-31 16:40:18 +08:00
parent 2fe5e7c0fa
commit a12070d62d
3 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ uv run streamlit run web/app.py
**提示词前缀Prompt Prefix**
- 控制图像的整体风格(语言需要是英文的)
- 例如:Pure white background, minimalist illustration, matchstick figure style, black and white line drawing, simple clean lines
- 例如:Minimalist black-and-white stick figure illustration on a plain white background, clean thin lines, simple sketch style
- 点击「预览风格」可以测试效果
#### 视频模板

View File

@@ -35,4 +35,4 @@ comfyui:
default_workflow: runninghub/image_flux.json
# Image prompt prefix (optional)
prompt_prefix: "Pure white background, minimalist illustration, matchstick figure style, black and white line drawing, simple clean lines"
prompt_prefix: "Minimalist black-and-white stick figure illustration on a plain white background, clean thin lines, simple sketch style"

View File

@@ -23,7 +23,7 @@ class ImageSubConfig(BaseModel):
"""Image-specific configuration (under comfyui.image)"""
default_workflow: Optional[str] = Field(default=None, description="Default image workflow (optional)")
prompt_prefix: str = Field(
default="Pure white background, minimalist illustration, matchstick figure style, black and white line drawing, simple clean lines",
default="Minimalist black-and-white stick figure illustration on a plain white background, clean thin lines, simple sketch style",
description="Prompt prefix for all image generation"
)