Scene 00 · Playgroundfal-ai/kling-video/v3/pro/text-to-video
Take · Kling 3.0 Pro
Scene 00 · Access

Light theset.

Add your fal key to run Kling 3.0 Pro live. The key stays in your browser; every take bills your own fal account.

Get a key
Scene 01 · PromptKling 3.0 Pro

Authorize the shoot in settings

Scene 09 · Integration

Ship the same sceneto production.

Same endpoint as the playground upstairs. Three takes below. Pick the one that matches your set.

endpointfal-ai/kling-video/v3/pro/text-to-videooutputvideo
Scene 01TypeScript
TS
1import { fal } from "@fal-ai/client";
2
3fal.config({ credentials: process.env.FAL_KEY });
4
5const { data } = await fal.subscribe("fal-ai/kling-video/v3/pro/text-to-video", {
6 input: {
7 "prompt": "Three-shot sequence. Shot one: wide establishing on a rain-soaked Tokyo alleyway...",
8 "duration": 5,
9 "aspect_ratio": "16:9",
10 "resolution": "1080p",
11 "cfg_scale": 0.5,
12 "generate_audio": true
13 },
14 logs: true,
15});
16
17console.log(data);
Scene 02Python
PYTHON
1import fal_client
2
3result = fal_client.subscribe(
4 "fal-ai/kling-video/v3/pro/text-to-video",
5 arguments={
6 "prompt": "Three-shot sequence. Shot one: wide establishing on a rain-soaked Tokyo alleyway...",
7 "duration": 5,
8 "aspect_ratio": "16:9",
9 "resolution": "1080p",
10 "cfg_scale": 0.5,
11 "generate_audio": true
12 },
13 with_logs=True,
14)
15
16print(result)
Scene 03HTTP
BASH
1curl -X POST "https://queue.fal.run/fal-ai/kling-video/v3/pro/text-to-video" \
2 -H "Authorization: Key $FAL_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{ "prompt": "Three-shot sequence. Shot one: wide establishing on a rain-soaked Tokyo alleyway...", "duration": 5, "aspect_ratio": "16:9", "resolution": "1080p", "cfg_scale": 0.5, "generate_audio": true }'
Script · Input parameters
KeyKindDefaultNotes
prompttext (required)·Primary generation input
durationselect53 seconds, 5 seconds, 8 seconds, 10 seconds, 15 seconds
aspect_ratioselect16:916:9 landscape, 9:16 portrait, 1:1 square
resolutionselect1080p720p Standard, 1080p Pro
cfg_scalenumber0.50 to 1
generate_audioselecttrueNative audio on, Silent render

Full script on file at fal.ai/models/fal-ai/kling-video/v3/pro/text-to-video/llms.txt

Also reading