bytedance/seedance-2.0/reference-to-video33 积分起 / 5 秒视频· 参考生视频

Seedance 2.0 是字节跳动的视频模型,支持文生视频、图生视频、参考场景和视频续写:4 到 15 秒,480p 到 4K,声音在同一次生成里完成。参考模式最多接收九张图、三段视频和三条音频,所以产品或演员能在一组镜头里保持不变。

在 POST /jobs/createTask 里把模型名写成 bytedance/seedance-2.0/reference-to-video 即可调用,33 积分/ 5 秒视频起(US$0.33)。新账户送 30 积分,可以先在 Playground 里免费试。

  • 生成视频
  • 图生视频
  • 参考生视频
  • 视频续写
  • 最高 4K
  • 4–15 秒
  • 自带声音
  • 首尾帧
  • 最多 9 张参考图
  • 6 种画幅

这份指南暂时只有英文。 →

请求参数

参数必填说明
aspect_ratio否画面形状:横版、方形或竖版。 21:9 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16 · adaptive · 默认值: adaptive
bitrate_mode否Encoding bitrate of the delivered file: standard, or high for crisper detail and a larger file. standard · high · 默认值: standard
duration_seconds否视频时长,按秒计费。 -1–15 · 默认值: 5
generate_audio否加上和画面匹配的声音:人声、环境音和音效。 默认值: true
prompt是What to generate: subject, action, camera movement and mood.
reference_audio_urls否要匹配的声音:人声、音乐或节奏。
reference_image_urls否希望结果保留的人物、服装或场景的参考图。
reference_video_urls否希望结果跟随其动作、运镜或风格的参考视频。
resolution否输出尺寸。越大越清晰,价格也越高。 480p · 720p · 1080p · 4k · 默认值: 720p
return_last_frame否Also return the clip’s final frame as a separate image. 默认值: false
seed否用同一个数字,结果就能复现。 ≥ 0 · ≤ 2147483647
watermark否Add the model’s visible "AI generated" watermark to the video. 默认值: false

价格

价格以积分计,和网站上用的是同一种积分(1 积分 = $0.01)。任务受理时先冻结积分,完成后按实际费用结算;失败的任务会退还。

选项积分 /秒≈ 美元
resolution 480p · with_video true6.47US$0.065
resolution 480p · with_video false10.5US$0.11
resolution 720p · with_video true13.92US$0.14
resolution 720p · with_video false22.8US$0.23
resolution 1080p · with_video true34.26US$0.34
resolution 1080p · with_video false56.1US$0.56
resolution 4K · with_video false116.7US$1.17
resolution 4K · with_video true116.7US$1.17

每个任务按整数积分向上取整,所以最低档跑一次是 33 积分/ 5 秒视频(US$0.33)。

想在运行前知道确切金额,把同样的请求体发到 POST /jobs/quote 即可。

API 快速上手

三步调用 Seedance 2.0 API

  1. 创建 API 密钥. 登录 PopNow,在 API 控制台创建密钥。密钥以 sk-popnow- 开头,和网站共用同一份积分。
  2. 发送请求. 向 POST /jobs/createTask 发请求,model 填 bytedance/seedance-2.0/reference-to-video,input 按参数表填写。响应会立刻返回任务 ID。
  3. 取回结果. 用任务 ID 轮询 GET /jobs/recordInfo,或者传 callBackUrl,结果会推送到这个地址。任务成功后下载输出链接。
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "bytedance/seedance-2.0/reference-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "aspect_ratio": "adaptive",
    "resolution": "720p",
    "duration_seconds": 5,
    "generate_audio": true
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

请把提示词和链接换成你自己的。API 页签里有响应、轮询和回调的参考。

Seedance 2.0 API 常见问题

Seedance 2.0 API 怎么收费?

Seedance 2.0:最便宜的任务是参考生视频,33 积分(US$0.33)/ 5 秒视频起。各选项价格:480p · true 6.47 积分/秒、480p · false 10.5 积分/秒、720p · true 13.92 积分/秒、720p · false 22.8 积分/秒。积分和网站通用(1 积分 = $0.01),新账号赠送 30 积分,失败的任务会退还。

Seedance 2.0 在 API 里的调用名是什么?

在 POST /jobs/createTask 的 model 字段里填 生成视频用 bytedance/seedance-2.0/text-to-video;图生视频用 bytedance/seedance-2.0/image-to-video;参考生视频用 bytedance/seedance-2.0/reference-to-video;视频续写用 bytedance/seedance-2.0/video-extend。

Seedance 2.0 API 有哪些限制?

视频时长:4–15 s;分辨率:480p · 720p · 1080p · 4K;画面比例:21:9 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16 · adaptive;参考音频:3;参考图:9。超出这些限制的请求会在扣费之前被拒绝。

不写代码能试 Seedance 2.0 吗?

可以。Playground 用你的 PopNow 积分运行 Seedance 2.0,不需要 API 密钥,每次运行都会给出对应的代码。

全部 Seedance 模型

Seedance 2.5 单镜头最长 30 秒;Seedance 2.0 最高 4K,但只到 15 秒。

关于 Seedance 2.0 的更多内容