Seedance API

Seedance 2.5 API and playground

ByteDance’s Seedance 2.5 video model: clips of 4 to 30 seconds at 480p, 720p or 1080p with native sound, from a text prompt or a first frame. Generate them in the MegaBrain playground in your browser or through the API, without a ByteDance account, paid per second of video from a prepaid US-dollar balance.

Seedance 2.5 models and prices

Prices in US dollars from the MegaBrain catalogue; they update automatically. Each model’s page has examples, every parameter and a playground.

ModelPer second, no soundPer second, with sound5-second clip, no sound5-second clip, with sound
Seedance 2.5 — text to video
bytedance/seedance-2.5/text-to-video
$0.378$0.378$1.89$1.89
Seedance 2.5 — image to video
bytedance/seedance-2.5/image-to-video
$0.378$0.378$1.89$1.89

Sound at the same price

Seedance 2.5 generates the sound together with the picture, and a second with sound costs the same as a silent one. Turn it off with generate_audio for clips you will put your own music or voice-over on.

Resolution sets the price

The table shows 720p. A second at 480p costs less than half as much and a second at 1080p about two and a half times as much; set it with the resolution field.

From a first frame to a last one

Image to video takes the start frame in first_frame_url and an optional end frame in last_frame_url, so the clip ends where you want it.

Image to video: every model

What Seedance 2.5 is

ByteDance’s video model, its clip lengths, resolutions and sound, and how it compares on price.

What is Seedance 2.5?

First request

Generation runs through a queue: a POST request submits the job, then the script polls status_url and fetches the result from response_url. Create the key on the API key page after you sign up.

import os, time, requests

BASE = "https://getmegabrain.com/api/gateway/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['MEGABRAIN_API_KEY']}"}

job = requests.post(f"{BASE}/queue/bytedance/seedance-2.5/text-to-video", headers=HEADERS, json={
  "prompt": "a drone slowly flies over a snowy forest at sunrise",
  "duration": "5",
  "generate_audio": False
}).json()

while requests.get(job["status_url"], headers=HEADERS).json()["status"] not in ("COMPLETED", "FAILED"):
    time.sleep(2)

print(requests.get(job["response_url"], headers=HEADERS).json())

Questions and answers

Is there a Seedance API?

Yes. A POST request puts the job in the generation API’s queue, then you check its status and fetch the video link; there is a Python example below. Every parameter of the model is on its page and in the generation API docs.

Do I need a ByteDance account?

No. Sign up on MegaBrain and top up the balance by card: Seedance clips are paid from it per second of video, and nothing is charged for a generation that fails.

How long can a clip be?

From 4 to 30 seconds, set with the duration field. The price is the price per second times the length; the table works out a 5-second clip.

Can I use Seedance without code?

Yes. Every model page has a playground: set the prompt, length, resolution and first frame in a form, generate the clip in the browser and copy the ready API code from the same page.

Get your API key

Sign-up is open. Create an account, top up the balance by card and create a key: it works for every text, image, video and audio model in the catalogue. Credits never expire.

Questions? Write to team@getmegabrain.com