add volcengine OSS support

This commit is contained in:
2026-08-30 06:52:14 +08:00
parent 6de1d4a3d0
commit 856aa38026
9 changed files with 339 additions and 10 deletions

View File

@@ -16,3 +16,13 @@ MOSS_TIMEOUT_SECONDS=1800
MOSS_MAX_NEW_TOKENS=65536
# 每句结束时间向后顺延的毫秒数,避免句子末尾发音被切掉;按需在 200-500 之间调整
MOSS_END_PADDING_MS=300
# 火山引擎对象存储TOS / 火山 OSS。桶请设置为公共读或把下方地址配置为可公开访问的 CDN 域名。
VOLCANO_OSS_ACCESS_KEY=replace-with-volcano-access-key
VOLCANO_OSS_SECRET_KEY=replace-with-volcano-secret-key
VOLCANO_OSS_BUCKET=your-course-videos
VOLCANO_OSS_ENDPOINT=tos-cn-beijing.volces.com
VOLCANO_OSS_REGION=cn-beijing
VOLCANO_OSS_KEY_PREFIX=videos/
# 可选:绑定自定义域名或 CDN 后填写,例如 https://media.example.com
# VOLCANO_OSS_PUBLIC_BASE_URL=https://media.example.com