Kling API
Kling API access for text and image-to-video up to 4K with multimodal audio and AI avatars.
curl -X POST https://runapi.ai/api/v1/kling/motion_control \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-v3-turbo-text-to-video",
"video_url": "https://cdn.runapi.ai/public/samples/video.mp4",
"prompt": "Create a 10-second video of a person walking through an autumn forest, leaves falling, cinematic camera pan."
}'
import { KlingClient } from "@runapi.ai/kling";
const client = new KlingClient();
const result = await client.motionControl.run({
model: "kling-v3-turbo-text-to-video",
video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
prompt: "Create a 10-second video of a person walking through an autumn forest, leaves falling, cinematic camera pan.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Kling\KlingClient;
$client = new KlingClient();
$result = $client->motionControl->run([
'model' => 'kling-v3-turbo-text-to-video',
'video_url' => 'https://cdn.runapi.ai/public/samples/video.mp4',
'prompt' => 'Create a 10-second video of a person walking through an autumn forest, leaves falling, cinematic camera pan.',
]);
require "runapi/kling"
client = RunApi::Kling::Client.new
result = client.motion_control.run(
model: "kling-v3-turbo-text-to-video",
video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
prompt: "Create a 10-second video of a person walking through an autumn forest, leaves falling, cinematic camera pan."
)
npx skills add runapi-ai/kling -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
Kling is Kuaishou's video generation model supporting up to 4K output, avatar generation, and multimodal audio synthesis. It offers text-to-video and image-to-video with motion control and professional-quality rendering.
- Meerdere varianten voor verschillende snelheid-/kwaliteitsniveaus
- Modelskill bevat docs, schema's en setupnotities
- Werkt met appgerichte codeerworkflows
- Mislukte generaties worden niet in rekening gebracht
Vergelijk alle API-varianten
| Variant | Billing | From | |
|---|---|---|---|
| kling-3.0 | second | $0.200 | Bekijken → |
| kling-ai-avatar-pro | second | $0.160 | Bekijken → |
| kling-ai-avatar-standard | second | $0.080 | Bekijken → |
| kling-ai-avatar-v1-pro | second | $0.160 | Bekijken → |
| kling-v1-avatar-standard | second | $0.080 | Bekijken → |
| kling-v2.1-master-image-to-video | second | $0.320 | Bekijken → |
| kling-v2.1-master-text-to-video | second | $0.320 | Bekijken → |
| kling-v2.1-pro | second | $0.100 | Bekijken → |
| kling-v2.1-standard | second | $0.050 | Bekijken → |
| kling-v2.5-turbo-image-to-video-pro | call | $0.090 | Bekijken → |
| kling-v2.5-turbo-text-to-video-pro | second | $0.090 | Bekijken → |
| kling-v2.6 | second | $0.400 | Bekijken → |
| kling-v3-omni | second | $1.20 | Bekijken → |
| kling-v3-turbo-image-to-video | second | $0.180 | Bekijken → |
| kling-v3-turbo-text-to-video | second | $0.180 | Bekijken → |
Installeer de Kling skill voor appontwikkeling
Laad modeldocs, schema's, prijsnotities en setupstappen in je codeworkspace.
# Install the model skill for app development workflows
npx skills add runapi-ai/kling -g
Install the Kling skill for this app: 1. Add runapi-ai/kling with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
Van modelskill naar eerste resultaat in vier stappen
Kies het model
Kies het model en de variant die passen bij je outputtype, kwaliteitslat en latencydoel.
Configureren
Stel je RunAPI-key in en installeer de modelskill in je codeworkspace.
Bouwen
Gebruik de skill-instructies om de modelfeature in je applicatie toe te voegen.
Ontvangen
Poll op task-ID, stream wanneer ondersteund of verwerk de webhook-callback.
Wat is de Kling API?
Kling is Kuaishou's flagship video model, supporting 4K, AI avatars, and multimodal audio. Through RunAPI, all Kling variants share unified API access and billing.
Waarom de Kling API via RunAPI gebruiken
Eén auth, elke provider
Met één RunAPI-sleutel ontgrendel je de hele catalogus. Geen aparte accounts, geen sleutelrotatie per integratie.
Uniforme prijzen & billing
Prijs per call in USD, maandelijks gefactureerd. Mislukte generaties worden niet in rekening gebracht.
Skill met schema's
Getypeerde schema's en setupnotities zitten in de modelskill, zodat implementatie start vanuit het juiste contract.
Veelgestelde vragen
What resolution and frame rate does Kling support?
Up to 4K on the pro variant. Standard variants output 720p–1080p.
How long can a single generation be?
3 tot 15 seconden per clip, afhankelijk van de versie en variant.
Does Kling generate audio with the video?
Audio support varies by version — some earlier variants support an enable_sound option, while the latest turbo variant does not.
What are AI avatars?
The avatar endpoint generates a talking-head video from a portrait and audio input, with lip sync and natural head movement.
What is the difference between standard and pro?
Pro offers higher resolution, more detail, and motion control options. Standard is faster and lower cost.
Met welke variant moet ik beginnen?
Kies de goedkoopste variant die aan je kwaliteitsnorm voldoet. De meeste teams beginnen met de snelle variant en stappen over op pro voor productie.
Is er een gratis tier?
Nieuwe accounts krijgen de eerste calls gratis op elk model. Daarna betaal je per call.
Streamen jullie resultaten?
Waar streaming beschikbaar is, streamt RunAPI end-to-end.
Hoe worden mislukkingen gefactureerd?
Mislukte generations worden niet in rekening gebracht.
Worden outputs gecachet?
Gegenereerde outputs worden opgeslagen en zijn op te vragen via task-ID. Inputs worden niet gecachet.
Mag ik het commercieel gebruiken?
Ja — commercieel gebruik is inbegrepen voor elke variant, tenzij een modellicentie het expliciet beperkt. Dat staat aangegeven op de variantpagina.
Hoe zit het met rate limits?
Rate limits per key schalen mee met je usage tier. Zie de prijzenpagina voor de actuele limieten.
Waar kan ik problemen melden?
Open een issue in de publieke GitHub-repo of mail support.
Als je de Kling API goed vindt, probeer deze dan eens
Begin met bouwen met de Kling API.
- Kling kling-3.0
- Kling kling-ai-avatar-pro
- Kling kling-ai-avatar-standard
- Kling kling-ai-avatar-v1-pro
- Kling kling-v1-avatar-standard
- Kling kling-v2.1-master-image-to-video
- Kling kling-v2.1-master-text-to-video
- Kling kling-v2.1-pro
- Kling kling-v2.1-standard
- Kling kling-v2.5-turbo-image-to-video-pro
- Kling kling-v2.5-turbo-text-to-video-pro
- Kling kling-v2.6
- Kling kling-v3-omni
- Kling kling-v3-turbo-image-to-video
- Kling kling-v3-turbo-text-to-video