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

# Doubao Seedance 2.0 Mini

> Doubao Seedance 2.0 Mini: Generate video through the Doubao route. This example submits a text-only task; the result is available through the task query API.

Generate video through the Doubao route. This example submits a text-only task; the result is available through the task query API.

`POST /v1/video/generations`

## Quick Example

Set `MIXROUTE_API_KEY` before running the request.

```bash theme={null}
curl --request POST 'https://api.mixroute.ai/v1/video/generations' \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "doubao-seedance-2-0-mini-260615",
  "prompt": "A paper pinwheel turns slowly on a white table.",
  "asset": false,
  "metadata": {
    "content": [
      {
        "type": "text",
        "text": "A paper pinwheel turns slowly on a white table."
      }
    ],
    "duration": 4,
    "ratio": "16:9",
    "resolution": "480p",
    "generate_audio": false
  }
}'
```

Queries the task using its returned ID.

## Parameters and Limits

Keep `model`, `prompt`, and `asset` at the top level. Put Seedance inputs and generation settings inside `metadata`.

| Field | Description |
| - | - |
| `model` | `doubao-seedance-2-0-mini-260615`. Set the model ID exactly as shown. |
| `asset` | Set `asset` to `false` for this text-only request. If media is included, check the API reference for the required media inputs. |
| `metadata.duration` | Use 4–15 seconds or `-1` for automatic duration. |
| `metadata.resolution` | Choose `480p`, `720p` for this model. |

## API Reference

* [Doubao API](https://mixroute.ai/docs/api-reference/endpoint/doubao.md)
* [Query Video Task](https://mixroute.ai/docs/api-reference/endpoint/query-video-task.md)


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