Kling O1 (Omni)
Kling Omni Video Reference generates videos from a single input video URL combined with a text prompt and optional images or elements. It supports customizable duration and aspect ratios, enabling creative video synthesis based on reference footage.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "kling-video/omni/video-reference", { input: { "mode": "pro", "prompt": "A cinematic scene at sunset", "duration": 5, "video_urls": [ "https://example.com/input.mp4" ], "aspect_ratio": "16:9" }, withPolling: true, },); console.log(result);Calling the API
Use kling-video/omni/video-reference with the Higgsfield API. Keep credentials on your server.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "kling-video/omni/video-reference", { input: { "mode": "pro", "prompt": "A cinematic scene at sunset", "duration": 5, "video_urls": [ "https://example.com/input.mp4" ], "aspect_ratio": "16:9" }, withPolling: true, },); console.log(result);Request parameters
promptstring · required
Write your prompt here
{
"type": "string",
"title": "Prompt",
"description": "Write your prompt here"
}modestring · optional
mode
Options: std, pro
Default: "pro"
{
"enum": [
"std",
"pro"
],
"type": "string",
"default": "pro"
}durationinteger · optional
Duration
Default: 5
{
"mode": {
"enum": [
"std",
"pro"
],
"type": "string",
"default": "pro"
},
"type": "integer",
"title": "Duration",
"default": 5,
"maximum": 10,
"minimum": 3
}elementsarray · optional
elements
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4,
"minItems": 0
}image_urlsarray · optional
image urls
{
"type": "array",
"items": {
"type": "string",
"title": "Image URL",
"format": "uri"
},
"maxItems": 4,
"minItems": 0
}video_urlsarray · required
video urls
{
"type": "array",
"items": {
"type": "string",
"title": "Video URL",
"format": "uri"
},
"maxItems": 1,
"minItems": 1
}aspect_ratiostring · optional
aspect ratio
Options: 16:9, 9:16, 1:1
Default: "16:9"
{
"enum": [
"16:9",
"9:16",
"1:1"
],
"type": "string",
"default": "16:9"
}Price
Standard self-serve rates in USD per video second: 720p: $0.0945; 1080p: $0.1252. Total price = selected rate × output duration in seconds. Input video duration is not added to the billed duration. For explicit multi-shot requests, output duration is the sum of the shot durations.
View all pricing