# Seedance 2.5

> ByteDance next-gen video model supporting up to 30s duration and multimodal references

- Model page: https://yir.ai/models/seedance-2-5
- Model ID: `bytedance/seedance-2.5`
- Billing: by the channel that ran the job; attempts the upstream did not bill are free.

## Pricing

Current public prices by channel for the same output specification; official prices are a reference. You are billed by the channel that actually runs the job, which may change on failover.

| Output specification | Channel | Public price |
|---|---|---|
| 480p | ByteDance (official) | Est. output $0.1028 / second |
| 480p | APIMart (Image input) | Est. output $0.0961 / second |
| 480p | APIMart (Text input / Reference media) | $0.0961 / second |
| 480p | NanoAPI | $0.117 / second |
| 480p | KIE | $0.14 / second |
| 480p | FAL | Est. output $0.2056 / second |
| 720p | ByteDance (official) | Est. output $0.2311 / second |
| 720p | APIMart (Text input / Reference media) | $0.216 / second |
| 720p | APIMart (Image input) | Est. output $0.216 / second |
| 720p | NanoAPI | $0.273 / second |
| 720p | KIE | $0.315 / second |
| 720p | FAL | Est. output $0.4622 / second |
| 1080p · no audio | ByteDance (official) | Est. output $0.5686 / second |
| 1080p · no audio | APIMart (Text input / Reference media) | $0.5346 / second |
| 1080p · no audio | APIMart (Image input) | Est. output $0.5346 / second |
| 1080p · no audio | NanoAPI | $0.624 / second |
| 1080p · no audio | KIE | $0.79 / second |
| 1080p · no audio | FAL | Est. output $1.1372 / second |
| 4K · no audio | ByteDance (official) | Est. output $0.9137 / second |
| 4K · no audio | APIMart (Text input / Reference media) | $0.8609 / second |
| 4K · no audio | APIMart (Image input) | Est. output $0.8609 / second |
| 4K · no audio | KIE | $1.255 / second |

## Parameters

- Operation: `generate_video`

| Parameter | Values | Default |
|---|---|---|
| `input` | text / image / reference | text |
| `resolution` | 480p / 720p / 1080p / 4K | 720p |
| `aspect_ratio` | auto / 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 | 16:9 |
| `duration` | 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 / 20 / 21 / 22 / 23 / 24 / 25 / 26 / 27 / 28 / 29 / 30 | 4 |
| `generate_audio` | true / false | false |

## Integration

Pick either: the official SDK for new code, or swap the Base URL in projects already using the OpenAI protocol.

### Official SDK (TypeScript)

The SDK calls the Standard API (https://gateway.yir.ai) to submit, wait for and collect jobs; a Go SDK is also available. https://yir.ai/docs/integrations/sdk

```bash
pnpm add @yir-ai/sdk
```

```ts
import { createNodeYirClient } from "@yir-ai/sdk/server";

// Reads YIR_API_KEY from the environment by default: process.env.YIR_API_KEY
const client = createNodeYirClient();

// 1. Submit a video generation job
const job = await client.submitVideo({
  model: "bytedance/seedance-2.5",
  input: {
    type: "text",
    prompt: "A sea turtle swims slowly over a coral reef. The camera tracks smoothly from the side as sunlight filters through clear water, casting moving patterns across its shell",
  },
  parameters: {
    duration: 4,
    resolution: "720p",
    aspect_ratio: "16:9",
    generate_audio: false,
    n: 1,
  },
});

// 2. Wait for the job to finish and deliver its result
const result = await client.waitForJob(job.id);
console.log("Delivered files:", result.result);
if (result.result && "files" in result.result) {
  for (const file of result.result.files) {
    console.log("->", file.url);
  }
}
```

### OpenAI-compatible API

OpenAI Images and Sora Videos protocols for OpenAI SDKs and gateways such as new-api; no chat. https://yir.ai/docs/integrations/openai-compatibility

- OpenAI SDK base_url: `https://gateway.yir.ai/openai/v1`
- new-api channel Base URL (channel type OpenAI): `https://gateway.yir.ai/openai`
- Model ID: `bytedance/seedance-2.5`

```bash
curl https://gateway.yir.ai/openai/v1/videos \
  -H "Authorization: Bearer $YIR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedance-2.5",
    "prompt": "A sea turtle swims slowly over a coral reef. The camera tracks smoothly from the side as sunlight filters through clear water, casting moving patterns across its shell",
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "seconds": "4"
  }'
```

## FAQ

### Does Seedance 2.5 have an official API?

Yes. ByteDance sells Seedance 2.5 through its own official API, and its list price is shown as the official reference in the table above. Through Yir you call Seedance 2.5 with one API key and compare it with every provider's public price.

### Is there a faster, cheaper alternative to Seedance 2.5?

For price, look at MAGI-2: on the Artificial Analysis image-to-video board the two are within the margin of error (1164 vs 1160, November 2026), and MAGI-2 costs far less at 1080p, with 30-second clips and up to 20 references. Each clip takes over ten minutes. For speed, look at FLUX 3 Max: fal measures about 12 seconds for a 10-second clip against about 278 for Seedance 2.5, but it stops at 20 seconds and takes only a first or last frame. Stay on Seedance 2.5 for 480p, 720p or 4K output, or more references.

## Rules

- Authenticate with Authorization: Bearer $YIR_API_KEY; keep the key in a server environment variable, never in browser code, source control, prompts or logs.
- Jobs are asynchronous: keep the Job ID, wait for a terminal state, then read the result; handle failure and cancellation.
- For safe retries, reuse the same idempotency key and request; do not blindly resubmit when the result is unknown.
- Result URLs are temporary; copy files elsewhere if you need to keep them.

## Links

- [Quickstart](https://yir.ai/docs/getting-started/quickstart)
- [API reference](https://yir.ai/docs/reference)
- [llms.txt](https://yir.ai/llms.txt)
