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

> ## Agent Instructions
> Public hosts only: console https://omnimux.ai/dashboard · API https://api.omnimux.ai · docs https://docs.omnimux.ai.
> Gateway auth is Authorization: Bearer sk-… on https://api.omnimux.ai/v1 (OpenAI-compatible Chat Completions and related paths).
> Discover pages from /llms.txt; full site dump /llms-full.txt; product skill /skill.md; docs search MCP /mcp. Prefer .md page URLs for Markdown.
> Default docs locale is en; zh mirrors the same relative paths. Do not invent model ids not present on live pricing or the complete API pages.

# Seedance 2.5 Flash Video Generation

> Seedance 2.5 Flash fast multimodal video generation (model `seedance-2-5-flash`, 480p and 720p)

* Create: `POST /v1/video/generations` with `model` set to `seedance-2-5-flash`
* Async: poll [Video task](https://docs.omnimux.ai/en/api-reference/tasks/video-task.md) with the returned `task_id`
* Supports 480p and 720p output, 4–30s durations (`-1` auto-duration on `default`), synchronized audio, and multimodal references (image, video, audio)
* Groups: tokens using `auto` route automatically by `resolution` to `seedance-2-5-flash-480p` or `seedance-2-5-flash-720p` economy tiers; select `default` for `video_edit`, `video_extend`, or `-1` auto-duration
* Persist result URLs promptly (upstream links may expire)

## Identity

| Field | Value |
| - | - |
| Series | Video series |
| Brand | Seedance |
| model | `seedance-2-5-flash` |

## Supported Modes

| Mode (`operation`) | Description |
| - | - |
| `text_to_video` | Text-to-video |
| `first_frame` | First-frame image-to-video |
| `first_last_frame` | First and last frame interpolation |
| `video_multi_ref` | Multimodal reference-to-video (up to 10 images, 5 videos, 5 audios) |
| `video_edit` | Video editing (`default` group only) |
| `video_extend` | Video extension (`default` group only) |

## Endpoint

| Method | Path |
| - | - |
| `POST` | `/v1/video/generations` |
| `GET` | `/v1/video/generations/{task_id}` |

Base URL: `https://api.omnimux.ai`

## Authorizations

| Name | In | Type | Required | Description |
| - | - | - | - | - |
| `Authorization` | header | string | yes | `Bearer sk-...` (API key) |

## Body

| Field | Type | Required | Description |
| - | - | - | - |
| `model` | string | yes | Must be `seedance-2-5-flash` |
| `prompt` | string | yes | Video generation prompt |
| `duration` / `seconds` | integer | no | Output duration in seconds (integer 4–30; `-1` auto-duration on `default`) |
| `resolution` | string | no | Resolution: `480p` or `720p` (default `720p`) |
| `aspect_ratio` / `size` | string | no | Aspect ratio: `16:9`, `4:3`, `1:1`, `3:4`, `9:16`, `21:9`, or `adaptive` |
| `generate_audio` | boolean | no | Generate synchronized audio, default `true` |
| `image_urls` | array | no | Reference image HTTPS URLs (up to 10) |
| `video_urls` | array | no | Reference video HTTPS URLs (up to 5) |
| `audio_urls` | array | no | Reference audio HTTPS URLs (up to 5) |

## Response

### 200 (create)

| Field | Type | Description |
| - | - | - |
| `task_id` | string | Task id for polling |
| `status` | string | e.g. `pending` / `processing` / `completed` |

See [Video task](https://docs.omnimux.ai/en/api-reference/tasks/video-task.md). Errors: right rail and [Error codes](https://docs.omnimux.ai/en/faqs/connection-usage.md).

```bash cURL theme={null}
curl --request POST \
  --url https://api.omnimux.ai/v1/video/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "seedance-2-5-flash",
  "prompt": "Slow pan across a handcrafted ceramic mug on a sunlit wooden table",
  "duration": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9"
}'
```

```json 200 theme={null}
{
  "task_id": "task_01HXYZABCDEF",
  "status": "queued"
}
```

```json 400 theme={null}
{ "error": { "message": "Invalid request", "type": "invalid_request_error", "code": "bad_request" } }
```

```json 401 theme={null}
{ "error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" } }
```

```json 402 theme={null}
{
  "error": {
    "message": "Insufficient quota. Please top up your account.",
    "type": "insufficient_quota",
    "code": "insufficient_quota"
  }
}
```

```json 403 theme={null}
{ "error": { "message": "Forbidden", "type": "permission_error", "code": "forbidden" } }
```

```json 429 theme={null}
{ "error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" } }
```

```json 500 theme={null}
{ "error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" } }
```


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