Skip to content
Dashboard

Seedance 2.0 Mini

Seedance 2.0 Mini is a cost-effective multimodal video creation model, retaining the core functions and advantages of Seedance 2.0 at a lower price.

View API reference
Output price
Output $3.50, Per 1M generated tokens
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({
model: 'bytedance/seedance-2.0-mini',
prompt: 'A serene mountain lake at sunrise.'
});
Read docs

Copy link to headingPlayground

Try out Seedance 2.0 Mini by ByteDance. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

bytedance logo
Images(optional)
Add up to 9 images
Videos(optional)
Add up to 3 videos
Prompt(optional)

End frame(optional)
Duration8s
4s15s
Resolution
Aspect ratio
Videos to generate
bytedance logo

Your generated video will appear here.

Copy link to headingProviders

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Input
Output
Capabilities
ZDR
No Training
Free Tier
Release Date
$3.50/M+1 more
06/22/2026

Getting started

Generate videos with Seedance 2.0 Mini using the experimental_generateVideo function from AI SDK 6 or later. AI Gateway handles routing and polls until the video is ready.

Install the AI SDK (pnpm add ai dotenv), create an API key from the API Keys page, and set it as AI_GATEWAY_API_KEY in your environment. Full setup is covered in the video generation quickstart.

index.ts
import { experimental_generateVideo as generateVideo } from 'ai';
import fs from 'node:fs';
import 'dotenv/config';
async function main() {
const result = await generateVideo({
model: 'bytedance/seedance-2.0-mini',
prompt: 'A drone shot of a coastal cliff with crashing waves at golden hour.',
});
// Save the generated video
fs.writeFileSync('output.mp4', result.videos[0].uint8Array);
console.log('Video saved to output.mp4');
}
main().catch(console.error);

Top-level parameters

Load the common, top-level parameters supported across video models.

top-level-params.ts
import { experimental_generateVideo as generateVideo } from 'ai';
import fs from 'node:fs';
import 'dotenv/config';
async function main() {
const result = await generateVideo({
model: 'bytedance/seedance-2.0-mini',
prompt: 'A drone shot of a coastal cliff with crashing waves at golden hour.',
duration: 5,
aspectRatio: '16:9',
resolution: '1280x720',
});
// Save the generated video
fs.writeFileSync('output.mp4', result.videos[0].uint8Array);
console.log('Video saved to output.mp4');
}
main().catch(console.error);
ParameterTypeRequiredDescription
promptstringNoText description of the video to generate.
durationnumberNoVideo length in seconds. 4-15 seconds.
resolutionstringNoResolution ('854x480', '1280x720').
aspectRatiostringNoAspect ratio ('16:9', '4:3', '1:1', '3:4', '9:16', '21:9').
generateAudiobooleanNoGenerate synchronized audio with the video.

Input limits

InputFormatsSourcesMax countMax sizeLimits
Imagejpeg, png, webp, bmp, tiff, gifurl930 MB≥300px · ≤6000px · aspect 2:5–5:2
Videomp4, movurl350 MB2-15s · ≥300px · ≤6000px
Audiowav, mp3url15 MB2-15s

Provider options

Pass provider-specific options under providerOptions.bytedance.

provider-options.ts
import { experimental_generateVideo as generateVideo } from 'ai';
import fs from 'node:fs';
import 'dotenv/config';
async function main() {
const result = await generateVideo({
model: 'bytedance/seedance-2.0-mini',
prompt: 'A drone shot of a coastal cliff with crashing waves at golden hour.',
duration: 5,
providerOptions: {
bytedance: {
pollTimeoutMs: 600000,
},
},
});
// Save the generated video
fs.writeFileSync('output.mp4', result.videos[0].uint8Array);
console.log('Video saved to output.mp4');
}
main().catch(console.error);

Pass these under providerOptions.bytedance in your generateVideo call.

ParameterTypeRequiredDescription
providerOptions.bytedance.pollIntervalMsnumberNoHow often to check task status. Defaults to 5000.
providerOptions.bytedance.pollTimeoutMsnumberNoMaximum wait time. Defaults to 600000 (10 minutes).

Copy link to headingMore models by ByteDance

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Free Tier
Release Date
$0.003/M
$0.04/img
bytedance logo
07/11/2026
$0.04/img
bytedance logo
02/13/2026
$0.04/img
bytedance logo
12/03/2025
$0.03/img
bytedance logo
09/09/2025
256K1.1 s85 tps
$0.25/M+1 more
$2/M+1 more
Read$0.05/M
bytedance logo
09/01/2025
256K1.1 s104 tps
$0.25/M+1 more
$2/M+1 more
Read$0.05/M
bytedance logo
09/01/2025

Your use is subject to ByteDance's Terms & Privacy Policies.