출력 해상도
공개된 endpoint 스키마의 720p, 1080p, 4k를 지원합니다.
curl -X POST https://runapi.ai/api/v1/kling/edit_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-v3-omni-reference",
"prompt": "나뭇잎이 떨어지는 가을 숲을 걷는 사람의 10초짜리 영상을 시네마틱 카메라 팬으로 만들어 주세요.",
"source_video_url": "https://cdn.runapi.ai/public/samples/video.mp4",
"aspect_ratio": "auto"
}'
import { KlingClient } from "@runapi.ai/kling";
const client = new KlingClient();
const result = await client.editVideo.run({
model: "kling-v3-omni-reference",
prompt: "나뭇잎이 떨어지는 가을 숲을 걷는 사람의 10초짜리 영상을 시네마틱 카메라 팬으로 만들어 주세요.",
source_video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
aspect_ratio: "auto",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/kling/edit_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"kling-v3-omni-reference","prompt":"나뭇잎이 떨어지는 가을 숲을 걷는 사람의 10초짜리 영상을 시네마틱 카메라 팬으로 만들어 주세요.","source_video_url":"https://cdn.runapi.ai/public/samples/video.mp4","aspect_ratio":"auto"}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/kling/edit_video");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'kling-v3-omni-reference',
'prompt' => '나뭇잎이 떨어지는 가을 숲을 걷는 사람의 10초짜리 영상을 시네마틱 카메라 팬으로 만들어 주세요.',
'source_video_url' => 'https://cdn.runapi.ai/public/samples/video.mp4',
'aspect_ratio' => 'auto',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.editVideo().run({"model":"kling-v3-omni-reference","prompt":"나뭇잎이 떨어지는 가을 숲을 걷는 사람의 10초짜리 영상을 시네마틱 카메라 팬으로 만들어 주세요.","source_video_url":"https://cdn.runapi.ai/public/samples/video.mp4","aspect_ratio":"auto"});
task.waitForResult();
require "runapi/kling"
client = RunApi::Kling::Client.new
result = client.edit_video.run(
model: "kling-v3-omni-reference",
prompt: "나뭇잎이 떨어지는 가을 숲을 걷는 사람의 10초짜리 영상을 시네마틱 카메라 팬으로 만들어 주세요.",
source_video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
aspect_ratio: "auto"
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.editVideo.Run({"model":"kling-v3-omni-reference","prompt":"나뭇잎이 떨어지는 가을 숲을 걷는 사람의 10초짜리 영상을 시네마틱 카메라 팬으로 만들어 주세요.","source_video_url":"https://cdn.runapi.ai/public/samples/video.mp4","aspect_ratio":"auto"})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model kling-v3-omni-reference \
--endpoint edit_video \
--wait
사용 가능한 버전 18개
원하는 모델을 선택하고 몇 초 만에 생성해보세요.
| 제공자 | Kuaishou |
| 모델 ID | kling-v3-omni-reference |
| 모달리티 | 비디오 |
| 작업 유형 | Asynchronous |
| API 엔드포인트 | /api/v1/kling/text_to_video, /api/v1/kling/edit_video |
| 청구 단위 | 초 |
| 입력 매개변수 | aspect_ratio, callback_url, duration_seconds, enable_sound, model, output_resolution, prompt, reference_image_urls, source_task_id, source_video_url |
| 최대 기간 | 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s |
| 최대 해상도 | 720p, 1080p, 4k |
| 종횡비 | 16:9, 9:16, 1:1, auto |
| 카탈로그 상태 | 운영 중 |
무료로 가입하고 대시보드에서 kling-v3-omni-reference용 API 키를 만드세요.
/api/v1/kling/edit_video로 kling-v3-omni-reference 모델 ID와 매개변수를 포함한 POST 요청을 보내세요.
작업을 폴링하거나 콜백을 따라 완료된 kling-v3-omni-reference 결과를 가져오세요.
공개된 endpoint 스키마의 720p, 1080p, 4k를 지원합니다.
aspect_ratio, duration_seconds, enable_sound, output_resolution, prompt 포함 8개 문서화된 파라미터를 설정할 수 있습니다.
2개의 공개 endpoint를 제공합니다: text_to_video, edit_video.
비동기 태스크는 완료 알림을 위한 콜백 URL을 수락합니다.
promptVideo description.
aspect_ratioOutput aspect ratio; source-only requests require auto. (auto, 16:9, 9:16, 1:1)
callback_urlWebhook URL for async notifications.
enable_soundEnable synchronized sound generation; source-video requests require false.
source_task_idCompleted compatible task ID; cannot be combined with source_video_url.
duration_secondsOutput duration in seconds. (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
source_video_urlPublic source video URL; cannot be combined with source_task_id.
output_resolutionOutput resolution. (720p, 1080p, 4k)
reference_image_urlsOrdered reference image URLs.
prompt에서 바로 쓸 수 있는 짧은 클립을 생성합니다.
여러 방향을 빠르게 테스트합니다.
개발 도구에 모델 컨텍스트를 제공해 영상 asset을 만들 수 있습니다.
quickstart에 표시된 모델 ID를 전달하세요.
네. 호출 또는 단위 기준으로 측정됩니다.