Kling 3.0 Pro: Top-tier text-to-video with cinematic visuals, fluid motion, and native audio generation, with multi-shot support.
pip install requestsimport requests
response = requests.post(
"https://api.runflow.io/v1/run/kling-video/v3/pro/text-to-video",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "Time-lapse of a flower blooming in a sunlit garden, macro lens, smooth motion..."
},
)
data = response.json()
print(data["video"]["url"])| Parameter | Type | Description |
|---|---|---|
| prompt | string | Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. |
| aspect_ratio | string | The aspect ratio of the generated video frame |
| voice_ids | string | Optional Voice IDs for video generation. Reference voices in your prompt with <<<voice_1>>> and <<<voice_2>>> (maximum 2 voices per task). Get voice IDs from the kling video create-voice endpoint: https://fal.ai/models/fal-ai/kling-video/create-voice |
| generate_audio | boolean | Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. |
| multi_prompt | array | List of prompts for multi-shot video generation. If provided, overrides the single prompt and divides the video into multiple shots with specified prompts and durations. |
| duration | string | The duration of the generated video in seconds |
| shot_type | string | The type of multi-shot video generation |
| negative_prompt | string | |
| cfg_scale | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. |
| Field | Type | Description |
|---|---|---|
| video | string | The generated video |
Veo 3.1
google/veo3.1
Veo 3.1 by Google, the most advanced AI video generation model in the world. Wit...
Veo 3.1 Lite
google/veo3.1/lite
Veo 3.1 Lite balances practical utility with professional capabilities....
Wan 2.7 Text to Video
alibaba/wan/v2.7/text-to-video
Wan 2.7 is the latest generation AI video model, delivering enhanced motion smoo...
Seedance 2.0 Fast Text to Video
bytedance/seedance/2.0/fast/text-to-video
Fast variant of Seedance 2.0 for quicker text-to-video generation with synchroni...
Get API access in minutes. No GPU setup, no infrastructure to manage.