01 · Playgroundbytedance/seedance-2.0/text-to-video
Seedance 2.0
01 · Access

Step intothe light.

To run Seedance 2.0 live, add your fal API key. It stays in your browser, bills your own fal account, and unlocks every take.

Get a key
01PromptSeedance 2.0

Add your fal key to step into the light

02 · Integration

Step intoproduction.

The playground up top is the same endpoint you ship to production. Three code paths below, one per stack, with the parameter index underneath.

endpoint bytedance/seedance-2.0/text-to-video
output video
01TypeScript
01example.tsTS
01import { fal } from "@fal-ai/client";
02
03fal.config({ credentials: process.env.FAL_KEY });
04
05const { data } = await fal.subscribe("bytedance/seedance-2.0/text-to-video", {
06 input: {
07 "prompt": "A chef in a professional kitchen at dusk ties an apron in front of a pass window...",
08 "duration": "5",
09 "resolution": "720p",
10 "aspect_ratio": "16:9",
11 "generate_audio": true,
12 "seed": 42
13 },
14 logs: true,
15});
16
17console.log(data);
02Python
01example.pyPYTHON
01import fal_client
02
03result = fal_client.subscribe(
04 "bytedance/seedance-2.0/text-to-video",
05 arguments={
06 "prompt": "A chef in a professional kitchen at dusk ties an apron in front of a pass window...",
07 "duration": "5",
08 "resolution": "720p",
09 "aspect_ratio": "16:9",
10 "generate_audio": true,
11 "seed": 42
12 },
13 with_logs=True,
14)
15
16print(result)
03HTTP
01example.shBASH
01curl -X POST "https://queue.fal.run/bytedance/seedance-2.0/text-to-video" \
02 -H "Authorization: Key $FAL_KEY" \
03 -H "Content-Type: application/json" \
04 -d '{ "prompt": "A chef in a professional kitchen at dusk ties an apron in front of a pass window...", "duration": "5", "resolution": "720p", "aspect_ratio": "16:9", "generate_audio": true, "seed": 42 }'
04

Input parameters

KeyKindDefaultNotes
01prompttext (required)·Primary generation input.
02durationselect54s, 5s, 8s, 10s, 12s, 15s
03resolutionselect720p480p, 720p
04aspect_ratioselect16:9Auto, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
05generate_audioselecttrueNative audio on, Silent render
06seednumber420 to 999999

Full schema at fal.ai/models/bytedance/seedance-2.0/text-to-video/llms.txt.

Also reading