mixrouter
  1. 豆包
mixrouter
  • mixrouter接口说明
  • 已支持的模型列表
  • 大模型官方文档
  • gemini
    • openai格式
      • openai格式
      • gemini-开启thinking
    • google原生格式
      • google格式
  • anthropic
    • openai格式
      POST
    • anthropic格式
      POST
  • openai
    • chat/completions
      POST
    • 流式/chat/completions
      POST
    • responses
      POST
  • deepseek
    • chat/completions
      POST
  • qwen
    • chat/completions(开启thinking)
      POST
    • chat/completions
      POST
  • 豆包
    • chat/completions
      POST
    • 提交视频生成任务
      POST
    • 获取视频生成任务结果
      GET
  1. 豆包

提交视频生成任务

Developing
POST
https://api.mixrouter.com/v1/videos
https://www.volcengine.com/docs/82379/1366799

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Example
{
    "model":"doubao-seedance-1-0-lite-i2v-250428",
    "prompt":"让图中的人物,很自然地走动起来",
    "images":["https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_first_frame.jpeg","https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_last_frame.jpeg"],
    "duration":10,
    "metadata":{
        "image_role":"reference_image",
        "resolution":"720p",
        "ratio":"16:9",
        "frames":241,
        "seed":-1,
        "camerafixed":false,
        "watermark":false
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mixrouter.com/v1/videos' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model":"doubao-seedance-1-0-lite-i2v-250428",
    "prompt":"让图中的人物,很自然地走动起来",
    "images":["https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_first_frame.jpeg","https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_last_frame.jpeg"],
    "duration":10,
    "metadata":{
        "image_role":"reference_image",
        "resolution":"720p",
        "ratio":"16:9",
        "frames":241,
        "seed":-1,
        "camerafixed":false,
        "watermark":false
    }
}'

Responses

🟢200OK
application/json
Body

Example
{
    "task_id": "cgt-20251212223156-7sm96"
}
Modified at 2025-12-12 14:33:23
Previous
chat/completions
Next
获取视频生成任务结果
Built with