config.example.yaml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Pixelle-Video Configuration
  2. # Copy this file to config.yaml and fill in your settings
  3. # ⚠️ Never commit config.yaml to Git!
  4. project_name: Pixelle-Video
  5. # ==================== LLM Configuration ====================
  6. # Supports any OpenAI SDK compatible API
  7. llm:
  8. api_key: ""
  9. base_url: ""
  10. model: ""
  11. # Popular presets:
  12. # Qwen Max: base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1" model: "qwen-max"
  13. # OpenAI GPT-4o: base_url: "https://api.openai.com/v1" model: "gpt-4o"
  14. # DeepSeek: base_url: "https://api.deepseek.com" model: "deepseek-chat"
  15. # Ollama (Local): base_url: "http://localhost:11434/v1" model: "llama3.2"
  16. # ==================== ComfyUI Configuration ====================
  17. comfyui:
  18. # Global ComfyUI settings
  19. comfyui_url: http://127.0.0.1:8188 # ComfyUI server URL (required for selfhost workflows)
  20. comfyui_api_key: "" # ComfyUI API key (optional, get from https://platform.comfy.org/profile/api-keys)
  21. # Note for Docker users: Use host.docker.internal:8188 (Mac/Windows) or host IP address (Linux)
  22. runninghub_api_key: "" # RunningHub API key (required for runninghub workflows)
  23. runninghub_concurrent_limit: 1 # Concurrent execution limit for RunningHub (1-10, default 1 for regular members)
  24. # TTS-specific configuration
  25. tts:
  26. default_workflow: selfhost/tts_edge.json # TTS workflow to use
  27. # Image-specific configuration
  28. image:
  29. # Required: Default workflow to use (no fallback)
  30. # Options: runninghub/image_flux.json (recommended, no local setup)
  31. # selfhost/image_flux.json (requires local ComfyUI)
  32. default_workflow: runninghub/image_flux.json
  33. # Image prompt prefix (optional)
  34. prompt_prefix: "Minimalist black-and-white matchstick figure style illustration, clean lines, simple sketch style"
  35. # Video-specific configuration
  36. video:
  37. # Required: Default workflow to use (no fallback)
  38. # Options: runninghub/video_wan2.1_fusionx.json (recommended, no local setup)
  39. # selfhost/video_wan2.1_fusionx.json (requires local ComfyUI)
  40. default_workflow: runninghub/video_wan2.1_fusionx.json
  41. # Video prompt prefix (optional)
  42. prompt_prefix: "Minimalist black-and-white matchstick figure style illustration, clean lines, simple sketch style"
  43. # ==================== Template Configuration ====================
  44. # Configure default template for video generation
  45. template:
  46. # Default frame template to use when not explicitly specified
  47. # Determines video aspect ratio and layout style
  48. # Template naming convention:
  49. # - static_*.html: Static style templates (no AI-generated media)
  50. # - image_*.html: Templates requiring AI-generated images
  51. # - video_*.html: Templates requiring AI-generated videos
  52. # Options:
  53. # - 1080x1920 (vertical/portrait): image_default.html, image_modern.html, image_elegant.html, static_simple.html, etc.
  54. # - 1080x1080 (square): image_minimal_framed.html, etc.
  55. # - 1920x1080 (horizontal/landscape): image_film.html, image_full.html, etc.
  56. # See templates/ directory for all available templates
  57. default_template: "1080x1920/image_default.html"