添加视频帧提取功能和阿里云OSS存储支持
- 新增从视频素材提取首帧/尾帧的功能,支持画面连续性编辑 - 添加阿里云OSS存储支持,可配置本地或OSS存储方式 - 导入视频素材时自动探测并更新视频时长信息 - 前端添加从素材提取尾帧的UI界面 - 添加FramePrompt模型的数据库迁移 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -43,9 +43,18 @@ type DatabaseConfig struct {
|
||||
}
|
||||
|
||||
type StorageConfig struct {
|
||||
Type string `mapstructure:"type"` // local, minio
|
||||
LocalPath string `mapstructure:"local_path"` // 本地存储路径
|
||||
BaseURL string `mapstructure:"base_url"` // 访问URL前缀
|
||||
Type string `mapstructure:"type"` // local, oss
|
||||
LocalPath string `mapstructure:"local_path"` // 本地存储路径
|
||||
BaseURL string `mapstructure:"base_url"` // 访问URL前缀
|
||||
Oss OssConfig `mapstructure:"oss"` // 阿里云 OSS 配置
|
||||
}
|
||||
|
||||
type OssConfig struct {
|
||||
Endpoint string `mapstructure:"endpoint"` // OSS 服务地址
|
||||
AccessKeyID string `mapstructure:"access_key_id"` // AccessKey ID
|
||||
AccessKeySecret string `mapstructure:"access_key_secret"` // AccessKey Secret
|
||||
BucketName string `mapstructure:"bucket_name"` // Bucket 名称
|
||||
CustomDomain string `mapstructure:"custom_domain"` // 自定义域名(可选)
|
||||
}
|
||||
|
||||
type AIConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user