动作模仿(Mimic) 视频生成

POST /openapi/v2/video/mimic/generate

MethodPOST
Path/openapi/v2/video/mimic/generate
Typehttp
Status1
Module2102810
Folder86260306

概览

MethodPOST
Path/openapi/v2/video/mimic/generate
Typehttp
Status1
Module2102810
Folder86260306

参数

{
  "query": [],
  "path": [],
  "cookie": [],
  "header": [
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "xuKTFUJ8a7",
      "enable": true,
      "name": "Content-Type",
      "sampleValue": "application/json"
    },
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "g87ROE6lZF",
      "enable": true,
      "name": "API-KEY",
      "sampleValue": "{{YOUR_API_KEY}}"
    }
  ]
}

请求体

{
  "type": "application/json",
  "parameters": [],
  "jsonSchema": {
    "type": "object",
    "properties": {
      "video_media_id": {
        "type": "integer",
        "description": "通过接口上传的视频 media_id,必传source_video_id 或 video_media_id"
      },
      "source_video_id": {
        "type": "integer",
        "description": "通过拍我API 生成的video_id, 必传source_video_id 或 video_media_id"
      },
      "img_id": {
        "type": "integer",
        "description": "上传图片后获取的img_id"
      },
      "quality": {
        "type": "string",
        "description": "\"360p\",\"540p\",\"720p\",\"1080p\""
      }
    },
    "required": [
      "img_id",
      "quality"
    ],
    "x-apifox-orders": [
      "video_media_id",
      "source_video_id",
      "img_id",
      "quality"
    ]
  },
  "required": true,
  "mediaType": "",
  "examples": [
    {
      "name": "示例 1",
      "value": "{\r\n    \"video_media_id\": 0,\r\n    //\"source_video_id\":0,\r\n    \"img_id\": 0,\r\n    \"quality\": \"360p\"\r\n}",
      "mediaType": "application/json"
    }
  ],
  "oasExtensions": ""
}

响应

[
  {
    "id": 177691886,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {}
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  }
]