# Seedance 2.0 API on MLMux

> Multimodal video generation for text, keyframes, image, video, and audio references with stable subjects and natural motion.

- Model page: https://www.mlmux.com/bytedance/seedance-2.0
- API model ID: `bytedance/seedance-2.0`
- 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, 1080p, 4K
- 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.091 on `official`, $0.084 on `official-cheap` per second of video without a reference video
- 720p: about $0.189 on `official`, $0.174 on `official-cheap` per second of video without a reference video
- 1080p: about $0.47 on `official`, $0.432 on `official-cheap` per second of video without a reference video
- 4K: about $0.84 on `official`, $0.773 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",
  "route_mode": "official-cheap",
  "prompt": "A red fox in fresh snow at sunrise, cinematic light",
  "mode": "text_to_video",
  "ratio": "16:9",
  "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",
  "route_mode": "official-cheap",
  "prompt": "A red fox in fresh snow at sunrise, cinematic light",
  "mode": "text_to_video",
  "ratio": "16:9",
  "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?

Seedance 2.0 is a video generation model from ByteDance. On MLMux you can run it in the browser or call it through one API. Multimodal video generation for text, keyframes, image, video, and audio references with stable subjects and natural motion.

### How do I use the Seedance 2.0 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. The request returns a task: poll it, or receive a webhook when the video is ready.

### What can Seedance 2.0 do?

Generation modes: Text to video, Image to video, First & last frame, and Multimodal reference. Clips run 4 to 15 seconds at 480p, 720p, 1080p, or 4K, 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 can also generate audio together with the video.

### How much does Seedance 2.0 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 video without a reference video costs about $0.174 on the default official-cheap route and $0.189 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 without writing code?

Yes. Sign in and use the playground at the top of this page to run Seedance 2.0 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
