> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniall.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 豆包 Seedance 视频 API

> Seedance 2.0 / 2.5 视频任务对接说明。

# 豆包 Seedance 视频 API

通过 Omniall AI 调用字节跳动 **Seedance 2.0 / 2.5** 多模态视频。

| 说明 | 方法 | 路径 |
| - | - | - |
| 创建 | `POST` | `/v1/video/generations` |
| 查询 | `GET` | `/v1/video/generations/{task_id}` |

也可使用 `/v1/videos`。鉴权：`Authorization: Bearer sk-...`。

见[模型广场](https://omniall.ai/pricing)与 [Seedance 状态](https://omniall.ai/seedance-status)。示例：`db-sd2.0-1080p`、`db-sd2.5-1080p` 等。

| 字段 | 说明 |
| - | - |
| `model` | 必需 |
| `prompt` | 必需（或 `content` 文本） |
| `duration` / `seconds` | 时长（秒） |
| `ratio` | 如 `16:9` |
| `images` / `first_frame` / `last_frame` | 图像参考（不要混用 `images` 与首尾帧） |
| `generate_audio` | 是否生成音频 |

```bash theme={null}
curl -X POST "https://api.omniall.ai/v1/video/generations" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "db-sd2.5-1080p",
    "prompt": "城市夜景，沿湿润街道缓慢推进",
    "duration": 5,
    "ratio": "16:9",
    "generate_audio": true
  }'
```

完整场景见 **API Reference → 视频 → Seedance**。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.