Video · Kuaishou

Kling API

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

جاهز للتشغيل · 15 variants · ابتداءً من $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-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
@runapi.ai/kling v1
OVERVIEW

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.

  • عدة إصدارات لمستويات مختلفة من السرعة / الجودة
  • يتضمن model skill التوثيق والـschemas وملاحظات الإعداد
  • يعمل مع workflows موجهة لتطوير التطبيقات
  • لا يتم احتساب رسوم على عمليات التوليد الفاشلة
VARIANTS

قارن جميع إصدارات API

Variant Billing From
kling-3.0 second $0.200 عرض →
kling-ai-avatar-pro second $0.160 عرض →
kling-ai-avatar-standard second $0.080 عرض →
kling-ai-avatar-v1-pro second $0.160 عرض →
kling-v1-avatar-standard second $0.080 عرض →
kling-v2.1-master-image-to-video second $0.320 عرض →
kling-v2.1-master-text-to-video second $0.320 عرض →
kling-v2.1-pro second $0.100 عرض →
kling-v2.1-standard second $0.050 عرض →
kling-v2.5-turbo-image-to-video-pro call $0.090 عرض →
kling-v2.5-turbo-text-to-video-pro second $0.090 عرض →
kling-v2.6 second $0.400 عرض →
kling-v3-omni second $1.20 عرض →
kling-v3-turbo-image-to-video second $0.180 عرض →
kling-v3-turbo-text-to-video second $0.180 عرض →
SKILLS

ثبّت skill Kling لتطوير التطبيقات

حمّل توثيق النموذج والـschemas وملاحظات الأسعار وخطوات الإعداد إلى مساحة عمل الكود.

# 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.
كيف يعمل

من model skill إلى أول نتيجة في أربع خطوات

01

اختر النموذج

اختر النموذج والإصدار المناسبين لنوع المخرجات ومستوى الجودة وزمن الاستجابة المستهدف.

02

الإعداد

اضبط مفتاح RunAPI وثبّت model skill في مساحة عمل الكود.

03

التنفيذ

استخدم تعليمات المهارة لإضافة ميزة النموذج داخل تطبيقك.

04

الاستلام

استعلم عبر task ID أو استخدم البث عند دعمه أو عالج webhook callback.

CONTEXT

ما هي 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.

Provider
Kuaishou
Modality
Video
لماذا RunAPI

لماذا تستخدم Kling API عبر RunAPI

مصادقة واحدة لكل مزود

مفتاح RunAPI واحد يفتح الوصول إلى الكتالوج بالكامل. لا حسابات منفصلة، ولا تدوير مفاتيح لكل تكامل.

تسعير وفوترة موحّدان

تسعير لكل استدعاء بالدولار الأمريكي، ويُفوتر شهريًا. لا تُحتسب التوليدات الفاشلة.

Skill مع schemas

تأتي الـschemas المعرّفة وملاحظات الإعداد داخل model skill حتى يبدأ التنفيذ من العقد الصحيح.

FAQ

أسئلة شائعة

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 إلى 15 ثانية لكل مقطع، حسب الإصدار والمتغير.

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.

أي نسخة ينبغي أن أبدأ بها؟

اختر أرخص نسخة تفي بمعيار الجودة لديك. يبدأ معظم الفرق بالنسخة السريعة ثم ينتقلون إلى pro للإنتاج.

هل توجد خطة مجانية؟

تحصل الحسابات الجديدة على أول طلبات مجانية على كل نموذج. بعد ذلك، الدفع حسب كل طلب.

هل تدعمون البث المباشر للنتائج؟

حيث يتوفر البث المباشر، يوفّر RunAPI البث من البداية إلى النهاية.

كيف يتم احتساب الرسوم عند الفشل؟

لا يتم تحصيل رسوم على عمليات التوليد الفاشلة.

هل يتم تخزين المخرجات مؤقتًا؟

يتم حفظ المخرجات المولدة ويمكن استرجاعها بواسطة task ID. لا يتم تخزين المدخلات مؤقتًا.

هل يمكنني الاستخدام تجاريًا؟

نعم — يشمل كل إصدار الاستخدام التجاري ما لم يقيّده ترخيص النموذج صراحةً، ويُشار إلى ذلك في صفحة الإصدار.

ماذا عن حدود المعدل؟

تتدرج حدود المعدل لكل مفتاح وفق فئة الاستخدام. راجع صفحة الأسعار للاطلاع على الحدود الحالية.

أين يمكنني الإبلاغ عن المشاكل؟

افتح issue في مستودع GitHub العام أو راسل الدعم عبر البريد الإلكتروني.

ابدأ الآن

ابدأ البناء باستخدام Kling API.