video
from0.0945 / s
Kling O3
Kling O3 Video Edit generates edited videos from a single input video URL and optional images or elements, guided by a text prompt. Users can select modes including standard, professional, or 4K to customize output quality.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "kling-video/o3/video-edit", { input: { "mode": "pro", "prompt": "A cinematic scene at sunset", "video_urls": [ "https://example.com/input.mp4" ] }, withPolling: true, },); console.log(result);Calling the API
Use kling-video/o3/video-edit 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/o3/video-edit", { input: { "mode": "pro", "prompt": "A cinematic scene at sunset", "video_urls": [ "https://example.com/input.mp4" ] }, 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, 4k
Default: "pro"
{
"enum": [
"std",
"pro",
"4k"
],
"type": "string",
"default": "pro"
}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
}Price
Standard self-serve rates in USD per video second: 720p: $0.0945; 1080p: $0.1263. Billed duration is the source video duration rounded to the nearest whole second, capped at 15 seconds. Multi-shot requests use the sum of the specified shot durations. Total price = selected rate × billed duration in seconds; input duration is not added again.
View all pricing