kling_generate_video
Generate high-quality videos from text prompts with Kling AI. Supports standard and professional modes, and returns a task ID for status polling.
Instructions
Generate a high-quality video from text using Kling AI (Kuaishou). Supports standard and professional modes. Returns a task_id to poll for completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Kling AI API key | |
| prompt | Yes | Text description of the video to generate | |
| model | No | Model name: kling-v1 or kling-v1-5 (default: kling-v1) | |
| mode | No | Generation mode: std (standard) or pro (professional, slower). Default: std | |
| duration | No | Video duration: 5 or 10 (seconds). Default: 5 | |
| image_url | No | Optional reference image URL for image-to-video | |
| negative_prompt | No | What to avoid in the video | |
| aspect_ratio | No | e.g. 16:9, 9:16, 1:1. Default: 16:9 | |
| cfg_scale | No | Guidance scale 0-1 (default: 0.5) |