Seedance 2.5
从文本、第一帧/最后一帧以及 480p、720p 或 1080p 的多模式图像、视频或音频参考生成 4-30 秒的视频。
- 文本转视频
- 图像转视频
体验场
输入
Video prompt. Reference images, videos and audio positionally in the prompt.
Reference image URLs (maximum 30 across both image fields)
Public reference-video URLs (maximum 10; 2-30 seconds each and 30 seconds total). Their duration is probed before charging.
Reference audio URLs (maximum 10; 30 seconds total)
运行费用将从您的余额中扣除。
输出
输出将显示在此处。
定价
快速开始
完整 API 参考 →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "seedance-2.5",6 "input": {7 "prompt": "黄昏时分城市的电影感镜头",8 "duration": 5,9 "size": "adaptive",10 "resolution": "480p",11 "generateAudio": true,12 "nsfwCheck": false,13 "watermark": false,14 "outputFormat": "mp4",15 "omniReferenceTaskType": "auto",16 "returnLastFrame": false17 }18 }'
参数
| 名称 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
prompt | string | 是 | — | Video prompt. Reference images, videos and audio positionally in the prompt. |
duration | number | 否 | 5 | Output duration in seconds (4-30). For reference-video jobs, input and output seconds use the reference-input tariff. |
size | string | 否 | adaptive | Output aspect ratio. First/last-frame and extend jobs require adaptive.以下之一:adaptive, 16:9, 4:3, 1:1, 3:4, 9:16, 21:9 |
resolution | string | 否 | 480p | Output resolution and per-second billing tier以下之一:480p, 720p, 1080p |
generateAudio | boolean | 否 | true | Whether the generated video includes audio |
nsfwCheck | boolean | 否 | false | Run prompt/image moderation before generation |
watermark | boolean | 否 | false | Add an AI-generated watermark |
seed | number | 否 | — | Random seed; identical output is not guaranteed |
outputFormat | string | 否 | mp4 | Output video container以下之一:mp4, mov |
omniReferenceTaskType | string | 否 | auto | Optional task-type hint. edit is unavailable until variable-duration billing settlement is supported.以下之一:auto, reference, extend |
imageUrls | string[] | 否 | — | Reference image URLs (maximum 30 across both image fields) |
imageWithRoles | string[] | 否 | — | Images with explicit first_frame, last_frame or reference_image roles |
videoUrls | string[] | 否 | — | Public reference-video URLs (maximum 10; 2-30 seconds each and 30 seconds total). Their duration is probed before charging. |
audioUrls | string[] | 否 | — | Reference audio URLs (maximum 10; 30 seconds total) |
returnLastFrame | boolean | 否 | false | Return the output's last frame for chaining |
tools | string[] | 否 | — | Optional enhancements such as web search grounding |
常见问题
Seedance 2.5 的费用是多少?
Seedance 2.5 通过 API Stock API 的起价为 $0.144 每秒输出。您按使用量从单个预付余额中支付——无需订阅——最终价格会根据分辨率或时长等参数浮动。
如何调用 Seedance 2.5 API?
向 https://api.api-stock.com/api/v1/generation/create 发送 POST 请求,并附上您的 API 密钥和模型 ID "seedance-2.5"。请求会返回一个任务 ID,您可以轮询该 ID;或者在结果准备就绪时通过 webhook 回调通知。上方的快速开始部分提供了一个可直接运行的示例。
Seedance 2.5 接受哪些输入参数?
Seedance 2.5 接受 16 个输入参数, 包括必填字段 prompt。参数表中列出了它们的类型、默认值和允许值。
如果 Seedance 2.5 请求失败,会发生什么?
API Stock 会自动在备用提供商上重试请求。如果所有提供商都失败,费用会退还至您的余额。
我可以使用与其他模型相同的 API 密钥来调用 Seedance 2.5 吗?
可以。API Stock 上的每个模型——视频、图像、音乐和聊天——共享一个 API 密钥和一个预付余额,因此您无需新的凭据即可切换到 Seedance 2.5。