01 · Playgroundbytedance/seedance-2-mini/text-to-video
Seedance 2 Mini01 · Access
Step intothe light.
To run Seedance 2 Mini live, add your fal API key. It stays in your browser, bills your own fal account, and unlocks every take.
01PromptSeedance 2 Mini
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-mini/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-mini/text-to-video", {06 input: {07 "prompt": "A barista at a wooden counter wipes a portafilter and looks up to say: 'First po...",08 "resolution": "720p",09 "duration": "auto",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-mini/text-to-video",05 arguments={06 "prompt": "A barista at a wooden counter wipes a portafilter and looks up to say: 'First po...",07 "resolution": "720p",08 "duration": "auto",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-mini/text-to-video" \02 -H "Authorization: Key $FAL_KEY" \03 -H "Content-Type: application/json" \04 -d '{ "prompt": "A barista at a wooden counter wipes a portafilter and looks up to say: 'First po...", "resolution": "720p", "duration": "auto", "aspect_ratio": "16:9", "generate_audio": true, "seed": 42 }'
04
Input parameters
| Key | Kind | Default | Notes |
|---|---|---|---|
| 01prompt | text (required) | · | Primary generation input. |
| 02resolution | select | 720p | 480p, 720p |
| 03duration | select | auto | Auto, 4s, 5s, 8s, 10s, 12s, 15s |
| 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 |
| 07resolution | default | 720p | Sent with every request unless overridden. |
| 08duration | default | auto | Sent with every request unless overridden. |
| 09aspect_ratio | default | 16:9 | Sent with every request unless overridden. |
| 10generate_audio | default | true | Sent with every request unless overridden. |
Full schema at fal.ai/models/bytedance/seedance-2-mini/text-to-video/llms.txt.