返回模型调用 API 参考
POST/volc/v1/contents/generations/tasks

seedance-1-5-pro-首尾帧

API Key application/json

请求示例

curl -X POST https://top.qingyuntop.ai/volc/v1/contents/generations/tasks \
  -H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedance-1-5-pro-251215",
    "content": [
         {
            "type": "text",
            "text": "图中女孩对着镜头说“茄子”,360度环绕运镜 --dur 5"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_first_frame.jpeg"
            },
            "role": "first_frame"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_last_frame.jpeg"
            },
            "role": "last_frame"
        }
    ]
}'

请求参数

参数位置类型必填说明示例
modelJSON bodystring您需要调用的模型的 ID-
contentJSON bodyarray<object>输入给模型,生成视频的信息,支持文本信息和图片信息。-
content[].typeJSON bodystring输入内容的类型-
content[].textJSON bodystring输入给模型的文本内容,描述期望生成的视频-
content[].image_urlJSON bodyobject--
content[].image_url.urlJSON bodystring输入给模型的图片对象,图片URL-
content[].roleJSON bodystring图片的位置或用途。-

返回响应 (200)

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

响应示例

{
    "id": "cgt-20250918170228-dw9rb",
    "status": "submitted"
}
来源原始接口定义(用于追溯)

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

{
  "id": 497673333,
  "name": "seedance-1-5-pro-首尾帧 ",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "post",
  "path": "/volc/v1/contents/generations/tasks",
  "tags": [],
  "status": 1,
  "requestBody": {
    "type": "application/json",
    "parameters": [],
    "jsonSchema": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string",
          "description": "您需要调用的模型的 ID"
        },
        "content": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "输入内容的类型"
              },
              "text": {
                "type": "string",
                "description": "输入给模型的文本内容,描述期望生成的视频"
              },
              "image_url": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "输入给模型的图片对象,图片URL"
                  }
                },
                "required": [
                  "url"
                ],
                "x-apifox-orders": [
                  "url"
                ]
              },
              "role": {
                "type": "string",
                "description": "图片的位置或用途。"
              }
            },
            "required": [
              "type",
              "image_url",
              "role"
            ],
            "x-apifox-orders": [
              "type",
              "text",
              "image_url",
              "role"
            ]
          },
          "description": "输入给模型,生成视频的信息,支持文本信息和图片信息。"
        }
      },
      "required": [
        "model",
        "content"
      ],
      "x-apifox-orders": [
        "model",
        "content"
      ]
    },
    "examples": [
      {
        "value": "{\r\n    \"model\": \"doubao-seedance-1-5-pro-251215\",\r\n    \"content\": [\r\n         {\r\n            \"type\": \"text\",\r\n            \"text\": \"图中女孩对着镜头说“茄子”,360度环绕运镜 --dur 5\"\r\n        },\r\n        {\r\n            \"type\": \"image_url\",\r\n            \"image_url\": {\r\n                \"url\": \"https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_first_frame.jpeg\"\r\n            },\r\n            \"role\": \"first_frame\"\r\n        },\r\n        {\r\n            \"type\": \"image_url\",\r\n            \"image_url\": {\r\n                \"url\": \"https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_last_frame.jpeg\"\r\n            },\r\n            \"role\": \"last_frame\"\r\n        }\r\n    ]\r\n}",
        "mediaType": "application/json",
        "description": ""
      }
    ],
    "mediaType": "",
    "oasExtensions": "",
    "required": false,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [],
    "query": [],
    "cookie": [],
    "header": []
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {},
  "responses": [
    {
      "id": 142543298,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status"
        ],
        "x-apifox-orders": [
          "id",
          "status"
        ]
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": []
    }
  ],
  "responseExamples": [
    {
      "name": "成功示例",
      "responseId": 142543298,
      "data": "{\r\n    \"id\": \"cgt-20250918170228-dw9rb\",\r\n    \"status\": \"submitted\"\r\n}",
      "description": "",
      "oasKey": "",
      "oasExtensions": "",
      "id": "019fd25e-4be6-7169-93b6-99f2c4af07d2"
    },
    {
      "name": "成功示例",
      "responseId": 142543298,
      "data": "{\r\n    \"id\": \"cgt-20260108111352-gwv4p\",\r\n    \"status\": \"submitted\"\r\n}",
      "description": "",
      "oasKey": "",
      "oasExtensions": "",
      "id": "019fd25e-4be6-7169-93b6-9ddb9d4eaeb5"
    }
  ],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436122,
  "ordering": 36,
  "responsibleId": 0,
  "commonResponseStatus": {},
  "advancedSettings": {
    "disabledSystemHeaders": {}
  },
  "customApiFields": {},
  "oasExtensions": "",
  "mockScript": {},
  "createdAt": "2026-08-05T14:40:23.000Z",
  "updatedAt": "2026-08-05T14:40:31.000Z",
  "creatorId": 2863449,
  "editorId": 2863449,
  "creatorUserId": 2863449,
  "editorUserId": 2863449,
  "responseChildren": [],
  "visibility": "INHERITED",
  "securityScheme": {},
  "callbacks": ""
}