دقة المخرج
يدعم 720p, 1080p, 4k من مخطط الـ endpoint المنشور.
Native 4K, 15-sec max, multi-shot storyboarding
curl -X POST https://runapi.ai/api/v1/kling/motion_control \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0",
"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-3.0",
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 os
import requests
response = requests.post(
"https://runapi.ai/api/v1/kling/motion_control",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"kling-3.0","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."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/kling/motion_control");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'kling-3.0',
'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.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.motionControl().run({"model":"kling-3.0","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."});
task.waitForResult();
require "runapi/kling"
client = RunApi::Kling::Client.new
result = client.motion_control.run(
model: "kling-3.0",
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."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.motionControl.Run({"model":"kling-3.0","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."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model kling-3.0 \
--endpoint motion_control \
--wait
18 إصدارات متاحة
اختر أي نموذج وابدأ التوليد في ثوانٍ.
اختر أي نموذج وابدأ التوليد في ثوانٍ.
| المزوّد | Kuaishou |
| معرّف النموذج | kling-3.0 |
| النمط | Video |
| أنواع المهام | Asynchronous |
| نقطة نهاية API | /api/v1/kling/motion_control, /api/v1/kling/text_to_video |
| وحدة الفوترة | second |
| معلمات الإدخال | aspect_ratio, background_source, callback_url, cfg_scale, character_orientation, duration_seconds, enable_sound, first_frame_image_url, kling_elements, last_frame_image_url, model, multi_prompt, multi_shots, negative_prompt, output_resolution, prompt, reference_video_url, source_image_url |
| المدة القصوى | 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s |
| الدقة القصوى | 720p, 1080p, 4k |
| نسب العرض إلى الارتفاع | 16:9, 9:16, 1:1 |
| حالة الكتالوج | جاهز للتشغيل |
سجّل مجانًا وأنشئ مفتاح API لـ kling-3.0 من لوحة التحكم.
أرسل طلب POST إلى /api/v1/kling/motion_control باستخدام معرّف نموذج kling-3.0 ومعلماتك.
استطلع المهمة أو اتبع الاستدعاء الراجع لاسترداد نتيجة kling-3.0 المكتملة.
يدعم 720p, 1080p, 4k من مخطط الـ endpoint المنشور.
اضبط 16 معاملاً موثَّقاً، بما يشمل aspect_ratio, background_source, cfg_scale, character_orientation, duration_seconds.
يعرض 2 endpoint(s) عامة: motion_control, text_to_video.
تقبل المهام غير المتزامنة عنوان URL للاستدعاء عند اكتمال المهمة.
promptDescription prompt.
callback_urlWebhook URL for async notifications.
source_image_urlSubject image URL.
background_sourceBackground source. (video, image)
output_resolutionOutput resolution. (720p, 1080p)
reference_video_urlReference motion video URL.
character_orientationCharacter orientation. (video, image)
أنشئ مقاطع إطلاق المنتجات وإعلانات قصيرة من موجز نصي، وقلّص زمن الإنتاج من أسابيع إلى ساعات.
حوّل نصوص الدروس إلى فيديوهات شرح متحركة على نطاق واسع من دون كاميرا أو فريق إنتاج.
أنتج محتوى قصيرًا قابلًا للانتشار لمنصات التواصل مباشرةً من prompt.
مرّر معرّف النموذج الظاهر في دليل البدء السريع.
تتدرج حدود المعدل لكل مفتاح بحسب مستوى الاستخدام. راجع صفحة التسعير للاطلاع على الحدود الحالية.
نعم — المتغير مجرد خيار. بدّل عبر تغيير معامل model.
حيثما يتوفر البث، يقدّم RunAPI البث من البداية إلى النهاية.
افتح issue في مستودع GitHub العام أو راسل الدعم عبر البريد الإلكتروني.