video
from0.0632 / s
Kling O1 (Omni)
Kling Omni Image Reference generates videos from images and text prompts, allowing customization of duration, aspect ratio, and elements. It supports modes for standard or professional output, making it suitable for creating dynamic video content from static images.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "kling-video/omni/image-reference", { input: { "mode": "pro", "prompt": "A cinematic scene at sunset", "duration": 5, "aspect_ratio": "16:9" }, withPolling: true, },); console.log(result);Calling the API
Use kling-video/omni/image-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/image-reference", { input: { "mode": "pro", "prompt": "A cinematic scene at sunset", "duration": 5, "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
{
"type": "integer",
"title": "Duration",
"default": 5,
"maximum": 10,
"minimum": 3
}elementsarray · optional
elements
{
"type": "array",
"items": {
"type": "string"
}
}image_urlsarray · optional
image urls
{
"type": "array",
"items": {
"type": "string",
"title": "Image URL",
"format": "uri"
}
}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.0632; 1080p: $0.0837. Total price = selected rate × output duration in seconds. For explicit multi-shot requests, output duration is the sum of the shot durations.
View all pricing