Seedance 2.0 API

ByteDance flagship video generation model supporting text, image, and multimodal reference inputs

480p
APIMart $0.066 / second
Official≈$0.07036% less
720p
APIMart $0.142 / second
Official≈$0.15126% less
1080p
APIMart $0.3544 / second
Official≈$0.37425% less
4K
APIMart $0.722 / second
Official≈$0.77767% less

Compare prices

Compare public channel prices for the same output specification

Seedance API pricing
Output specificationProvidersPublished provider priceTypical timeTry it
480p
ByteDanceOfficial
Typical time 5.6 min
5.6 minTry it
FAL
Typical time 14.2 min
14.2 minTry it
WaveSpeedAI
$0.1200 / second≈71% more
Reference price only; not available through Yir
APIMart · Face exemption
$0.0992 / second≈41% more
Typical time 2.9 min
2.9 minTry it
KIE
$0.0950 / second≈35% more
Typical time 4.8 min
4.8 minTry it
Higgsfield App
≈$0.0900 / second≈28% more
Reference price only; not available through Yir
Higgsfield
$0.0804 / second≈14% more
Reference price only; not available through Yir
Replicate
$0.0800 / second≈14% more
Reference price only; not available through Yir
APIMart · Standard
$0.0660 / second≈6% less
Typical time 3.8 min
3.8 minTry it
720p
ByteDanceOfficial
Try it
FAL
Typical time 7 min
7 minTry it
WaveSpeedAI
$0.2400 / second≈59% more
Reference price only; not available through Yir
APIMart · Face exemption
$0.2136 / second≈41% more
Typical time 3.7 min
3.7 minTry it
KIE
$0.2050 / second≈36% more
Typical time 6.4 min
6.4 minTry it
Replicate
$0.1800 / second≈19% more
Reference price only; not available through Yir
Higgsfield
$0.1735 / second≈15% more
Reference price only; not available through Yir
APIMart · Standard
$0.1420 / second≈6% less
Typical time 4.5 min
4.5 minTry it
Higgsfield App
≈$0.1350 / second≈11% less
Reference price only; not available through Yir
1080p
ByteDanceOfficial
Try it
FAL
Try it
WaveSpeedAI
$0.6000 / second≈60% more
Reference price only; not available through Yir
KIE
$0.5100 / second≈36% more
Try it
Replicate
$0.4500 / second≈20% more
Reference price only; not available through Yir
Higgsfield
$0.4293 / second≈15% more
Reference price only; not available through Yir
Higgsfield App
≈$0.3600 / second
Reference price only; not available through Yir
APIMart
$0.3544 / second≈5% less
Typical time 5.3 min
5.3 minTry it
4K
ByteDanceOfficial
Reference price only; not available through Yir
FAL
Try it
KIE
$1.0400 / second≈34% more
Try it
Higgsfield
$0.8907 / second≈15% more
Reference price only; not available through Yir
APIMart
$0.7220 / second≈7% less
Try it

Automatic routing and failover

Call Seedance 2.0 with one model ID and Yir picks the channel for each job from ByteDance, APIMart, KIE, and FAL: it goes to the eligible channel with the lowest estimated price and is billed at that channel's public price, with no markup. If an attempt is confirmed failed, Yir retries on another channel within your max_cost. No routing parameters needed in your request. Routing and fallback docs

Pricing notes

Billed by the channel that actually runs the job. Failover may switch channels, which can change cost and time.

Channels with the face icon accept real-person reference images for image-to-video (face exemption). The official channel does not, which can explain price differences for the same spec.

Use the API

Hand the code to a coding agent, generate right in the chat with MCP or the Skill, or integrate yourself with the SDK or the OpenAI-compatible API.

Let a coding agent integrate it

Copy the integration prompt, or open it directly in Codex or Claude. The agent reads this page and the model contract, then writes submit, wait and result handling into your project.

Add the Yir MCP server

Connect it to ChatGPT, Claude or Cursor, then mention @Yir and ask for Seedance 2.0 by name. It quotes first and only generates after you confirm.

https://gateway.yir.ai/mcp
Setup steps for each client

One command for Claude Code

Create an API key in the console, set it as YIR_API_KEY, then run:

claude mcp add --transport http yir https://gateway.yir.ai/mcp --header "Authorization: Bearer $YIR_API_KEY"

Install the Yir Skill

Set YIR_API_KEY where your agent runs, add the Skill to Claude Code, Codex or another coding agent, then say “use Seedance 2.0 on Yir to make…”.

npx skills add yir-ai/skills
About the Yir Skill

Install the official SDK with your package manager, or copy the code snippet below to get started

$pnpm add @yir-ai/sdk
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.0",
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: "480p",
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);
}
}

Projects already on the OpenAI protocol, or gateways such as new-api, only need a new Base URL and key. OpenAI compatibility guide

OpenAI SDK base_url
https://gateway.yir.ai/openai/v1
new-api channel Base URL
https://gateway.yir.ai/openai
Key
Yir API key
Model ID
bytedance/seedance-2.0
curl https://gateway.yir.ai/openai/v1/videos \
  -H "Authorization: Bearer $YIR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedance-2.0",
    "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": "480p",
    "aspect_ratio": "16:9",
    "seconds": "4"
  }'

Parameter overview

Common parameters; limits depend on the current model and selected channel

API docs
Resolution
resolution
  • 480p
  • 720p
  • 1080p
  • 4K

Output resolution tier. Higher resolutions offer sharper pixel fidelity and scale pricing accordingly

Aspect ratio
aspect_ratio
  • 21:9
  • 16:9
  • 4:3
  • 1:1
  • 3:4
  • 9:16
  • adaptive

Geometric aspect ratio. Choose according to target medium (portrait, banner, or square)

Input mode
input_mode
  • Text input
  • Image input
  • Reference input

Reference limits and formats depend on the model and selected channel

Duration
duration
  • 4–15 seconds

Video output duration tier, billed per second or stepped tier

Audio
generate_audio
  • Optional

Optional synchronized native audio generation track

References
references
  • first_frame ≤ 1
  • last_frame ≤ 1
  • reference_image ≤ 9
  • reference_video ≤ 3
  • reference_audio ≤ 3

Reference limits across input modes depend on the selected channel. Counts in the price table are examples, not input limits or free allowances.

Frequently asked questions

Start building with Seedance 2.0

Compare the same spec across providers and call multiple providers from one wallet.