Skip to content

seedance-2.5-token · Seedance 2.5 模型文档 ​

网关模型 ID:seedance-2.5-token(Token 计费) 文档版本:2026-11-10

1. 模型概述 ​

项值
模型 IDseedance-2.5-token
显示名Seedance 2.5
计费方式Token 计费(由平台统一结算)
视频时长4 – 30 秒(范围)

2. 支持能力 ​

能力值
创作模式text_to_video、first_last_frame、image_to_video、omni 全部支持
画面比例16:9、9:16、1:1、4:3、3:4、21:9
分辨率480p、720p、1080p
参考图片0 – 30 张(公网 URL)
参考视频0 – 10 个(仅 omni 模式)
参考音频0 – 10 个(仅 omni 模式)
人脸校验 face_check支持(图生/全能模式)

3. 创建视频 ​

3.1 文生视频(text_to_video) ​

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5-token",
    "prompt": "一艘飞船穿越星云,星尘四散,电影级运镜,细节丰富",
    "mode": "text_to_video",
    "duration": 10,
    "ratio": "16:9",
    "resolution": "720p"
  }'

3.2 图生视频(image_to_video) ​

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5-token",
    "prompt": "让画面中的人物自然转头,背景轻微运动,真实光影",
    "mode": "image_to_video",
    "duration": 8,
    "ratio": "9:16",
    "resolution": "1080p",
    "images": ["https://.../reference.png"],
    "face_check": true
  }'

3.3 首尾帧视频(first_last_frame) ​

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5-token",
    "prompt": "镜头从画面淡出过渡,自然衔接首尾帧",
    "mode": "first_last_frame",
    "duration": 6,
    "ratio": "16:9",
    "resolution": "720p",
    "images": ["https://.../first-frame.png", "https://.../last-frame.png"]
  }'

images 第 1 张是首帧,第 2 张是可选尾帧。

3.4 全能生成(omni) ​

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5-token",
    "prompt": "根据参考素材生成一段自然风光视频,镜头缓慢推进,氛围安静",
    "mode": "omni",
    "duration": 12,
    "ratio": "21:9",
    "resolution": "1080p",
    "images": ["https://.../ref1.png"],
    "videos": ["https://.../ref.mp4"],
    "audio": ["https://.../music.mp3"],
    "face_check": true
  }'

omni 模式最多可组合 30 张图片 + 10 个视频 + 10 个音频。

4. 轮询与结果 ​

bash
curl https://video.fastaitoken.com/v1/videos/<task_id> \
  -H "Authorization: Bearer <你的API Key>"
状态说明
processing生成中,progress 0-99
completed成功,video_url / download_url / result_url
failed失败,含 error_code / error_message

5. 注意事项 ​

  • 时长请在 4–30 秒之间:传 1–3 秒会按 4 秒、超过 30 秒会按 30 秒生成(以建单返回的 duration 为准),预扣、生成和扣费都按调整后的值;不传或传 0 会直接返回 HTTP 400 missing_duration。
  • 文生视频不能带素材(图片/视频/音频)。
  • n 仅支持 1。
  • 素材必须公网 HTTP(S) URL。
  • 请求体不要携带 billing_hold_id / callback_url / callback_secret_id。