重绘视频生成视频
POST /openapi/v2/video/restyle/generate
概览
| Method | POST |
|---|---|
| Path | /openapi/v2/video/restyle/generate |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 86260306 |
参数
{ "query": [], "path": [], "cookie": [], "header": [ { "required": false, "description": "", "type": "string", "id": "PUJunz0TUT", "enable": true, "name": "Content-Type", "sampleValue": "application/json" }, { "required": false, "description": "", "type": "string", "id": "GpArc6F8Us", "enable": true, "name": "API-KEY", "sampleValue": "{{YOUR_API_KEY}}" } ] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "source_video_id": { "type": "integer", "description": "用户用拍我API 生成过的视频, 必传source_video_id 或 video_media_id" }, "restyle_id": { "type": "integer", "description": "从重绘效果列表获取的ID, restyle_id 或restyle_prompt 需要填写" }, "seed": { "type": "integer" }, "video_media_id": { "type": "integer", "description": "用户上传的视频,必传source_video_id 或 video_media_id" }, "restyle_prompt": { "type": "string", "description": "支持提示词替换风格, restyle_id 或restyle_prompt 需要填写\n5000 字符以内" } }, "x-apifox-orders": [ "source_video_id", "video_media_id", "restyle_id", "restyle_prompt", "seed" ] }, "required": true, "mediaType": "", "examples": [ { "name": "示例 1", "value": "{\r\n \"source_video_id\": 0,\r\n \"restyle_id\": 0,\r\n \"seed\": 0\r\n}", "mediaType": "application/json" } ], "oasExtensions": "" }
响应
[ { "id": 183976426, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]