1. Seedance视频生成
91Token-AI工厂
  • 视频生成
    • 豆包Seedance
      • 视频生成
        • Seedance视频生成
          • 创建视频生成任务
            POST
          • 查询视频生成任务
            GET
      • 素材库
        • 素材库官透
    • Grok-Video
      • Grok-Video-多图
      • Grok-Video-单图
      • 视频任务查询
    • Vidu视频
      • Vidu 视频生成
        • 文生视频
        • 查询任务结果
        • 图生视频
        • 参考生视频
        • 首尾帧生视频
      • 电商一键成片
        • 查询任务接口
        • 查询广告成片子任务
        • 编辑并生成广告分镜
        • 合成广告成片
        • 创建广告成片任务
    • Wan3 视频生成
      • Wan3视频生成
      • 查询 Wan3 视频生成任务
    • MiniMax
      • MiniMax H3 视频生成
        • 创建视频生成任务
        • 查询视频生成任务
  1. Seedance视频生成

创建视频生成任务

POST
https://api.91token.com/doubao/api/v3/contents/generations/tasks
Seedance
最后修改时间:2026-11-04 07:07:43
提交异步视频生成任务,成功后返回任务 ID。视频生成完成后通过查询接口获取视频地址。
接口的出入参保持和火山接口一致,只需要修改下域名。

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Body 参数application/json必填

示例
{
    "model": "doubao-seedance-2-0",
    "content": [
        {
            "type": "text",
            "text": "根据九张参考图、三段参考视频和三段参考音频,生成一段自然风景纪录片风格的视频。画面稳定,镜头缓慢推进,保留舒缓的环境氛围。"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1462331940025-496dfbfc7564?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1501854140801-50d01698950b?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "video_url",
            "video_url": {
                "url": "https://samplelib.com/lib/preview/mp4/sample-5s.mp4"
            },
            "role": "reference_video"
        },
        {
            "type": "video_url",
            "video_url": {
                "url": "https://samplelib.com/lib/preview/mp4/sample-5s.mp4"
            },
            "role": "reference_video"
        },
        {
            "type": "video_url",
            "video_url": {
                "url": "https://samplelib.com/lib/preview/mp4/sample-5s.mp4"
            },
            "role": "reference_video"
        },
        {
            "type": "audio_url",
            "audio_url": {
                "url": "https://samplelib.com/lib/preview/mp3/sample-3s.mp3"
            },
            "role": "reference_audio"
        },
        {
            "type": "audio_url",
            "audio_url": {
                "url": "https://samplelib.com/lib/preview/mp3/sample-3s.mp3"
            },
            "role": "reference_audio"
        },
        {
            "type": "audio_url",
            "audio_url": {
                "url": "https://samplelib.com/lib/preview/mp3/sample-3s.mp3"
            },
            "role": "reference_audio"
        }
    ],
    "return_last_frame": true,
    "execution_expires_after": 172800,
    "generate_audio": true,
    "tools": [
        {
            "type": "web_search"
        }
    ],
    "safety_identifier": "seedance_test_user_10001",
    "resolution": "720p",
    "ratio": "16:9",
    "duration": 5,
    "seed": 20260730,
    "watermark": false
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.91token.com/doubao/api/v3/contents/generations/tasks' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "doubao-seedance-2-0",
    "content": [
        {
            "type": "text",
            "text": "根据九张参考图、三段参考视频和三段参考音频,生成一段自然风景纪录片风格的视频。画面稳定,镜头缓慢推进,保留舒缓的环境氛围。"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1462331940025-496dfbfc7564?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "image_url",
            "image_url": {
                "url": "https://images.unsplash.com/photo-1501854140801-50d01698950b?auto=format&fit=crop&w=1280&q=80"
            },
            "role": "reference_image"
        },
        {
            "type": "video_url",
            "video_url": {
                "url": "https://samplelib.com/lib/preview/mp4/sample-5s.mp4"
            },
            "role": "reference_video"
        },
        {
            "type": "video_url",
            "video_url": {
                "url": "https://samplelib.com/lib/preview/mp4/sample-5s.mp4"
            },
            "role": "reference_video"
        },
        {
            "type": "video_url",
            "video_url": {
                "url": "https://samplelib.com/lib/preview/mp4/sample-5s.mp4"
            },
            "role": "reference_video"
        },
        {
            "type": "audio_url",
            "audio_url": {
                "url": "https://samplelib.com/lib/preview/mp3/sample-3s.mp3"
            },
            "role": "reference_audio"
        },
        {
            "type": "audio_url",
            "audio_url": {
                "url": "https://samplelib.com/lib/preview/mp3/sample-3s.mp3"
            },
            "role": "reference_audio"
        },
        {
            "type": "audio_url",
            "audio_url": {
                "url": "https://samplelib.com/lib/preview/mp3/sample-3s.mp3"
            },
            "role": "reference_audio"
        }
    ],
    "return_last_frame": true,
    "execution_expires_after": 172800,
    "generate_audio": true,
    "tools": [
        {
            "type": "web_search"
        }
    ],
    "safety_identifier": "seedance_test_user_10001",
    "resolution": "720p",
    "ratio": "16:9",
    "duration": 5,
    "seed": 20260730,
    "watermark": false
}'

返回响应

🟢200
application/json
任务创建成功。
Bodyapplication/json

示例
{
    "id": "cgt-xxxxxxxx"
}
🟠400ErrorResponse
🟠401ErrorResponse
🔴502ErrorResponse
修改于 2026-11-04 07:07:43
下一页
查询视频生成任务
Built with