Files
huobao-drama/configs/config.example.yaml
empty d970107a34 添加视频帧提取功能和阿里云OSS存储支持
- 新增从视频素材提取首帧/尾帧的功能,支持画面连续性编辑
- 添加阿里云OSS存储支持,可配置本地或OSS存储方式
- 导入视频素材时自动探测并更新视频时长信息
- 前端添加从素材提取尾帧的UI界面
- 添加FramePrompt模型的数据库迁移

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-18 21:44:39 +08:00

38 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
app:
name: "Huobao Drama API"
version: "1.0.0"
debug: true
language: "zh" # 系统语言zh(中文) 或 en(英文)
server:
port: 5678
host: "0.0.0.0"
cors_origins:
- "http://localhost:3012"
read_timeout: 600
write_timeout: 600
database:
type: "sqlite"
path: "./data/drama_generator.db"
max_idle: 10
max_open: 100
storage:
type: "local" # 存储类型local本地或 oss阿里云OSS
# 本地存储配置
local_path: "./data/storage"
base_url: "http://localhost:5678/static"
# 阿里云 OSS 配置type 为 oss 时生效)
oss:
endpoint: "oss-cn-hangzhou.aliyuncs.com" # OSS 服务地址
access_key_id: "" # AccessKey ID
access_key_secret: "" # AccessKey Secret
bucket_name: "" # Bucket 名称
custom_domain: "" # 自定义域名(可选,用于 CDN 加速)
ai:
default_text_provider: "openai"
default_image_provider: "openai"
default_video_provider: "doubao"