Seedance 2.0 Mini API documentation
Everything you need to call Seedance 2.0 Mini from your code. Base URL https://cheapergen.com/api/v1. Try it first in the playground.
Using a coding agent?
Paste this into Claude Code, Cursor, Codex or any coding agent. It adds the API to your project, keeps the key in CHEAPERGEN_API_KEY and tests with a free quote before anything is spent.
Add Seedance 2.0 Mini (CheaperGen endpoint bytedance/ seedance-2.0-mini/ text-to-video) to this project by following https:/ / cheapergen.com/ agents/ integrate.mdAuthentication
Create a key in Dashboard → API keys and send it as a bearer token. Keep keys server-side.
export CHEAPERGEN_API_KEY="cg_live_…"
# every request
Authorization: Bearer $CHEAPERGEN_API_KEYSeedance 2.0 Mini Text to Video API
/api/v1/run/bytedance/seedance-2.0-mini/text-to-videoSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
aspect_ratio | string (enum) | Output frame shape. Values: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 Default: 16:9 | Yes |
resolution | string (enum) | Output resolution. Higher resolutions cost more per second. Values: 480p · 720p Default: 720p | Yes |
duration | integer | Length of the generated clip in seconds (4–15s). You pay per second. Range: 4–15s Default: 5 | Yes |
generate_audio | boolean | Generate synchronized sound, ambience and dialogue. No extra cost. Default: true | No |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/bytedance/seedance-2.0-mini/text-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "A slow dolly-in on a ceramicist shaping a vase at golden hour, dust in the light, shallow depth of field",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.video.url : job.error);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "bytedance/seedance-2.0-mini",
"endpoint": "bytedance/seedance-2.0-mini/text-to-video",
"mode": "text-to-video",
"status": "queued",
"input": {
"prompt": "A slow dolly-in on a ceramicist shaping a vase at golden hour, dust in the light, shallow depth of field",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Seedance 2.0 Mini Image to Video API
/api/v1/run/bytedance/seedance-2.0-mini/image-to-videoSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
image_urlrequired | string (URL) | Image used as the opening frame. JPG/PNG/WebP, URL or upload. | No |
end_image_url | string (URL) | Optional closing frame — the model animates between the two. | No |
resolution | string (enum) | Output resolution. Higher resolutions cost more per second. Values: 480p · 720p Default: 720p | Yes |
duration | integer | Length of the generated clip in seconds (4–15s). You pay per second. Range: 4–15s Default: 5 | Yes |
generate_audio | boolean | Generate synchronized sound, ambience and dialogue. No extra cost. Default: true | No |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/bytedance/seedance-2.0-mini/image-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "The camera pushes in as she turns and smiles; hair moves in the wind",
"image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
"resolution": "720p",
"duration": 5
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.video.url : job.error);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "bytedance/seedance-2.0-mini",
"endpoint": "bytedance/seedance-2.0-mini/image-to-video",
"mode": "image-to-video",
"status": "queued",
"input": {
"prompt": "The camera pushes in as she turns and smiles; hair moves in the wind",
"image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
"resolution": "720p",
"duration": 5
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Seedance 2.0 Mini Reference to Video API
/api/v1/run/bytedance/seedance-2.0-mini/reference-to-videoSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
reference_image_urls | string[] (URLs) | Up to 9 images for characters, products, style or scene. Refer to them in the prompt as @Image1, @Image2… Max items: 9 | No |
reference_video_urls | string[] (video URLs) | Up to 3 MP4/MOV clips for motion, camera moves or effects (2–15 s each, 15 s in total, ≤ 50 MB in total). Refer to them as @Video1, @Video2… Reference-video seconds are billed together with the output, at the lower with-video token rate. If the reference videos add up to less than ⅔ of the output's length rounded up to a whole second (4 s for a 5 s output, 7 s for 10 s, 10 s for 15 s), they are billed as that many seconds (ByteDance's official rule). Max items: 3 | Yes |
reference_audio_urls | string[] (audio URLs) | Up to 3 MP3/WAV clips for voice, music or sound (2–15 s each, 15 s in total, ≤ 15 MB each). Refer to them as @Audio1, @Audio2… Needs at least one reference image or video. Max items: 3 | No |
aspect_ratio | string (enum) | Output frame shape. Values: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 Default: 16:9 | Yes |
resolution | string (enum) | Output resolution. Higher resolutions cost more per second. Values: 480p · 720p Default: 720p | Yes |
duration | integer | Length of the generated clip in seconds (4–15s). You pay per second. Range: 4–15s Default: 5 | Yes |
generate_audio | boolean | Generate synchronized sound, ambience and dialogue. No extra cost. Default: true | No |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/bytedance/seedance-2.0-mini/reference-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "@Image1 unboxes the product from @Image2 on a marble desk, copying the camera move of @Video1",
"reference_image_urls": [
"https://cdn.cheapergen.com/samples/reference-1.jpg",
"https://cdn.cheapergen.com/samples/reference-2.jpg"
],
"reference_video_urls": [
"https://cdn.cheapergen.com/samples/reference-1.mp4"
],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.video.url : job.error);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "bytedance/seedance-2.0-mini",
"endpoint": "bytedance/seedance-2.0-mini/reference-to-video",
"mode": "reference-to-video",
"status": "queued",
"input": {
"prompt": "@Image1 unboxes the product from @Image2 on a marble desk, copying the camera move of @Video1",
"reference_image_urls": [
"https://cdn.cheapergen.com/samples/reference-1.jpg",
"https://cdn.cheapergen.com/samples/reference-2.jpg"
],
"reference_video_urls": [
"https://cdn.cheapergen.com/samples/reference-1.mp4"
],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Get the result
Generations are asynchronous. Poll until status is succeeded, failed or canceled — or pass webhook_url when you submit. Failed generations are refunded automatically.
curl https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4 \
-H "Authorization: Bearer $CHEAPERGEN_API_KEY"{
"status": "succeeded",
"output": {
"video": {
"url": "https://cdn.cheapergen.com/outputs/gen_8c2Q.mp4",
"content_type": "video/mp4"
}
}
}More: job lifecycle · webhooks · errors
Seedance 2.0 Mini pricing
Pay per second of video as you go, with no subscription required. Failed generations are refunded automatically.
| Tier | Official price | CheaperGen | You save |
|---|---|---|---|
480p 16:9 · 24 fps | $0.0292/s With a monthly plan: Pro $0.0283Max $0.0274 | −17% | |
720p 16:9 · 24 fps | $0.0627/s With a monthly plan: Pro $0.0607Max $0.0588 | −17% |
Monthly plans lower prices on most models (shown under each price); you can still pay as you go. Pro $499/month · Max $4,999/month.
- Official price: BytePlus ModelArk international list price for dreamina-seedance-2-0-mini ($3.5 / 1M video tokens; $2.1 with video input). Prices verified October 18, 2026.
- Per-second figures assume 16:9 and no input video.
- With reference videos, (reference video seconds + output seconds) are billed at the lower with-video rate. If the reference videos add up to less than ⅔ of the output's length rounded up to a whole second (4 s for a 5 s output, 7 s for 10 s, 10 s for 15 s), they are billed as that many seconds (ByteDance's official rule).