Loading...
Loading...
Generate AI videos with Kuaishou Kling via AceDataCloud API. Use when creating videos from text or images, extending existing videos, applying motion control, animating a talking photo from image+audio, or lip-syncing audio/text to video. Supports text-to-video, image-to-video, extend, motion generation, talking-photo, and lip-sync with multiple models and quality modes.
npx skill4agent add acedatacloud/skills kling-videoSetup: See authentication for token setup.
curl -X POST https://api.acedata.cloud/kling/videos \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action": "text2video", "prompt": "a cat playing piano on a rooftop at sunset", "model": "kling-v3", "mode": "std", "duration": 5}'Async: See async task polling. Poll viawithPOST /kling/tasks.{"id": "..."}
| Model | Quality | Best For |
|---|---|---|
| Latest | Best quality, flexible 3–15s duration, optional audio generation |
| Latest | Omni model with audio support, flexible 3–15s duration |
| High | High-quality output with optional audio (pro mode) |
| High + Fast | Best speed/quality trade-off |
| High | High-quality output |
| High | Improved v2 |
| Improved | Better quality than v1 |
| Standard | Basic generation, lowest cost |
| Premium | Highest quality (thinking model) |
| Mode | Speed | Cost | Use For |
|---|---|---|---|
| Slower | Lower | Draft/preview |
| Faster | Higher | Final output |
| — | Premium | Native 4K output — only |
POST /kling/videos
{
"action": "text2video",
"prompt": "a futuristic city with flying cars",
"model": "kling-v3",
"mode": "std",
"duration": 5,
"aspect_ratio": "16:9"
}POST /kling/videos
{
"action": "image2video",
"prompt": "the scene slowly comes alive with movement",
"start_image_url": "https://example.com/scene.jpg",
"end_image_url": "https://example.com/end-scene.jpg",
"model": "kling-v3",
"mode": "pro"
}POST /kling/videos
{
"action": "extend",
"video_id": "existing-video-id",
"prompt": "the camera pulls back to reveal the full landscape",
"model": "kling-v2-5-turbo"
}POST /kling/motion
{
"image_url": "https://example.com/subject.jpg",
"video_url": "https://example.com/motion-reference.mp4"
}POST /kling/lip-sync
{
"video_url": "https://example.com/source.mp4",
"mode": "audio2video",
"audio_url": "https://example.com/voiceover.mp3"
}POST /kling/talking-photo
{
"image_url": "https://example.com/portrait.jpg",
"audio_url": "https://example.com/voiceover.mp3",
"model": "kling-v2-1-master",
"duration": 5,
"mode": "pro"
}| Parameter | Values | Description |
|---|---|---|
| | Generation mode |
| See models table | Model to use |
| | Quality mode ( |
| | Duration in seconds |
| | Generate audio with video (v3, v3-omni, v2-6 pro only) |
| | Video aspect ratio |
| 0–1 | Prompt relevance strength |
| string | What to avoid in the video |
| object | Camera movement parameters |
| array | Reference subjects from the element library (each item has |
| array | Reference video(s) via |
| string | Async callback URL |
| | Lip-sync mode |
| URL | Source video URL for lip-sync |
| string | Existing Kling video ID for lip-sync |
| URL | Audio source URL (for |
| | Audio input type (default |
| string | Audio file payload when |
| string | Input text to synthesize speech (for |
| string | Voice preset ID used in |
| | TTS language for |
| number | TTS speaking speed (default |
| URL | Source portrait image |
| URL | Driving audio track |
| | Talking-photo model |
| | Talking-photo duration |
| | Talking-photo quality mode |
duration510kling-v3kling-v3-omni315mode=4kkling-v3kling-v3-omnicamera_controlgenerate_audiokling-v3kling-v3-omnikling-v2-6end_image_urlimage2video/kling/motion/kling/lip-syncmodeaudio_urlaudio2videotexttext2video/kling/talking-photoimage_urlaudio_urlprostd"succeed"negative_prompt