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

openai 创建视频,图生

API Key multipart/form-data

请求示例

curl -X POST https://top.qingyuntop.ai/v1/videos \
  -H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}"

请求参数

参数位置类型必填说明示例
model请求体string 模型名称grok-videos
prompt请求体string提示词让牛快乐的跳科目三
seconds请求体number时长 6s / 10s6
input_reference请求体string图片 url-
size请求体string16:9 , 9:1616:9

返回响应 (200)

此部分没有定义参数。

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

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

{
  "id": 497676420,
  "name": "openai 创建视频,图生",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "post",
  "path": "/v1/videos",
  "tags": [],
  "status": 1,
  "requestBody": {
    "type": "multipart/form-data",
    "parameters": [
      {
        "id": "NcvlG84LOC",
        "name": "model",
        "required": true,
        "enable": true,
        "description": "  模型名称",
        "type": "string",
        "sampleValue": "grok-videos"
      },
      {
        "id": "m2hCdMnpPr",
        "name": "prompt",
        "required": true,
        "enable": true,
        "description": "提示词",
        "type": "string",
        "sampleValue": "让牛快乐的跳科目三"
      },
      {
        "id": "2KrT8v8xW3",
        "name": "seconds",
        "required": false,
        "enable": true,
        "description": "时长 6s / 10s",
        "type": "number",
        "sampleValue": "6"
      },
      {
        "id": "QqUGDr3NUI",
        "name": "input_reference",
        "required": false,
        "enable": true,
        "description": "图片 url",
        "type": "string",
        "schema": {
          "type": "string"
        },
        "sampleValue": ""
      },
      {
        "id": "J2HH3bRGDD",
        "name": "size",
        "required": false,
        "enable": true,
        "description": "16:9  , 9:16",
        "type": "string",
        "schema": {
          "type": "string"
        },
        "sampleValue": "16:9"
      }
    ],
    "examples": [],
    "mediaType": "",
    "oasExtensions": "",
    "required": true,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [],
    "query": [],
    "cookie": [],
    "header": []
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {},
  "responses": [
    {
      "id": 152129508,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {},
        "x-apifox-orders": []
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": []
    }
  ],
  "responseExamples": [],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436134,
  "ordering": 0,
  "responsibleId": 0,
  "commonResponseStatus": {},
  "advancedSettings": {
    "disabledSystemHeaders": {}
  },
  "customApiFields": {},
  "oasExtensions": "",
  "mockScript": {},
  "createdAt": "2026-08-05T15:08:33.000Z",
  "updatedAt": "2026-08-06T12:16:00.000Z",
  "creatorId": 2863449,
  "editorId": 2863449,
  "creatorUserId": 2863449,
  "editorUserId": 2863449,
  "responseChildren": [],
  "visibility": "INHERITED",
  "securityScheme": {},
  "callbacks": ""
}