返回 Pixelle-Video
config.example.yaml
根目录 / config.example.yaml
1 # Pixelle-Video Configuration
2 # Copy this file to config.yaml and fill in your settings
3 # ⚠️ Never commit config.yaml to Git!
4
5 project_name: Pixelle-Video
6
7 # ==================== LLM Configuration ====================
8 # Supports any OpenAI SDK compatible API
9 llm:
10 api_key: ""
11 base_url: ""
12 model: ""
13
14 # Popular presets:
15 # Qwen Max: base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1" model: "qwen-max"
16 # OpenAI GPT-4o: base_url: "https://api.openai.com/v1" model: "gpt-4o"
17 # DeepSeek: base_url: "https://api.deepseek.com" model: "deepseek-chat"
18 # Ollama (Local): base_url: "http://localhost:11434/v1" model: "llama3.2"
19
20 # ==================== Direct API Provider Configuration ====================
21 # Optional: use providers directly for image/video/VLM generation without ComfyUI workflows.
22 api_providers:
23 common:
24 print_model_input: false
25 local_proxy: ""
26 openai:
27 api_key: ""
28 base_url: "https://api.openai.com/v1"
29 use_proxy: false
30 dashscope:
31 api_key: ""
32 base_url: "https://dashscope.aliyuncs.com/api/v1"
33 use_proxy: false
34 ark:
35 api_key: ""
36 base_url: "https://ark.cn-beijing.volces.com/api/v3"
37 use_proxy: false
38 kling:
39 base_url: "https://api-beijing.klingai.com"
40 access_key: ""
41 secret_key: ""
42 use_proxy: false
43
44 # ==================== ComfyUI Configuration ====================
45 comfyui:
46 # Global ComfyUI settings
47 comfyui_url: http://127.0.0.1:8188 # ComfyUI server URL (required for selfhost workflows)
48 comfyui_api_key: "" # ComfyUI API key (optional, get from https://platform.comfy.org/profile/api-keys)
49 # Note for Docker users: Use host.docker.internal:8188 (Mac/Windows) or host IP address (Linux)
50 runninghub_api_key: "" # RunningHub API key (required for runninghub workflows)
51 runninghub_concurrent_limit: 1 # Concurrent execution limit for RunningHub (1-10, default 1 for regular members)
52
53 # TTS-specific configuration
54 tts:
55 default_workflow: selfhost/tts_edge.json # TTS workflow to use
56
57 # Image-specific configuration
58 image:
59 # Required: Default workflow to use (no fallback)
60 # Options: runninghub/image_flux.json (recommended, no local setup)
61 # selfhost/image_flux.json (requires local ComfyUI)
62 default_workflow: runninghub/image_flux.json
63
64 # Image prompt prefix (optional)
65 prompt_prefix: "Minimalist black-and-white matchstick figure style illustration, clean lines, simple sketch style"
66
67 # Video-specific configuration
68 video:
69 # Required: Default workflow to use (no fallback)
70 # Options: runninghub/video_wan2.1_fusionx.json (recommended, no local setup)
71 # selfhost/video_wan2.1_fusionx.json (requires local ComfyUI)
72 default_workflow: runninghub/video_wan2.1_fusionx.json
73
74 # Video prompt prefix (optional)
75 prompt_prefix: "Minimalist black-and-white matchstick figure style illustration, clean lines, simple sketch style"
76
77 # ==================== Template Configuration ====================
78 # Configure default template for video generation
79 template:
80 # Default frame template to use when not explicitly specified
81 # Determines video aspect ratio and layout style
82 # Template naming convention:
83 # - static_*.html: Static style templates (no AI-generated media)
84 # - image_*.html: Templates requiring AI-generated images
85 # - video_*.html: Templates requiring AI-generated videos
86 # Options:
87 # - 1080x1920 (vertical/portrait): image_default.html, image_modern.html, image_elegant.html, static_simple.html, etc.
88 # - 1080x1080 (square): image_minimal_framed.html, etc.
89 # - 1920x1080 (horizontal/landscape): image_film.html, image_full.html, etc.
90 # See templates/ directory for all available templates
91 default_template: "1080x1920/image_default.html"
92
92 lines YAML