# ByteDance Seedance 2.5 Flash Reference to Video API

> ByteDance's Seedance 2.5 Flash reference-to-video model, a faster and lower-cost tier of Seedance 2.5 that generates up to 30 seconds of 480p or 720p video from reference images, videos, and audio, and can edit or extend a reference clip.

Source: https://www.sandbase.ai/models/bytedance/seedance/2.5/flash/reference-to-video
API reference: https://www.sandbase.ai/models/bytedance/seedance/2.5/flash/reference-to-video#api

## Facts

- Provider: ByteDance
- Type: Video model
- Model ID: `bytedance/seedance/2.5/flash/reference-to-video`
- Price: From $1.20 per run
- Capabilities: reference to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedance/2.5/flash/reference-to-video",
  "images": [
    "https://static.sandbase.ai/examples/bytedance/seedance/2.0/reference-to-video/input_image_safe_ocean_0.jpg"
  ],
  "prompt": "Use Image1 as the visual reference and Video1 as the motion reference. Create a peaceful cinematic shoreline scene with rolling ocean waves at golden hour, soft foam, natural water movement, and no people.",
  "videos": [
    "https://static.sandbase.ai/examples/pixverse/sound-effects/input_video_0.mp4"
  ],
  "duration": 5,
  "resolution": "720p",
  "generate_audio": true
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call ByteDance Seedance 2.5 Flash Reference to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "bytedance/seedance/2.5/flash/reference-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate ByteDance account?

No. One SandBase API key and balance gives you access to ByteDance Seedance 2.5 Flash Reference to Video and the other models in the catalog; you do not need to sign up with ByteDance separately.

## README

### Seedance 2.5 Flash Reference to Video

Seedance 2.5 Flash reference-to-video is the faster, lower-cost tier of Seedance 2.5: combine up to 10 reference images, 5 reference videos, and 5 reference audio clips to lock a character, set, motion, or voice in a new 480p or 720p clip.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 50,000 characters. |
| `images` | image URL[] (≤10) | — | Reference images, Image 1, Image 2, … |
| `videos` | video URL[] (≤5) | — | Reference clips, Video 1, Video 2, … Combined length up to 30 seconds. |
| `audios` | audio URL[] (≤5) | — | Reference audio, Audio 1, Audio 2, … Combined length up to 30 seconds. |
| `task_type` | `auto` / `reference` / `edit` / `extend` | `auto` | Reference sub-task; see below. |
| `duration` | `auto` / 4–30 | 5 | Output length in seconds (4–30), or `auto` to let the model choose. |
| `aspect_ratio` | `16:9` / `9:16` / `1:1` / `4:3` / `3:4` / `21:9` / `adaptive` | — | Output frame shape. Omit to let the model choose. |
| `resolution` | `480p` / `720p` | `720p` | Sets the per-second rate. |
| `generate_audio` | boolean | true | Native dialogue, music, and effects. Same price on or off. |
| `seed` | integer -1–4294967295 | random | Fix it to compare prompt changes; `-1` is random. |

#### Billing

Without reference videos you pay for output seconds: $0.12 at 480p, $0.24 at 720p. With reference videos, the input video seconds (at least 2) are added to the output length and billed at a lower rate: $0.075 at 480p, $0.15 at 720p. With `duration: "auto"` the quote assumes 30 seconds and the final charge uses the generated length.

| Output | 480p | 720p |
|---|---|---|
| 5s, images only | $0.60 | $1.20 |
| 10s, images only | $1.20 | $2.40 |
| 5s + 5s reference video | $0.75 | $1.50 |
| 10s + 10s reference video | $1.50 | $3.00 |

Failed runs are not charged.

#### Prompting

- Give each reference a role: “Image 1 is the dancer, Video 1 sets the choreography, Audio 1 is the music”.
- Numbering follows array order within each type.

#### Limits

- Up to 10 images, 5 videos, and 5 audio clips per request.
- Reference video seconds count toward billing (minimum 2, up to 30).
- Output is 480p or 720p. For 1080p, draft mode, or more references, use `bytedance/seedance/2.5/reference-to-video`.

#### Task types

`task_type` selects the reference sub-task: `reference` (new video guided by the references), `edit` (edit a reference video), `extend` (extend a reference video forward or backward), or `auto` (default, inferred from the prompt). `edit` and `extend` need at least one video and use the source clip's aspect ratio; `edit` also follows the source clip's length and is billed on the actual output length. If the prompt contradicts an explicit `task_type`, the task fails.

```json
{"prompt": "Replace the man in @Video1 with the character in @Image1.", "images": ["https://example.com/character.png"], "videos": ["https://example.com/source.mp4"], "task_type": "edit"}
```

#### Also on SandBase

Other Seedance 2.5 endpoints and tiers: `bytedance/seedance/2.5/flash/text-to-video`, `bytedance/seedance/2.5/flash/image-to-video`, `bytedance/seedance/2.5/reference-to-video`, `bytedance/seedance/2.0/fast/reference-to-video`.
