Kling v3 Omni
KlingTeam/v3-Omni
KlingText → videoRESTAsync task
Price$0.084 /seclowest tier
EndpointPOST /v2/video/kling-3/omni REST
Quick start
This model runs asynchronously: the request returns a task ID, and you poll
GET /v2/tasks/{task_id} or receive a webhook when the result is ready.curl -X POST https://api.widelabs.tr/v2/video/kling-3/omni \ -H "Authorization: Bearer $WIDELABS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A red kite flying over a green hill at sunset, gentle wind, cinematic wide shot", "quality_mode": "std", "duration": 5 }'
import os
import requests
resp = requests.post(
"https://api.widelabs.tr/v2/video/kling-3/omni",
headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
json={
"prompt": "A red kite flying over a green hill at sunset, gentle wind, cinematic wide shot",
"quality_mode": "std",
"duration": 5
},
)
resp.raise_for_status()
# Video jobs are asynchronous: poll the task until it finishes.
import time
task = resp.json()
while task.get("status") not in ("completed", "failed"):
time.sleep(5)
task = requests.get("https://api.widelabs.tr/v2/tasks/" + task["task_id"], params={"wait": 30}).json()
print(task.get("result"))
const resp = await fetch("https://api.widelabs.tr/v2/video/kling-3/omni", { method: "POST", headers: { Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ prompt: "A red kite flying over a green hill at sunset, gentle wind, cinematic wide shot", quality_mode: "std", duration: 5 }), }); let task = await resp.json(); // Video jobs are asynchronous: poll the task until it finishes. while (!["completed", "failed"].includes(task.status)) { await new Promise(r => setTimeout(r, 5000)); task = await (await fetch(`https://api.widelabs.tr/v2/tasks/${task.task_id}?wait=30`)).json(); } console.log(task.result);
Parameters
| Name | Type | Description |
|---|---|---|
store_output | "provider" | "wl1d" | "wl7d" | "wl30d" default "provider" | Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,… |
prompt | string | Prompt. Refer to inputs as <<<image_N>>> (the Nth entry of reference_image_urls) and <<<video_1>>>. Required unless multi_shot is true; omit it in multi-shot mode. |
negative_prompt | string | Accepted for compatibility and ignored: the current Kling v3 API has no negative prompt. Omit it. |
quality_mode | "std" | "pro" default "pro" | Generation quality: 'std' (720p) or 'pro' (1080p). Priced per tier — see /v2/pricing. |
aspect_ratio | "16:9" | "9:16" | "1:1" default "16:9" | Video aspect ratio. Ignored when base_video_url is set (the output matches the input). |
duration | integer default 5 | Video duration in seconds (3-15; 3-10 with reference_video_url). Billed per second of the delivered video. Ignored when base_video_url is set: the output is as long as the input video and is billed by that length. |
multi_shot | boolean | Multi-shot mode (default false): the video is built from the multi_prompt shots (omit prompt). Same per-second price as a single shot. |
shot_type | string | Deprecated and ignored: Kling v3's current API has no storyboard type. Omit it. |
multi_prompt | object[] | The shots, 1-6 items {index, prompt, duration}: indexes run 1..n and the shot durations add up to duration exactly. Only with multi_shot true. |
sound | boolean default false | Generate native audio (synchronized sound/dialogue from the prompt). Only without reference inputs: true with a frame, a reference image, a reference video or base_video_url is refused with 422. Sound costs more per second than silent; see /v2/pricing. |
first_frame_url | string | First frame image (URL or base64 data URI). |
end_frame_url | string | End frame image (URL or base64 data URI). Requires first_frame_url; not allowed with more than 2 images in total. |
reference_image_urls | string[] | Reference images (URLs or base64 data URIs), referred to in the prompt as <<<image_1>>>, <<<image_2>>> ... At most 7 images in total, frames included. |
reference_video_url | string | Feature-reference video URL (output 3-10 s). |
reference_video_keep_audio | boolean default false | Keep the reference video's own sound. |
base_video_url | string | Video to edit (MP4/MOV, 3-15.5 s, 720-2160 px, 24-60 fps). The output is as long as the input video and is billed by that length; duration is ignored. |
base_video_keep_audio | boolean default false | Keep the base video's own sound. |
webhook_url | string | HTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification. |
Related
Similar models
KlingNew
Kling v4
KlingTeam/v4
Text → videoAsync task
From$0.16
per sec
Kling
Kling v3 I2V
KlingTeam/v3-I2V
Image → videoAsync task
From$0.084
per sec
KlingNew
Kling v4 V2V
KlingTeam/v4-V2V
Video → videoAsync task
From$0.19
per sec
Kling
Kling v3 T2V
KlingTeam/v3-T2V
Text → videoAsync task
From$0.084
per sec
Start building on Wide Labs Compute
Create an account, add credit and send your first request with the SDK you already use.