返回模型调用 API 参考
POST/v1/video/extend

扩展视频

API Key application/json

请求示例

curl -X POST https://top.qingyuntop.ai/v1/video/extend \
  -H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-video-3",
    "prompt": "play with another white cat",
    "task_id": "grok:7fd641dc-437f-44c3-97a2-e3778e0e10fb",
    "size": "1080p",
    "start_time": 3,
    "upscale": false
}'

请求参数

参数位置类型必填说明示例
modelJSON bodystring模型名字 如:grok-video-3-
promptJSON bodystring提示词-
task_idJSON bodystring扩展视频任务ID-
aspect_ratioJSON bodystring可选为 2:3, 3:2, 1:1,按照需要扩展视频的尺寸来-
sizeJSON bodystring720P或者1080P-
start_timeJSON bodyinteger开始时间-
upscaleJSON bodyboolean--

返回响应 (200)

此部分没有定义参数。

来源原始接口定义(用于追溯)

以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。

{
  "id": 495899739,
  "name": "扩展视频",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "post",
  "path": "/v1/video/extend",
  "tags": [],
  "status": 1,
  "requestBody": {
    "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"
      ]
    },
    "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"
      }
    ],
    "mediaType": "",
    "oasExtensions": "",
    "required": true,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [],
    "query": [],
    "cookie": [],
    "header": []
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {},
  "responses": [
    {
      "id": 140784339,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {},
        "x-apifox-orders": []
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": []
    }
  ],
  "responseExamples": [],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436135,
  "ordering": 12,
  "responsibleId": 0,
  "commonResponseStatus": {},
  "advancedSettings": {
    "disabledSystemHeaders": {}
  },
  "customApiFields": {},
  "oasExtensions": "",
  "mockScript": {},
  "createdAt": "2026-08-02T03:53:34.000Z",
  "updatedAt": "2026-08-05T14:40:24.000Z",
  "creatorId": 2863449,
  "editorId": 2863449,
  "creatorUserId": 2863449,
  "editorUserId": 2863449,
  "responseChildren": [],
  "visibility": "INHERITED",
  "securityScheme": {},
  "callbacks": ""
}