Getting started
Quick start
Five steps. You will have your first Seedance 2 Mini result in the next minute.
- Sign up for a fal key. Create one at fal.ai/dashboard/keys. Copy it now; you will not see it again.
- Export it.
export FAL_KEY=fal_...in your shell, or add it to a.env.local. Never commit it. - Pick a snippet. The three below hit the same endpoint (
bytedance/seedance-2-mini/text-to-video) with a minimal input derived from the default parameter set. - Run it. The first call takes a few seconds; subsequent ones are faster. You get a response URL pointing at a video.
- Iterate. Try the playground to see a chat-style interface, or jump to the API reference for every parameter.
First call
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...","resolution":"720p","duration":"auto","aspect_ratio":"16:9","generate_audio":true,"seed":42}'