Kling AI
ModelAPI for Kuaishou's Kling video and image generation models
- Access
- API key (Bearer token)
About
API for Kling, Kuaishou's video models: text-to-video and image-to-video up to 4K and 15 seconds, with native audio, multi-shot prompts and motion control. It is billed from prepaid resource packages. The global endpoint serves users outside China.
What you can do with it
- Generate video clips from a text prompt, with native audio if needed
- Animate a still image into a video, or copy motion from a reference clip
- Generate images, dress a person photo in a garment, or lip-sync a video
Get started
- Buy a video or image resource package on kling.ai/dev
- Create an API key in the developer console
- Poll the task, or pass a callback_url
Example
curl -X POST https://api-singapore.klingai.com/text-to-video/kling-3.0 \
-H "Authorization: Bearer $KLING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A girl sat on the train, looking out the window with a melancholic expression.",
"settings": {
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5
}
}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- MCP server
- None