Video · Kuaishou
Image

Kling API

Kling API access for text and image-to-video up to 4K 60fps with multimodal audio and AI avatars.

Operational · 11 variants · from $0.050
runapi.ai
curl -X POST https://runapi.ai/api/v1/kling/motion_control \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-v2.1-standard",
  "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-v2.1-standard",
    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-v2.1-standard",
    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
@runapi.ai/kling v1
OVERVIEW

Kling is Kuaishou's video generation model supporting up to 4K 60fps output, avatar generation, and multimodal audio synthesis. It offers text-to-video and image-to-video with motion control and professional-quality rendering.

  • Multiple variants for different speed / quality tiers
  • Model skill includes docs, schemas, and setup notes
  • Works with app-focused coding workflows
  • Failed generations are not charged
VARIANTS

Compare all API variants

Variant Billing From
kling-3.0 second $0.200 View →
kling-ai-avatar-pro second $0.160 View →
kling-ai-avatar-standard second $0.080 View →
kling-ai-avatar-v1-pro second $0.160 View →
kling-v1-avatar-standard second $0.080 View →
kling-v2.1-master-image-to-video second $0.320 View →
kling-v2.1-master-text-to-video second $0.320 View →
kling-v2.1-pro second $0.100 View →
kling-v2.1-standard second $0.050 View →
kling-v2.5-turbo-image-to-video-pro second $0.090 View →
kling-v2.5-turbo-text-to-video-pro second $0.090 View →
SKILLS

Install the Kling skill for app development

Load the model docs, schemas, pricing notes, and setup steps into your coding workspace.

# Install the model skill for app development workflows
npx skills add runapi-ai/kling -g
Installs docs, schemas, pricing context, and setup notes into your developer workspace.
Or use this setup request in your coding tool:
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.
HOW IT WORKS

From model skill to first result in four steps

01

Choose a model

Pick the model and variant that match your output type, quality bar, and latency target.

02

Configure

Set your RunAPI key and install the model skill in your coding workspace.

03

Call

Use the skill instructions to add the model feature inside your application.

04

Receive

Poll by task ID, stream when supported, or handle the webhook callback.

CONTEXT

What is the Kling API?

Kling is Kuaishou's flagship video model, supporting 4K 60fps, AI avatars, and multimodal audio. Through RunAPI, all Kling variants share unified API access and billing.

Provider
Kuaishou
Modality
Video
WHY RUNAPI

Why route the Kling API through RunAPI

One auth, every provider

A single RunAPI key unlocks the whole catalog. No separate accounts, no key rotation per integration.

Unified pricing & billing

Per-call pricing in USD, billed monthly. Failed generations are not charged.

Schema-first SDK

Typed schemas and setup notes are packaged in the model skill so implementation starts from the right contract.

FAQ

Common questions

Which variant should I start with?

Pick the cheapest variant that meets your quality bar. Most teams start on the fast variant and graduate to pro for production.

Is there a free tier?

New accounts get free first calls on every model. After that, pay per call.

Do you stream results?

Where streaming is available, RunAPI streams end-to-end.

How are failures billed?

Failed generations are not charged.

Are outputs cached?

Generated outputs are stored and retrievable by task ID. Inputs are not cached.

Can I use commercially?

Yes — commercial use is included for every variant unless a model license explicitly restricts it, which is called out on the variant page.

What about rate limits?

Per-key rate limits scale with usage tier. See pricing page for current limits.

Where can I report issues?

Open an issue on the public GitHub repo or email support.

START NOW

Start building with the Kling API.