添加视频帧提取功能和阿里云OSS存储支持

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
empty
2026-01-18 21:44:39 +08:00
parent fe595db96e
commit d970107a34
13 changed files with 351 additions and 19 deletions

View File

@@ -19,9 +19,17 @@ database:
max_open: 100
storage:
type: "local"
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"