# Seedance 2.0 Mini API on MLMux

> Lightweight video generation for high-throughput, cost-sensitive workloads with text, keyframes, references, and synchronized audio.

- Model page: https://www.mlmux.com/bytedance/seedance-2.0-mini
- API model ID: `bytedance/seedance-2.0-mini`
- Provider: ByteDance
- Generation modes: Text to video, Image to video, First & last frame, Multimodal reference
- Endpoint: `POST https://api.mlmux.com/v1/videos/generations`
- Reference images: up to 9
- Resolutions: 480p, 720p
- Aspect ratios: 16:9, 21:9, 4:3, 1:1, 3:4, 9:16
- Duration: 4 to 15 seconds
- Audio: can generate audio together with the video

## Pricing

Pay as you go in credits; 1 credit = 1 US dollar, with no subscription. `official-cheap` is the default route.

- 480p: about $0.045 on `official`, $0.042 on `official-cheap` per second of video without a reference video
- 720p: about $0.095 on `official`, $0.087 on `official-cheap` per second of video without a reference video

## Request

Send your API key as `Authorization: Bearer $MLMUX_API_KEY`. Create keys at https://www.mlmux.com/console/api-keys.

```bash
curl https://api.mlmux.com/v1/videos/generations \
  -H "Authorization: Bearer $MLMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedance-2.0-mini",
  "route_mode": "official-cheap",
  "prompt": "A red fox in fresh snow at sunrise, cinematic light",
  "mode": "text_to_video",
  "ratio": "adaptive",
  "resolution": "720p",
  "duration": 5,
  "generate_audio": true
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.mlmux.com/v1/videos/generations",
    headers={"Authorization": f"Bearer {os.environ['MLMUX_API_KEY']}"},
    json={
  "model": "bytedance/seedance-2.0-mini",
  "route_mode": "official-cheap",
  "prompt": "A red fox in fresh snow at sunrise, cinematic light",
  "mode": "text_to_video",
  "ratio": "adaptive",
  "resolution": "720p",
  "duration": 5,
  "generate_audio": True
},
    timeout=300,
)
response.raise_for_status()
print(response.json())
```

The response is a task. Poll its `poll_url` every few seconds until `status` is `succeeded`, then read the video URL, or receive a webhook when it finishes.

## Frequently asked questions

### What is Seedance 2.0 Mini?

Seedance 2.0 Mini is a video generation model from ByteDance. On MLMux you can run it in the browser or call it through one API. Lightweight video generation for high-throughput, cost-sensitive workloads with text, keyframes, references, and synchronized audio.

### How do I use the Seedance 2.0 Mini API?

Create an API key in the MLMux Console, then send a POST request to https://api.mlmux.com/v1/videos/generations with the key in the Authorization header and model set to bytedance/seedance-2.0-mini. The request returns a task: poll it, or receive a webhook when the video is ready.

### What can Seedance 2.0 Mini do?

Generation modes: Text to video, Image to video, First & last frame, and Multimodal reference. Clips run 4 to 15 seconds at 480p or 720p, in aspect ratios such as 16:9, 21:9, 4:3, 1:1, 3:4, and 9:16, with up to 9 reference images. Seedance 2.0 Mini can also generate audio together with the video.

### How much does Seedance 2.0 Mini cost?

MLMux is pay as you go, with no subscription or monthly fee, and 1 credit equals 1 US dollar. One second of 720p Seedance 2.0 Mini video without a reference video costs about $0.087 on the default official-cheap route and $0.095 on the official route, billed on the output tokens each task actually uses. Rates for every resolution are listed in the pricing section of this page.

### Can I try Seedance 2.0 Mini without writing code?

Yes. Sign in and use the playground at the top of this page to run Seedance 2.0 Mini with the same settings as the API. The API tab shows the matching request in Node.js, Python, and HTTP.

## More

- Video API guide: https://www.mlmux.com/docs/videos
- Pricing for every model: https://www.mlmux.com/pricing
- All models: https://www.mlmux.com/llms.txt
