Kling VIDEO O1 Pro
Kling VIDEO O1 Pro is a unified multimodal video foundation model for controllable generation and instruction based editing. It supports text prompts, visual references, and video input so developers can build high control pipelines for pacing, transitions, object changes, and style revisions.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: videoInference -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
outputType
string default: URL -
Video output type.
Allowed values 1 value
-
outputFormat
string default: MP4 -
File format for the generated video.
Allowed values 3 values
-
outputQuality
integer min: 20 max: 99 default: 95 -
Compression quality of the output. Higher values preserve quality but increase file size.
-
webhookURL
string URI -
Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more 1 resource
- Webhooks PLATFORM
- Webhooks
-
deliveryMethod
string default: async -
Determines how the API delivers task results.
Allowed values 1 value
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation.
Learn more 1 resource
- Task Responses PLATFORM
-
uploadEndpoint
string URI -
Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.
Common use cases:
- Cloud storage: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- CDN integration: Upload to content delivery networks for immediate distribution.
// S3 presigned URL for secure upload https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600 // Google Cloud Storage presigned URL https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789 // Custom storage endpoint https://storage.example.com/uploads/generated-image.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
-
safety
object -
Content safety checking configuration for video generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to 'fast' mode.
-
safety»modemode
string default: none -
Safety checking mode for video generation.
Allowed values 3 values
- Disables checking.
- Checks key frames.
- Checks all frames.
-
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeis 'URL'.
-
includeCost
boolean default: false -
Include task cost in the response.
-
numberResults
integer min: 1 max: 20 default: 1 -
Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object.-
inputs»referenceImagesreferenceImages
array of strings min items: 1max items: 7 -
List of reference images (UUID, URL, Data URI, or Base64).
-
inputs»frameImagesframeImages
array of objects min items: 1max items: 2 -
For image-to-video workflows, each item can be a plain image input (UUID, URL, Data URI, or Base64), or an object with an explicit
frameposition.When no frame is specified, images are distributed automatically:
- 1 image: First frame.
- 2 images: First and last frames.
- 3+ images: First and last frames, intermediates evenly spaced.
Properties 2 properties
-
inputs»frameImages»imageimage
string required -
Image input (UUID, URL, Data URI, or Base64).
-
inputs»frameImages»frameframe
object -
Target frame position for the image. Supports first and last frame.
Allowed values 4 values
- First frame of the video.
- Last frame of the video.
- Frame index 0 (first frame).
- Frame index -1 (last frame).
-
inputs»videovideo
string -
Source video for prompt-based editing. Dimensions and duration match the input video (UUID or URL).
-
inputs»referenceVideosreferenceVideos
array of strings items: 1 -
List of reference videos (UUID, URL).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: klingai:kling@o1 -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 2 max: 2500 -
Text prompt describing elements to include in the generated output.
Learn more 2 resources
-
Width of the generated media in pixels.
Learn more 2 resources
-
Height of the generated media in pixels.
Learn more 2 resources
-
duration
integer default: 5 -
Duration of the generation in seconds. Total frames = duration × fps.
Provider Settings
Parameters specific to this model provider. These must be nested inside the providerSettings.klingai object.
providerSettings.klingai object.-
providerSettings»klingai»fastfast
boolean default: false -
Enable fast generation mode. Requires input videos between 6-20 seconds (standard mode: 3-10 seconds). Only applies to video editing workflows.
-
providerSettings»klingai»keepOriginalSoundkeepOriginalSound
boolean default: false -
Maintain the original sound from the reference video.
Arctic Glasswright Workshop Interior
{
"taskType": "videoInference",
"taskUUID": "59e55a01-8a4a-4740-8beb-f08b0a4aa7bc",
"model": "klingai:kling@o1",
"positivePrompt": "Using both reference images as the visual foundation, create a cinematic realistic scene inside a polar glassmaking atelier. A solitary glasswright carefully shapes a luminous translucent sphere at the workbench while warm furnace light flickers across ice walls and hanging crystal instruments. Fine breath vapor curls in the cold air, tiny sparks rise, and frost glitters on tools and shelves. Start with a medium-wide establishing shot of the workshop, then slowly push in as the artisan rotates the glowing piece with calm precision. Add subtle environmental motion: swaying suspended tubing, drifting steam, shimmering reflections through glass, and soft snow visible beyond a distant doorway. End on a close view of the finished orb reflecting the entire room like a miniature frozen world. Rich contrast between amber firelight and deep cyan ice, elegant textures, highly controlled motion, premium cinematic detail.",
"width": 1920,
"height": 1080,
"duration": 5,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/eb01611e-0f0d-4572-b567-41db63ee720c.jpg",
"https://assets.runware.ai/assets/inputs/49f92964-fc1c-418e-a347-38804169bae0.jpg"
]
}
}{
"taskType": "videoInference",
"taskUUID": "59e55a01-8a4a-4740-8beb-f08b0a4aa7bc",
"videoUUID": "fd7d9e1d-d0b9-4a7d-90c1-d1d3ad237d5b",
"videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/fd7d9e1d-d0b9-4a7d-90c1-d1d3ad237d5b.mp4",
"cost": 0.56
}Porcelain Automaton Garden Waltz
{
"taskType": "videoInference",
"taskUUID": "4b240d50-1ef6-40ef-b186-290cc09b3413",
"model": "klingai:kling@o1",
"positivePrompt": "Animate a graceful porcelain automaton ballerina inside an opulent indoor topiary hall. Begin from the supplied frame image and create a dreamy, high-end cinematic sequence with gentle camera orbit and slow push-in movement. The automaton makes delicate rotational dance motions, fingertips and skirt panels moving with precise mechanical elegance. Spiral hedges subtly sway, suspended glass prisms catch shifting light, petals drift through the air, and thin morning haze creates depth beams across marble paths. Emphasize polished ceramic texture, cobalt floral patterns, gold filigree joints, refined fantasy realism, smooth motion, rich depth, lyrical atmosphere, and coherent subject identity throughout the shot.",
"duration": 5,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/15cc1d41-d463-45ff-833e-2e8d1f28a05c.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "4b240d50-1ef6-40ef-b186-290cc09b3413",
"videoUUID": "79363e4b-f3b2-4129-b123-c89c8232158a",
"videoURL": "https://vm.runware.ai/video/os/a24d12/ws/5/vi/79363e4b-f3b2-4129-b123-c89c8232158a.mp4",
"cost": 0.56
}Moonlit Cliffside Violin Duel
{
"taskType": "videoInference",
"taskUUID": "c48c06bf-4095-4d07-a51a-c914d807c108",
"model": "klingai:kling@o1",
"positivePrompt": "On a narrow wind-carved cliff above a roaring black sea, two rival violinists face each other on separate stone platforms connected by a fractured arch bridge. Midnight sky with fast-moving silver clouds and a huge low moon. Their music seems to shape the world: each bow stroke sends visible ripples through the air, scattering pale sparks and bending mist into spirals. One performer wears a tailored ivory coat with long flowing tails, the other a deep crimson coat with metallic embroidery; both move with balletic precision. Start with a wide aerial shot circling the cliff, then push in as the duel intensifies. Waves crash far below, loose pebbles skitter across the rock, fabric whips in the wind, hair and coats react naturally. The bridge begins to crack as the musical contest peaks, small stones falling into the surf. Finish on a close-up of both musicians locking eyes as the final note hangs in the air and the moonlight floods the scene. Ultra-cinematic, dramatic contrast, rich atmosphere, highly detailed textures, fluid character animation, dynamic camera movement, realistic physics, epic and tense mood.",
"width": 1920,
"height": 1080,
"duration": 10
}{
"taskType": "videoInference",
"taskUUID": "c48c06bf-4095-4d07-a51a-c914d807c108",
"videoUUID": "d9b23abc-d3bc-4715-9c01-dc9c21d58e1a",
"videoURL": "https://vm.runware.ai/video/os/a10d08/ws/5/vi/d9b23abc-d3bc-4715-9c01-dc9c21d58e1a.mp4",
"cost": 1.12
}Clockwork Orchard Chase Sequence
{
"taskType": "videoInference",
"taskUUID": "3bde4059-ffc8-4afc-b15a-b87c48c8aa51",
"model": "klingai:kling@o1",
"positivePrompt": "Transform the source footage into a fantastical clockwork orchard at golden dawn. Replace the farmland with rows of towering fruit trees made of polished brass, copper leaves, and delicate gear-driven branches. The runner becomes a nimble courier in a cream canvas coat carrying a satchel of glowing mechanical pears. As the camera advances, ripe metal fruit clicks open to release tiny paper birds that spiral through the air. Add drifting pollen-like sparks, rotating irrigation wheels, and distant wind-powered harvest machines on the horizon. Preserve the original movement, pacing, and camera trajectory of the source video while enhancing it with cinematic depth, rich atmospheric perspective, elegant mechanical detail, and a sense of playful urgency.",
"providerSettings": {
"klingai": {
"keepOriginalSound": true
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/1a0b80d4-34bc-4c77-be12-370f5eb71bf2.mp4"
}
}{
"taskType": "videoInference",
"taskUUID": "3bde4059-ffc8-4afc-b15a-b87c48c8aa51",
"videoUUID": "3a14d39f-4190-4e55-851c-3a6222f48d99",
"videoURL": "https://vm.runware.ai/video/os/a20d05/ws/5/vi/3a14d39f-4190-4e55-851c-3a6222f48d99.mp4",
"cost": 1.008
}Cathedral Aquarium Time Drift
{
"taskType": "videoInference",
"taskUUID": "f7ad0dfa-6192-43b0-a1e3-47e22afa9dfc",
"model": "klingai:kling@o1",
"positivePrompt": "A cinematic transformation sequence inside a colossal cathedral converted into an aquarium. Begin on the first frame composition and evolve smoothly toward the last frame image. Slow floating camera movement through the central aisle, reflections rippling across stone, fish circling through towering tanks, droplets hanging in the air, subtle debris, drifting plants, shifting light rays through stained glass, a dreamlike passage of many years compressed into seconds. Emphasize continuity of architecture and subject placement while gradually changing the environment from pristine aquatic grandeur into suspended watery ruin and overgrown wonder. Highly detailed textures, atmospheric depth, graceful motion, natural physics, epic yet intimate mood.",
"duration": 5,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/3a29e936-2c6b-4576-adae-e8a1394b6149.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/8846fe54-01e5-4c8b-9488-90bcff8212c6.jpg",
"frame": "last"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "f7ad0dfa-6192-43b0-a1e3-47e22afa9dfc",
"videoUUID": "fb09d737-e43d-4a2d-9b2e-604730aa1a04",
"videoURL": "https://vm.runware.ai/video/os/a21d05/ws/5/vi/fb09d737-e43d-4a2d-9b2e-604730aa1a04.mp4",
"cost": 0.56
}