# Seedance 2.0 (`seedance_2_preview`)

> ByteDance Seedance 2. High-quality video from text, images, or video editing. Supports 5, 10, or 15 second duration.

- Capability: Video (tool `video`) — Text to video, Image to video
- Price: from $0.50 per run (1 credit = $0.01). Exact price for a request: POST https://api.varg.ai/v2/estimate
- Typical time: ~5 min
- JSON Schema: https://api.varg.ai/v2/tools/video?model=seedance_2_preview (public, no key)
- Try it: https://varg.ai/dashboard/tools/playground?model=seedance_2_preview

## Call it

REST: `POST https://api.varg.ai/v2/tools/video/call` with `Authorization: Bearer $VARG_API_KEY` (create a key at https://varg.ai/dashboard/api).
It answers `202` with a job right away. Poll `GET /v2/jobs/{id}` until `status` is `completed`, then read `output.outputs[0].url` — or pass `options.webhook_url` and get the finished job POSTed to you.

```bash
curl -X POST https://api.varg.ai/v2/tools/video/call \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "seedance_2_preview",
  "prompt": "aerial shot of a futuristic city at sunset, flying cars, neon lights",
  "aspect_ratio": "16:9",
  "duration": 10
}'
```

MCP: the varg server `https://mcp.varg.ai/mcp` (OAuth sign-in, no key) runs it with `call_tool`:

```json
{
  "tool": "video",
  "input": {
    "model": "seedance_2_preview",
    "prompt": "aerial shot of a futuristic city at sunset, flying cars, neon lights",
    "aspect_ratio": "16:9",
    "duration": 10
  },
  "wait": true
}
```

## Inputs

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `model` | string | yes | — | `seedance_2_preview` or a route key below | Which model runs the job. |
| `prompt` | string | no | — | — | — |
| `files` | array of { url } | no | — | — | — |
| `aspect_ratio` | string | no | — | e.g. 16:9 \| 9:16 \| 1:1 \| 4:3 \| 3:4 \| 21:9 \| auto | — |
| `resolution` | string | no | — | 480p \| 720p \| 1080p \| 4k | Quality tier. Not supported by this model — ignored if sent. |
| `audio` | boolean | no | — | — | Native audio track request. Not supported by this model — ignored if sent. |
| `duration` | integer | no | — | 5–15 | Length in seconds. Supported by this model's routes: piapi: integer 5-15. A non-numeric value such as "auto" is routed to a route whose schema accepts it; when none does, the request is rejected. |

Media inputs are URLs. Upload a local file first with `POST /v2/files` and pass the returned URL.

## Provider options

Optional, per provider, under `provider_options.<provider>`. Only the options of the provider that runs the job apply — pin a route to choose it.

### provider_options.piapi

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `input.prompt` | string | no | — | — | — |
| `input.duration` | integer | no | — | 5–15 | — |
| `input.image_urls` | array of URL strings | no | — | — | — |
| `input.video_urls` | array of URL strings | no | — | — | — |
| `input.aspect_ratio` | string | no | — | 16:9 \| 9:16 \| 1:1 \| 4:3 \| 3:4 | — |
| `task_type` | string | no | — | — | — |

## Routes

`"model": "seedance_2_preview"` picks a route automatically (priority order, then the inputs you send). To pin one, pass its key as `model`.

| model key | provider | modality | price from | typical time |
|---|---|---|---|---|
| `piapi:seedance_2_preview` | piapi | text-to-video, image-to-video | $0.50 | ~5 min |

## Example output

- video/mp4: https://s3.varg.ai/files/667690f1-5d8e-48e0-95ed-4ece08ad7202/file_424d4047de9d.mp4

---

Catalog version 2026-11-11T12:59:09.901887+00:00. All models: https://varg.ai/models/llms.txt
