问题描述
使用 omni_reference 模式(Seedance 2.0)在亚洲国际站(JP前缀)上传视频素材时,视频上传到 ByteDance VOD 服务失败,报 CheckAuthenticationError。
复现步骤
- 使用
jp- 前缀的 sessionid(来自 dreamina.capcut.com)
- 调用
/v1/videos/generations,设置 functionMode: "omni_reference"
- 提供
video_file_1 URL
{
"model": "jimeng-video-seedance-2.0",
"functionMode": "omni_reference",
"duration": 10,
"ratio": "16:9",
"video_file_1": "https://example.com/video.mp4",
"prompt": "Extend @video_file_1. Continue the same scene..."
}
错误信息
申请视频上传权限失败: {
"CodeN": 100029,
"Code": "CheckAuthenticationError",
"Message": "CheckAuthenticationError, reason: `The accessKey 'AKTPN2Fl...' can not be found`."
}
分析
上传流程:
- ✅
get_upload_token 从 mweb-api-sg.capcut.com 成功获取 token(spaceName=aigc-va)
- ❌
ApplyUploadInner 请求 vod.bytedanceapi.com 时,使用该 token 中的 access_key_id 被拒绝
看起来 SG 站点返回的上传凭证无法在 vod.bytedanceapi.com 上使用。可能亚洲国际站的视频上传需要使用不同的 VOD 端点,或者上传 token 的获取方式与中国站不同。
注意:同一账户的文本生成视频和图片上传均正常工作,仅视频素材上传(omni_reference 模式需要)失败。
补充
VIDEO_MODEL_MAP_ASIA 中缺少 Seedance 2.0 模型映射(已本地修复):
"jimeng-video-seedance-2.0": "dreamina_seedance_40_pro",
"jimeng-video-seedance-2.0-fast": "dreamina_seedance_40",
环境
- jimeng-api: latest (2026-04-13)
- 区域: JP (dreamina.capcut.com, jp- 前缀)
- Node.js 20
- macOS
问题描述
使用
omni_reference模式(Seedance 2.0)在亚洲国际站(JP前缀)上传视频素材时,视频上传到 ByteDance VOD 服务失败,报CheckAuthenticationError。复现步骤
jp-前缀的 sessionid(来自 dreamina.capcut.com)/v1/videos/generations,设置functionMode: "omni_reference"video_file_1URL{ "model": "jimeng-video-seedance-2.0", "functionMode": "omni_reference", "duration": 10, "ratio": "16:9", "video_file_1": "https://example.com/video.mp4", "prompt": "Extend @video_file_1. Continue the same scene..." }错误信息
分析
上传流程:
get_upload_token从mweb-api-sg.capcut.com成功获取 token(spaceName=aigc-va)ApplyUploadInner请求vod.bytedanceapi.com时,使用该 token 中的access_key_id被拒绝看起来 SG 站点返回的上传凭证无法在
vod.bytedanceapi.com上使用。可能亚洲国际站的视频上传需要使用不同的 VOD 端点,或者上传 token 的获取方式与中国站不同。注意:同一账户的文本生成视频和图片上传均正常工作,仅视频素材上传(omni_reference 模式需要)失败。
补充
VIDEO_MODEL_MAP_ASIA中缺少 Seedance 2.0 模型映射(已本地修复):环境