扩展视频
POST /v1/video/extend
概览
| Method | POST |
|---|---|
| Path | /v1/video/extend |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 72525006 |
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "model": { "type": "string", "description": "模型名字 如:grok-video-3" }, "prompt": { "type": "string", "description": "提示词" }, "task_id": { "type": "string", "description": "扩展视频任务ID" }, "aspect_ratio": { "type": "string", "description": "可选为 2:3, 3:2, 1:1,按照需要扩展视频的尺寸来" }, "size": { "type": "string", "description": "720P或者1080P" }, "start_time": { "type": "integer", "description": "开始时间" }, "upscale": { "type": "boolean" } }, "x-apifox-orders": [ "model", "prompt", "task_id", "aspect_ratio", "size", "start_time", "upscale" ], "required": [ "model", "prompt", "task_id", "start_time" ] }, "required": true, "mediaType": "", "examples": [ { "name": "示例 1", "value": "{\r\n \"model\": \"grok-video-3\",\r\n \"prompt\": \"play with another white cat\",\r\n \"task_id\": \"grok:7fd641dc-437f-44c3-97a2-e3778e0e10fb\",\r\n \"size\": \"1080p\",\r\n \"start_time\": 3,\r\n \"upscale\": false\r\n}", "mediaType": "application/json" } ], "oasExtensions": "" }
响应
[ { "id": 170003421, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]