Generate video with audio using Doubao seedance model
POST /v1/video/generations
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model ID, e.g., doubao-seedance-1-5-pro-251215 |
| content | array | Yes | Array of content objects (text and images) |
| generate_audio | boolean | No | Whether to generate audio. Default: false |
| ratio | string | No | Video aspect ratio, e.g., 16:9, 9:16, 1:1 |
| duration | integer | No | Video duration in seconds. Default: 5 |
| watermark | boolean | No | Whether to add watermark. Default: true |
| resolution | string | No | Video resolution, e.g., 480p, 720p, 1080p |
| draft | boolean | No | Whether to generate a draft (lower quality, faster). Default: false |
| Field | Type | Description |
|---|---|---|
| type | string | Content type: text or image_url |
| text | string | Text description (when type is text) |
| image_url | object | Image URL object with url field (when type is image_url) |
| Field | Type | Description |
|---|---|---|
| id | string | Task ID for querying status |
| status | string | Task status |
| created_at | string | Creation timestamp |