seedance-1-5-pro
POST /volc/v1/contents/generations/tasks
概览
| Method | POST |
|---|---|
| Path | /volc/v1/contents/generations/tasks |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 66709190 |
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "model": { "type": "string", "description": "您需要调用的模型的 ID" }, "content": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "输入内容的类型" }, "text": { "type": "string", "description": "输入给模型的文本内容,描述期望生成的视频" }, "image_url": { "type": "object", "properties": { "url": { "type": "string", "description": "输入给模型的图片对象,图片URL" } }, "required": [ "url" ], "x-apifox-orders": [ "url" ] }, "role": { "type": "string", "description": "图片的位置或用途。" } }, "required": [ "type", "image_url", "role" ], "x-apifox-orders": [ "type", "text", "image_url", "role" ] }, "description": "输入给模型,生成视频的信息,支持文本信息和图片信息。" } }, "required": [ "model", "content" ], "x-apifox-orders": [ "model", "content" ] }, "required": false, "mediaType": "", "examples": [ { "value": "{\r\n \"model\": \"doubao-seedance-1-5-pro-251215\",\r\n \"content\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"女孩抱着狐狸,女孩睁开眼,温柔地看向镜头,狐狸友善地抱着,镜头缓缓拉出,女孩的头发被风吹动,可以听到风声\"\r\n },\r\n {\r\n \"type\": \"image_url\",\r\n \"image_url\": {\r\n \"url\": \"https://ark-project.tos-cn-beijing.volces.com/doc_image/i2v_foxrgirl.png\"\r\n }\r\n }\r\n ],\r\n \r\n \"ratio\": \"adaptive\",\r\n \"duration\": 4,\r\n \"watermark\": false\r\n}", "mediaType": "application/json", "description": "" } ], "oasExtensions": "" }
响应
[ { "id": 770243034, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": { "id": { "type": "string" }, "status": { "type": "string" } }, "required": [ "id", "status" ] }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]
响应示例
[ { "name": "成功示例", "responseId": 770243034, "data": "{\r\n \"id\": \"cgt-20250918170228-dw9rb\",\r\n \"status\": \"submitted\"\r\n}", "description": "", "oasKey": "", "oasExtensions": "", "id": 707572706 }, { "name": "成功示例", "responseId": 770243034, "data": "{\r\n \"id\": \"cgt-20260108111352-gwv4p\",\r\n \"status\": \"submitted\"\r\n}", "id": "019b9b99-1677-7295-891f-4b66524dcb85" } ]