Skip to content

omni_reference 模式视频上传失败 (亚洲国际站 JP/SG/HK) - CheckAuthenticationError #162

@Audacity88

Description

@Audacity88

问题描述

使用 omni_reference 模式(Seedance 2.0)在亚洲国际站(JP前缀)上传视频素材时,视频上传到 ByteDance VOD 服务失败,报 CheckAuthenticationError

复现步骤

  1. 使用 jp- 前缀的 sessionid(来自 dreamina.capcut.com)
  2. 调用 /v1/videos/generations,设置 functionMode: "omni_reference"
  3. 提供 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`."
}

分析

上传流程:

  1. get_upload_tokenmweb-api-sg.capcut.com 成功获取 token(spaceName=aigc-va)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions