01 · Playgroundbytedance/seedance-2.0/text-to-video
Seedance 2.001 · 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.
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";0203fal.config({ credentials: process.env.FAL_KEY });0405const { 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": 4213 },14 logs: true,15});1617console.log(data);
02Python
01example.pyPYTHON
01import fal_client0203result = 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": 4212 },13 with_logs=True,14)1516print(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
| Key | Kind | Default | Notes |
|---|---|---|---|
| 01prompt | text (required) | · | Primary generation input. |
| 02duration | select | 5 | 4s, 5s, 8s, 10s, 12s, 15s |
| 03resolution | select | 720p | 480p, 720p |
| 04aspect_ratio | select | 16:9 | Auto, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 |
| 05generate_audio | select | true | Native audio on, Silent render |
| 06seed | number | 42 | 0 to 999999 |
Full schema at fal.ai/models/bytedance/seedance-2.0/text-to-video/llms.txt.