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

创建视频,带图片 sora-2

API Key application/json

请求示例

curl -X POST https://top.qingyuntop.ai/v1/video/create \
  -H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
        "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
    ],
    "model": "sora-2-all",
    "orientation": "portrait",
    "prompt": "make animate",
    "size": "large",
    "duration":15,
    "watermark":false
}'

请求参数

参数位置类型必填说明示例
Content-TypeHeaderstring-application/json
AcceptHeaderstring-application/json
AuthorizationHeaderstring-Bearer {{YOUR_API_KEY}}
imagesJSON bodyarray<string>图片链接-
modelJSON bodystring模型名字-
orientationJSON bodystringportrait 竖屏 landscape 横屏 -
promptJSON bodystring提示词-
sizeJSON bodystring small 一般720p-
durationJSON bodyinteger枚举值: 10-
watermarkJSON bodystring默认为: true 会优先无水印,如果出错,会兜底到有水印 传递 false 的话 会强制让视频无水印,遇到去水印错误的会一直自动重试 -

返回响应 (200)

参数位置类型必填说明示例
id响应 JSONstring--
status响应 JSONstring--
status_update_time响应 JSONinteger--

响应示例

{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "status": "pending",
    "status_update_time": 1759763427208
}
来源原始接口定义(用于追溯)

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

{
  "id": 497673337,
  "name": "创建视频,带图片  sora-2",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "post",
  "path": "/v1/video/create",
  "tags": [],
  "status": 1,
  "requestBody": {
    "type": "application/json",
    "parameters": [],
    "jsonSchema": {
      "type": "object",
      "properties": {
        "images": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "图片链接"
        },
        "model": {
          "type": "string",
          "description": "模型名字"
        },
        "orientation": {
          "type": "string",
          "description": "portrait 竖屏\nlandscape 横屏\n"
        },
        "prompt": {
          "type": "string",
          "description": "提示词"
        },
        "size": {
          "type": "string",
          "description": " small 一般720p"
        },
        "duration": {
          "type": "integer",
          "description": "枚举值: 10"
        },
        "watermark": {
          "type": "string",
          "description": "默认为: true  会优先无水印,如果出错,会兜底到有水印\n传递 false 的话 会强制让视频无水印,遇到去水印错误的会一直自动重试\n"
        }
      },
      "required": [
        "images",
        "model",
        "orientation",
        "prompt",
        "size",
        "duration",
        "watermark"
      ],
      "x-apifox-orders": [
        "images",
        "model",
        "orientation",
        "prompt",
        "size",
        "duration",
        "watermark"
      ]
    },
    "examples": [
      {
        "value": "{\r\n    \"images\": [\r\n        \"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png\"\r\n    ],\r\n    \"model\": \"sora-2-all\",\r\n    \"orientation\": \"portrait\",\r\n    \"prompt\": \"make animate\",\r\n    \"size\": \"large\",\r\n    \"duration\":15,\r\n    \"watermark\":false\r\n}",
        "mediaType": "application/json"
      }
    ],
    "mediaType": "",
    "oasExtensions": "",
    "required": false,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [],
    "query": [],
    "cookie": [],
    "header": [
      {
        "id": "NQs7bxnpZf",
        "name": "Content-Type",
        "required": true,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "application/json"
      },
      {
        "id": "qb8tEQbCty",
        "name": "Accept",
        "required": true,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "application/json"
      },
      {
        "id": "gBxcCbXhsa",
        "name": "Authorization",
        "required": false,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "Bearer {{YOUR_API_KEY}}"
      }
    ]
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {},
  "responses": [
    {
      "id": 141866578,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "status_update_time": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "status",
          "status_update_time"
        ],
        "x-apifox-orders": [
          "id",
          "status",
          "status_update_time"
        ]
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": [],
      "oasExtensions": ""
    }
  ],
  "responseExamples": [
    {
      "name": "成功示例",
      "responseId": 141866578,
      "data": "{\r\n    \"id\": \"sora-2:task_01k6x15vhrff09dkkqjrzwhm60\",\r\n    \"status\": \"pending\",\r\n    \"status_update_time\": 1759763427208\r\n}",
      "description": "",
      "oasKey": "",
      "oasExtensions": "",
      "id": "019fd25e-4be6-7169-93b6-b35d55075e98"
    }
  ],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436132,
  "ordering": 6,
  "responsibleId": 0,
  "commonResponseStatus": {},
  "advancedSettings": {
    "disabledSystemHeaders": {},
    "isDefaultUrlEncoding": 1
  },
  "customApiFields": {},
  "oasExtensions": "",
  "mockScript": {},
  "createdAt": "2026-08-05T14:40:23.000Z",
  "updatedAt": "2026-08-06T12:15:55.000Z",
  "creatorId": 2863449,
  "editorId": 2863449,
  "creatorUserId": 2863449,
  "editorUserId": 2863449,
  "responseChildren": [
    "BLANK.141866578"
  ],
  "visibility": "INHERITED",
  "securityScheme": {},
  "callbacks": ""
}