Esnek parametreler
aspect_ratio, cfg_scale, duration_seconds, enable_sound, mode dahil 8 belgelenmiş parametreyi yapılandırın.
1080p, 10-sec max, 30 fps; fast text-to-video drafting
curl -X POST https://runapi.ai/api/v1/kling/text_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-v2.5-turbo-text-to-video-pro",
"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.textToVideo.run({
model: "kling-v2.5-turbo-text-to-video-pro",
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/text_to_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"kling-v2.5-turbo-text-to-video-pro","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/text_to_video");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'kling-v2.5-turbo-text-to-video-pro',
'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.textToVideo().run({"model":"kling-v2.5-turbo-text-to-video-pro","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.text_to_video.run(
model: "kling-v2.5-turbo-text-to-video-pro",
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.textToVideo.Run({"model":"kling-v2.5-turbo-text-to-video-pro","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-v2.5-turbo-text-to-video-pro \
--endpoint text_to_video \
--wait
18 varyant mevcut
Herhangi bir modeli seçin ve saniyeler içinde oluşturun.
Herhangi bir modeli seçin ve saniyeler içinde oluşturun.
| Sağlayıcı | Kuaishou |
| Model kimliği | kling-v2.5-turbo-text-to-video-pro |
| Modality | Video |
| Görev türleri | Asynchronous |
| API uç noktası | /api/v1/kling/text_to_video, /api/v1/kling/extend_video |
| Faturalandırma birimi | second, call |
| Girdi parametreleri | aspect_ratio, callback_url, cfg_scale, duration_seconds, enable_sound, mode, model, negative_prompt, prompt, source_task_id |
| Maksimum süre | 5s, 10s |
| En-boy oranları | 16:9, 9:16, 1:1 |
| Katalog durumu | Operasyonel |
Ücretsiz kaydolun ve kontrol panelinden kling-v2.5-turbo-text-to-video-pro için bir API anahtarı oluşturun.
kling-v2.5-turbo-text-to-video-pro model kimliği ve parametrelerinizle /api/v1/kling/text_to_video adresine POST isteği gönderin.
Görevi sorgulayın veya tamamlanan kling-v2.5-turbo-text-to-video-pro sonucunu almak için callback'i izleyin.
aspect_ratio, cfg_scale, duration_seconds, enable_sound, mode dahil 8 belgelenmiş parametreyi yapılandırın.
2 genel endpoint sunar: text_to_video, extend_video.
Asenkron görevler, tamamlanma bildirimleri için bir geri çağırma URL'si kabul eder.
Abonelik gerektirmeksizin second, call ile ölçülür.
promptVideo description.
cfg_scaleGuidance scale (0-1).
aspect_ratioOutput aspect ratio. (16:9, 9:16, 1:1)
callback_urlWebhook URL for async notifications.
enable_soundEnable sound generation.
negative_promptNegative prompt.
duration_secondsDuration in seconds. (5, 10)
Metin brief’inden ürün lansmanı videoları ve kısa reklamlar üretin; prodüksiyonu haftalardan saatlere indirin.
Ders senaryolarını kamera ya da ekip olmadan ölçeklenebilir animasyonlu açıklayıcı videolara dönüştürün.
Sosyal platformlar için viral kısa içerikleri doğrudan bir prompt ile üretin.
Bu model için henüz doğrulanmış müşteri geri bildirimi mevcut değil.
Quickstart'ta gösterilen model ID'sini gönderin.
Anahtar bazlı hız limitleri kullanım kademesine göre ölçeklenir. Güncel limitler için fiyatlandırma sayfasına bakın.
Evet — varyant bir bayraktır. model parametresini değiştirerek geçiş yapın.
Streaming उपलब्ध olduğunda RunAPI uçtan uca stream eder.
Herkese açık GitHub reposunda bir issue açın veya desteğe e-posta gönderin.
Kurumsal kurulum, entegrasyonlar ve teknik sorular konusunda yardımcı oluruz.
İletişime geçin