Config Schema¶
Detailed explanation of the config.yaml configuration file.
Configuration Structure¶
llm:
api_key: "your-api-key"
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
model: "qwen-plus"
comfyui:
comfyui_url: "http://127.0.0.1:8188"
comfyui_api_key: "" # ComfyUI API key (optional)
runninghub_api_key: ""
runninghub_concurrent_limit: 1 # Concurrent limit (1-10)
runninghub_instance_type: "" # Instance type (optional, set to "plus" for 48GB VRAM)
image:
default_workflow: "runninghub/image_flux.json"
prompt_prefix: "Minimalist illustration style"
video:
default_workflow: "runninghub/video_wan2.1_fusionx.json"
prompt_prefix: "Minimalist illustration style"
tts:
default_workflow: "selfhost/tts_edge.json"
template:
default_template: "1080x1920/image_default.html"
LLM Configuration¶
api_key: API keybase_url: API service address (supports any OpenAI-compatible interface)model: Model name
ComfyUI Configuration¶
Basic Configuration¶
comfyui_url: Local ComfyUI address (defaulthttp://127.0.0.1:8188)comfyui_api_key: ComfyUI API key (optional, for Comfy Platform)
RunningHub Cloud Configuration¶
runninghub_api_key: RunningHub API key (required for cloud workflows)runninghub_concurrent_limit: Concurrent execution limit (1-10, default 1 for regular members)runninghub_instance_type: Instance type (optional)- Empty or unset: Use 24GB VRAM machine
"plus": Use 48GB VRAM machine (suitable for large video generation)
Image Configuration¶
default_workflow: Default image generation workflowprompt_prefix: Prompt prefix
Video Configuration¶
default_workflow: Default video generation workflowrunninghub/video_wan2.1_fusionx.json: Cloud workflow (recommended, no local setup required)selfhost/video_wan2.1_fusionx.json: Local workflow (requires local ComfyUI support)prompt_prefix: Video prompt prefix (controls video generation style)
TTS Configuration¶
default_workflow: Default TTS workflow
Template Configuration¶
default_template: Default frame template path (e.g.,1080x1920/image_default.html)
More Information¶
The configuration file is automatically created on first run.