seedance-1-5-pro-首尾帧

POST /volc/v1/contents/generations/tasks

MethodPOST
Path/volc/v1/contents/generations/tasks
Typehttp
Status1
Module2102810
Folder66709190

概览

MethodPOST
Path/volc/v1/contents/generations/tasks
Typehttp
Status1
Module2102810
Folder66709190

请求体

{
  "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"
    ]
  },
  "mediaType": "",
  "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": ""
    }
  ],
  "oasExtensions": ""
}

响应

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

响应示例

[
  {
    "name": "成功示例",
    "responseId": 770243034,
    "data": "{\r\n    \"id\": \"cgt-20250918170228-dw9rb\",\r\n    \"status\": \"submitted\"\r\n}",
    "description": "",
    "oasKey": "",
    "oasExtensions": "",
    "id": 707572706
  },
  {
    "name": "成功示例",
    "responseId": 770243034,
    "data": "{\r\n    \"id\": \"cgt-20260108111352-gwv4p\",\r\n    \"status\": \"submitted\"\r\n}",
    "id": "019b9b99-1677-7295-891f-4b66524dcb85"
  }
]