# Seedance 2.5 Flash

> Run Seedance 2.5 Flash by bytedance online or via API. With visual input - 720p: $0.0929/s, 480p: $0.0413/s. Text-only - 720p: $0.1512/s, 480p: $0.0673/s. duration -1 matches a ref video, billing approx 2x/ref-sec., no setup.

**URL:** https://inference.sh/apps/bytedance/seedance-2-5-flash
**Last updated:** 2026-11-28

---

Seedance 2.5 Flash video from text, images, video and audio references via BytePlus ARK, with near-flagship quality at 2x speed and lower cost. 480p and 720p, up to 30s, with synchronized audio.

- app: `bytedance/seedance-2-5-flash`
- maker: [bytedance](https://inference.sh/apps/bytedance.md)
- category: [video](https://inference.sh/apps/category/video.md)
- input → output: text → video, image → video, reference → video
- tasks: [text to video](https://inference.sh/apps/tag/text-to-video.md), [image to video](https://inference.sh/apps/tag/image-to-video.md), [reference to video](https://inference.sh/apps/tag/reference-to-video.md), [native audio](https://inference.sh/apps/tag/native-audio.md)
- price: With visual input - 720p: $0.0929/s, 480p: $0.0413/s. Text-only - 720p: $0.1512/s, 480p: $0.0673/s. duration -1 matches a ref video, billing approx 2x/ref-sec.
- runs via: api, javascript and python sdk, belt cli, mcp

## seedance-2-5-flash API Guide

### About
seedance 2.5 flash video from text, images, video and audio references via byteplus ark, with near-flagship quality at 2x speed and lower cost. 480p and 720p, up to 30s, with synchronized audio.

### Get an API Key
Create one in [settings → api keys](https://app.inference.sh/settings/keys). The examples read it from `INFERENCE_API_KEY`.

```bash
export INFERENCE_API_KEY="inf_your_key"
```

### 1. Calling the API

#### Install the Client

```bash
pip install inferencesh
```

#### Run and Get Result
Submit a request and wait for the final result.

```python
import os
from inferencesh import inference

client = inference(api_key=os.environ["INFERENCE_API_KEY"])

## version @6d83wamx pinned
result = client.run({
        "app": "bytedance/seedance-2-5-flash@6d83wamx",
        "input": {
            "prompt": "@Image1 is the character reference. @Video1 provides the motion. A marble statue stands in a sunlit hall, camera slowly orbiting."
        }
    })

print(result["output"])
```

#### Stream Live Updates
Get real-time progress updates as the task runs.

```python
import os
from inferencesh import inference

client = inference(api_key=os.environ["INFERENCE_API_KEY"])

## version @6d83wamx pinned
## stream=True yields updates as they arrive
for update in client.run({
        "app": "bytedance/seedance-2-5-flash@6d83wamx",
        "input": {
            "prompt": "@Image1 is the character reference. @Video1 provides the motion. A marble statue stands in a sunlit hall, camera slowly orbiting."
        }
    }, stream=True):
    if update.get("progress"):
        print(f"progress: {update['progress']}%")
    if update.get("output"):
        print(f"output: {update['output']}")
```

#### Run in the Background
Start the task and get its id back right away, then check on it with `GET /tasks/{id}`. It is done when `status` is 10 (completed), 11 (failed) or 12 (cancelled).

```python
import os
from inferencesh import inference, TaskStatus

client = inference(api_key=os.environ["INFERENCE_API_KEY"])

## returns as soon as the task is created
task = client.run({
        "app": "bytedance/seedance-2-5-flash@6d83wamx",
        "input": {
            "prompt": "@Image1 is the character reference. @Video1 provides the motion. A marble statue stands in a sunlit hall, camera slowly orbiting."
        }
    }, wait=False)

## later: read its current state
state = client.tasks.get(task["id"]).data
if state["status"] == TaskStatus.COMPLETED:
    print(state["output"])
```

### 2. Files

#### Automatic Upload

```python
## local file paths are automatically uploaded
result = client.run({
    "app": "bytedance/seedance-2-5-flash@6d83wamx",
    "input": {
        "image": "/path/to/local/image.png",  # detected & uploaded
        "audio": "https://example.com/audio.mp3",  # url passed through
    }
})
```

#### Manual Upload

```python
## upload and get a hosted URL
file = client.files.upload("/path/to/file.png")
print(file.uri)  # https://cloud.inference.sh/...
```

### 3. Schema

#### Input
- **prompt** (string): Text prompt describing the video content. Use @Image1, @Image2, @Video1, @Video2, @Audio1 to reference inputs in order (e.g. '@Image1 is the style reference, @Video1 provides the motion'). For video editing, use editing verbs ('Edit @Video1 to remove...'). Supports English, Spanish, Indonesian, Portuguese, Japanese, Malay, Thai, Arabic, Vietnamese, and Korean.
- **image** (string): First-frame image for image-to-video generation. Ratio must be 'adaptive'. Mutually exclusive with reference inputs.
- **end_image** (string): Last-frame image for first+last frame video generation. Requires image to be set as the first frame. Ratio must be 'adaptive'.
- **reference_images** (array): Reference images for multimodal generation (up to 10). Use prompt to describe how to use each, e.g. 'Image 1', 'Image 2'. Mutually exclusive with image/end_image.
- **reference_videos** (array): Reference videos for multimodal generation (up to 5). Each 2-30s, total max 30s. Formats: mp4/mov (MOV recommended for best quality). Mutually exclusive with image/end_image.
- **reference_audios** (array): Reference audios for multimodal generation (up to 5). Each 2-30s, total max 30s. Formats: wav/mp3. Audio-only input is supported.
- **resolution** (string): Video resolution. 720p for balanced, 480p for fastest.
- **ratio** (string): Aspect ratio. Must be 'adaptive' for image-to-video, first+last frame, video editing, and video extension tasks. 'adaptive' auto-selects based on input content.
- **duration** (integer): Duration in seconds (4-30), or -1 for auto-select. Must be -1 for Video Editing tasks.
- **output_format** (string): Output video format. MOV provides higher color precision (YUV 4:4:4); recommended for professional workflows and when using video references.
- **generate_audio** (boolean): Whether to generate synchronized audio with the video.
- **seed** (integer): Seed for reproducibility (-1 for random).
- **watermark** (boolean): Whether to add watermark to the output video.
- **task_type** (string): Guide the generation task type. 'auto' lets the API detect from prompt content. Set explicitly to avoid misdetection errors — e.g. when the API wrongly classifies a reference task as video editing and rejects duration/ratio settings.
- **safety_identifier** (string): Unique identifier of end user for platform safety policy. Must be fixed and unique per user, max 64 chars. Recommended: hash of username, user ID, or email.

#### Output
- **video** (string): The generated video file.

## other video apps

- [Seedance 2.5 Flash Studio](https://inference.sh/apps/bytedance/seedance-2-5-flash-studio.md): With visual input - 720p: $0.0929/s, 480p: $0.0413/s. Text-only - 720p: $0.1512/s, 480p: $0.0673/s. duration -1 matches a ref video, billing approx 2x/ref-sec.
- [Kling Video V4 Flash](https://inference.sh/apps/klingai/video-v4-flash.md): $0.094/s at 720p
- [Kling Video V4](https://inference.sh/apps/klingai/video-v4.md): $0.157/s at 720p, $0.235/s at 1080p
- [Pika H3 Flex (self-hosted)](https://inference.sh/apps/pika/pika-h3-flex-oss.md): GPU time, billed per millisecond
- [Pika H3 Flex Upscale](https://inference.sh/apps/pika/pika-h3-flex-upscale.md): $0.05-$0.14/sec (480p src), $0.03-$0.12/sec (768p src); 1080p/2K/4K targets

## faq

### how much does Seedance 2.5 Flash cost?

With visual input - 720p: $0.0929/s, 480p: $0.0413/s. Text-only - 720p: $0.1512/s, 480p: $0.0673/s. duration -1 matches a ref video, billing approx 2x/ref-sec.. you pay per run from your inference shell credits. no subscription is required.

### how do I run Seedance 2.5 Flash via api?

call bytedance/seedance-2-5-flash with the javascript or python sdk, the rest api, or `belt app run bytedance/seedance-2-5-flash` from a terminal. the api reference on this page lists every input.

### who makes Seedance 2.5 Flash?

Seedance 2.5 Flash is made by bytedance and runs on inference shell. every bytedance app is listed at https://inference.sh/apps/bytedance.

### can my agent use Seedance 2.5 Flash?

yes. agents call it as a tool through the inference shell mcp server (https://api.inference.sh/mcp), the belt cli or the sdk, and pay per run like you do.

### what are the alternatives to Seedance 2.5 Flash?

other video apps on inference shell include Seedance 2.5 Flash Studio, Kling Video V4 Flash, Kling Video V4, Pika H3 Flex (self-hosted). they run through the same api, so switching is a one-line change.
