text_to_video
Generate videos from text descriptions using Kling AI models. Submit a prompt to create a task and receive a task ID, status, and output URLs.
Instructions
Create a Kling task on RunAPI (text to video). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| cfg_scale | No | ||
| multi_shots | No | ||
| aspect_ratio | No | ||
| callback_url | No | ||
| enable_sound | No | ||
| multi_prompt | No | ||
| kling_elements | No | ||
| negative_prompt | No | ||
| duration_seconds | No | ||
| output_resolution | No | ||
| last_frame_image_url | No | ||
| first_frame_image_url | No | ||
| wait | No | Poll until the task reaches a terminal status. | |
| timeout_ms | No | ||
| poll_interval_ms | No | ||
| model | No | RunAPI model slug for this model line. |