Seedance 2.0 API
Seedance 2.0 的 Buble API 参数、mode、价格与调用示例。
Seedance 2.0 API
Seedance 2.0 支持广泛视频工作流,包括文生视频、帧控制、参考图视频、视频生视频和可选音频输入。
模型 key
doubao/seedance-2.0-fast— Seedance 2.0 Fastdoubao/seedance-2.0— Seedance 2.0
支持的 mode 与输入
| 模型 | Mode | 名称 | 输入要求 |
|---|---|---|---|
doubao/seedance-2.0-fast | text_to_video | 文生视频 | Prompt max 20000 chars Audio: 0-3 files, 15 MB, max 15s, formats mp3, wav |
doubao/seedance-2.0-fast | frames_to_video | 首尾帧生成视频 | Prompt max 20000 chars Images start_frame,end_frame: 1-2 files, 30 MB, formats jpg, png, webp, bmp, gif |
doubao/seedance-2.0-fast | reference_to_video | 参考图生成视频 | Prompt max 20000 chars Images reference: 0-9 files, 30 MB, formats jpeg, png, webp, bmp, tiff, gifAudio: 0-3 files, 15 MB, max 15s, formats mp3, wav |
doubao/seedance-2.0-fast | video_to_video | 视频生成视频 | Prompt max 20000 chars Images reference: 0-9 files, 30 MB, formats jpeg, png, webp, bmp, tiff, gifVideos: 1-3 files, 50 MB, max 15s, formats mp4, mov Audio: 0-3 files, 15 MB, max 15s, formats mp3, wav |
doubao/seedance-2.0 | text_to_video | 文生视频 | Prompt max 20000 chars Audio: 0-3 files, 15 MB, max 15s, formats mp3, wav |
doubao/seedance-2.0 | frames_to_video | 首尾帧生成视频 | Prompt max 20000 chars Images start_frame,end_frame: 1-2 files, 30 MB, formats jpg, png, webp, bmp, gif |
doubao/seedance-2.0 | reference_to_video | 参考图生成视频 | Prompt max 20000 chars Images reference: 0-9 files, 30 MB, formats jpeg, png, webp, bmp, tiff, gifAudio: 0-3 files, 15 MB, max 15s, formats mp3, wav |
doubao/seedance-2.0 | video_to_video | 视频生成视频 | Prompt max 20000 chars Images reference: 0-9 files, 30 MB, formats jpeg, png, webp, bmp, tiff, gifVideos: 1-3 files, 50 MB, max 15s, formats mp4, mov Audio: 0-3 files, 15 MB, max 15s, formats mp3, wav |
参数
| 模型 | 参数 | 默认值 | 可选值 | 适用 mode |
|---|---|---|---|---|
doubao/seedance-2.0-fast | duration | 5s | 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s | 全部 mode |
doubao/seedance-2.0-fast | resolution | 720p | 480p, 720p | 全部 mode |
doubao/seedance-2.0-fast | aspect_ratio | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive | 全部 mode |
doubao/seedance-2.0-fast | audio | false | true, false | 全部 mode |
doubao/seedance-2.0-fast | web_search | false | true, false | 全部 mode |
doubao/seedance-2.0 | duration | 5s | 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s | 全部 mode |
doubao/seedance-2.0 | resolution | 720p | 480p, 720p, 1080p | 全部 mode |
doubao/seedance-2.0 | aspect_ratio | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 | 全部 mode |
doubao/seedance-2.0 | audio | false | true, false | 全部 mode |
doubao/seedance-2.0 | web_search | false | true, false | 全部 mode |
价格
| 模型 | 价格 |
|---|---|
doubao/seedance-2.0-fast | 每秒 2 credits;参数倍率:resolution={"480p":1,"720p":2} |
doubao/seedance-2.0 | 每秒 3 credits;参数倍率:resolution={"480p":1,"720p":2,"1080p":4} |
生产建议
- 显式传入
mode。 - 只使用上表列出的参数值。
- 媒体输入类 mode 请先用
POST /api/v1/files上传素材。 - 如果页面包含多个变体,请使用你真正需要的模型 key。
示例:文生视频
curl https://buble.ai/api/v1/generations \
-H "Authorization: Bearer $BUBLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao/seedance-2.0-fast",
"mode": "text_to_video",
"prompt": "A cinematic product launch shot with slow camera movement, premium lighting, and realistic motion",
"duration": "5s",
"resolution": "720p",
"aspect_ratio": "16:9",
"audio": "false",
"web_search": "false"
}'示例:素材驱动视频
curl https://buble.ai/api/v1/generations \
-H "Authorization: Bearer $BUBLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao/seedance-2.0-fast",
"mode": "frames_to_video",
"prompt": "Animate the source into a polished cinematic motion shot with natural camera movement",
"start_frame": "https://example.com/start.png",
"duration": "5s",
"resolution": "720p",
"aspect_ratio": "16:9",
"audio": "false",
"web_search": "false"
}'