Seedance生视频API 请求/响应示例 创建任务请求示例 请求头 plaintext POST Authorization: Bearer ${YOURAPPKEY} ContentType: application/json 文生视频请求示例 plaintext { "model": "doubaoseedance15pro", "content": [ { "type": "text", "text": "春日森林,小鹿在林间漫步,柔和阳光穿过树叶,画面唯美治愈" } ], "resolution": "720p", "ratio": "16:9", "duration": 6 } 图生视频首帧请求示例 plaintext { "model": "doubaoseedance15pro", "content": [ { "type": "text", "text": "海面泛起层层浪花,海浪缓缓涌动" }, { "type": "imageurl", "imageurl": { "url": " }, "role": "firstframe" } ], "resolution": "720p", "ratio": "16:9", "duration": 5, "seed": 100, "returnlastframe": true } 正常响应 plaintext { "id": "cgt2026" } 异常响应 plaintext { "error": { "type:": "Invalidrequest", "code": "missingparameter", "message": "Missing required parameters" } } 查询任务请求示例 请求 plaintext curl X GET header "Authorization: Bearer ${YOURAPPKEY}" 正常响应 plaintext { "id": "task‑xxxxxx", "model": "Doubao‑Seedance‑1.5‑pro", "status": "succeeded", "content": { "videourl": " "lastframeurl": " }, "createdat": 1785678900, "updatedat": 1785679820, "draft": false, "duration": 5, "framespersecond": 24, "generateaudio": true, "ratio": "16:9", "resolution": "1280720", "seed": 12345, "executionexpiresafter": 3600, "usage": { "completiontokens": 8500, "totaltokens": 8500 } }