ProAPIProAPI
API 调用文档

Seedance 2.0 (720p)

字节 Seedance 2.0 官方上游 720p 端点:可变时长、最多 4 图参考、首尾帧

本页模型当前不可用(2026-07-29)

seedance2.0-720p / seedance2.0-fast-720p 及 seedance-2.0 / seedance-2.0-fast 在后台已全部停用,调用会返回 model not found。

需要可变时长 + 图参考的视频生成,请改用:

  • kling-3.0(¥0.14/s,最长 15s,多镜头叙事)或 kling-o3(¥0.21/s,最多 6 镜头)
  • veo-3.1-ref(¥0.28/s,参考图引导角色一致性)
  • 图生视频 / 首尾帧插帧 → 视频-低 分组的 veo-3.1-i2v / veo-3.1-interpolation

价格与分组见 图片 / 视频模型价格。本页保留作为接口格式参考,若上游恢复会重新上架。

概览

seedance2.0-720p 与 seedance2.0-fast-720p 接入字节官方 Seedance 2.0 上游(720p 输出端点),相比本站 seedance2.0-5s/10s 等锁档版本能力更细:

  • 时长可变 5–15 秒
  • 最多 4 张参考图(reference_images)
  • 首尾帧(reference_mode=start_end)

Base URL:https://newapi.prorisehub.com,鉴权头:

Authorization: Bearer sk-<音视频分组令牌>
Content-Type: application/json

先看这两条

  • 模型名必须带 -720p 后缀。本站目前对接的是字节 Seedance 2.0 的 720p 输出端点,模型名 seedance2.0-720p / seedance2.0-fast-720p 是不可省略的全名。漏写 -720p 会返回 model not found。
  • 当前仅支持 4 图参考 + 首尾帧。视频参考(reference_video / reference_videos)、音频参考(audio_url)等高级能力当前不支持,传了会被上游忽略或报错。

后续会上新更多档位

我们正在对接支持 1080p / 480p 多档位、视频参考、音频参考 的 Seedance 上游,届时会以新模型名(如 seedance2.0-1080p、seedance2.0-fast 等)上架,不会动这两条已有模型的契约。文档会同步更新。

必须用音视频分组令牌

本页模型当前在后台已停用;若上游恢复,请使用 视频-低 / 视频-中 分组令牌调用。其它分组令牌返回 model not found。

模型与计费

模型¥/秒时长(seconds / duration)整条价 ¥定位
seedance2.0-fast-720p0.155 – 150.75–2.25快速档,迭代成本低
seedance2.0-720p0.305 – 151.50–4.50标准档,画质更稳

显示口径:1 USD = 1 ¥;按秒计费,¥/秒 × 视频时长。

能力矩阵

维度支持范围
分辨率720p 固定(上游 720p 端点,暂不支持 480p / 1080p)
画幅 aspect_ratio16:9 9:16 1:1 4:3 3:4 21:9
时长 duration5–15 秒整数
参考图 reference_images最多 4 张(公网 HTTPS URL)
首尾帧 reference_mode=start_end必须传 2 张参考图,按 [首帧, 尾帧] 顺序
视频自带音频默认开启
视频参考 reference_video(s)❌ 暂不支持(后续模型会开放)
音频参考 audio_url❌ 暂不支持(后续模型会开放)
1080p / 480p❌ 暂不支持(后续模型会开放)

reference_mode 模式

模式说明
auto默认;系统按传入的参考图数量自动选择处理方式
start_frame首帧模式,必须且只能传 1 张 reference_images
start_end首尾帧模式,必须且只能传 2 张 reference_images
image_reference多图参考模式,可传 1–4 张 reference_images

文生视频

curl https://newapi.prorisehub.com/v1/videos \
  -H "Authorization: Bearer sk-音视频分组令牌" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance2.0-fast-720p",
    "prompt": "A cinematic tracking shot through a neon-lit rainy street at night",
    "duration": 5,
    "aspect_ratio": "16:9"
  }'
import requests

resp = requests.post(
    "https://newapi.prorisehub.com/v1/videos",
    headers={
        "Authorization": "Bearer sk-音视频分组令牌",
        "Content-Type": "application/json",
    },
    json={
        "model": "seedance2.0-fast-720p",
        "prompt": "A cinematic tracking shot through a neon-lit rainy street at night",
        "duration": 5,
        "aspect_ratio": "16:9",
    },
    timeout=240,
)
print(resp.json())
const resp = await fetch("https://newapi.prorisehub.com/v1/videos", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk-音视频分组令牌",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "seedance2.0-fast-720p",
    prompt: "A cinematic tracking shot through a neon-lit rainy street at night",
    duration: 5,
    aspect_ratio: "16:9",
  }),
});
console.log(await resp.json());

响应:

{
  "id": "task-abc123",
  "task_id": "task-abc123",
  "object": "video",
  "model": "seedance2.0-fast-720p",
  "status": "queued",
  "progress": 0,
  "seconds": "5",
  "size": "1280x720",
  "created_at": 1713168000
}

图生视频(最多 4 图参考)

curl https://newapi.prorisehub.com/v1/videos \
  -H "Authorization: Bearer sk-音视频分组令牌" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance2.0-720p",
    "prompt": "Turn these stills into a polished fashion film with subtle camera motion",
    "duration": 8,
    "reference_images": [
      "https://example.com/look-1.jpg",
      "https://example.com/look-2.jpg",
      "https://example.com/look-3.jpg",
      "https://example.com/look-4.jpg"
    ],
    "aspect_ratio": "16:9",
    "reference_mode": "image_reference"
  }'

reference_images 仅接受公网 URL(HTTPS),最多 4 张。请勿使用本地文件上传或 data: URI,避免请求体过大。

首尾帧

curl https://newapi.prorisehub.com/v1/videos \
  -H "Authorization: Bearer sk-音视频分组令牌" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance2.0-720p",
    "prompt": "Smooth transition from day to night",
    "duration": 6,
    "reference_images": [
      "https://example.com/day.jpg",
      "https://example.com/night.jpg"
    ],
    "aspect_ratio": "16:9",
    "reference_mode": "start_end"
  }'

start_end 模式必须且只能传 2 张 reference_images,顺序为 [首帧, 尾帧]。不能同时传 reference_video / reference_videos(当前模型也不支持视频参考),否则返回 400 invalid_reference_inputs。

查询任务状态

curl https://newapi.prorisehub.com/v1/videos/<task_id> \
  -H "Authorization: Bearer sk-音视频分组令牌"
status含义
queued已入队
processing生成中(progress 0–100)
succeeded / completed完成,可用 url 或 /content 下载
failed失败,无扣费

完成响应示例:

{
  "id": "task-abc123",
  "object": "video",
  "model": "seedance2.0-fast-720p",
  "status": "succeeded",
  "progress": 100,
  "seconds": "5",
  "size": "1280x720",
  "url": "https://newapi.prorisehub.com/v1/videos/task-abc123/content",
  "created_at": 1713168000,
  "completed_at": 1713168120
}

下载视频

curl -L https://newapi.prorisehub.com/v1/videos/<task_id>/content \
  -H "Authorization: Bearer sk-音视频分组令牌" \
  -o result.mp4

任务未完成时返回 409,错误码 video_not_ready。

兼容字段

字段行为
duration推荐。整数 5–15
seconds兼容字段;仅在未传 duration 时生效
image_url / reference_image_urls合并到 reference_images(最多累计 4 张)
referenceImagesreference_images 驼峰兼容字段

同时传 duration 与 seconds 时以 duration 为准。

视频/音频参考字段

reference_video / reference_videos / audio_url 及对应驼峰别名当前模型不会处理;传了不会报错但也不会生效。等支持这些能力的新模型上架后再用。

错误码

HTTP错误码说明
400invalid_jsonJSON 格式错误
400model_not_supported模型不存在或非视频模型(常见原因:模型名漏了 -720p 后缀)
400invalid_reference_inputs参考图数量与 reference_mode 不匹配
400invalid_reference_modereference_mode 不支持
400invalid_resolution_name分辨率不支持(当前固定 720p,传 1080p / 480p 会报这个)
400invalid_video_length时长不在 5–15s 整数范围
404task_not_found任务不存在
409video_not_ready视频尚未完成
429upstream_rate_limited请求过于频繁
451upstream_safety_rejected内容或素材触发安全策略
503token_unavailable暂无可用上游
504upstream_timeout生成超时

错误响应:

{
  "error": {
    "message": "错误描述",
    "type": "invalid_request_error",
    "param": "参数名",
    "code": "错误码"
  }
}

On this page