注册

豆包 Seedance 首尾帧视频生成 - QuickRouter API 中转接口

POST https://api.quickrouter.ai/volc/v1/contents/generations/tasks 在线调试 →
Authorization

在 Header 添加参数 Authorization,其值为 Bearer 之后拼接 Token

示例: Authorization: Bearer ********************

请求参数

Header 参数
Content-Type string
必需
示例: application/json
Authorization string
必需
示例: Bearer $OPENAI_API_KEY
Body 参数 application/json
model string
必需
您需要调用的模型的 ID
content array [object]
必需
输入给模型,生成视频的信息,支持文本信息和图片信息。
type string
可选
输入内容的类型 必需
text string
可选
输入给模型的文本内容,描述期望生成的视频
image_url object
必需
role string
可选
图片的位置或用途。 必需 { "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" } ] } 请求
示例
{
    "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"
        }
    ]
}

请求示例代码

curl --location --request POST 'https://api.quickrouter.ai/volc/v1/contents/generations/tasks' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "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"
    }
  ]
}'

返回响应

响应参数 🟢 200 OK · application/json
id string
必需
status string
必需
成功示例 成功
示例
{
    "id": "cgt-20250918170228-dw9rb",
    "status": "submitted"
}