fix: 优化架构

This commit is contained in:
Daniel
2026-03-25 19:35:37 +08:00
parent 34786b37c7
commit 508c28ce31
184 changed files with 2199 additions and 241 deletions

View File

@@ -4,6 +4,38 @@ app:
# ComfyUI output directory on the same machine running this code
comfy_output_dir: "./ComfyUI/output"
global:
# Used by prompt_injector + adapters.
style: ""
character: ""
negative_prompt: ""
llm:
# Controls /script + /refine generation.
provider: "mock" # "openai" to enable OpenAI/DashScope calls
image:
provider: "mock" # "mock" | "comfy" | "replicate" | "openai"
# Generic model name (used by some providers as fallback).
model: ""
replicate:
# Example: "stability-ai/sdxl"
model: "stability-ai/sdxl"
openai:
# Example: "gpt-image-1"
model: "gpt-image-1"
image_fallback:
provider: "mock"
video:
provider: "moviepy"
tts:
provider: "edge"
openai:
# Prefer environment variables in real deployments.
# OPENAI_API_KEY must be set; OPENAI_BASE_URL optional (for DeepSeek / other gateways).