Kling IMAGE O3
Kling IMAGE O3 is an Omni image model built for high-fidelity text-to-image and image-to-image generation at up to 4K resolution. It supports multi-image reference prompting, series image generation for coherent variations, and optional face-focused element control to keep identity stable across outputs.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: imageInference -
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 -
Image output type.
Allowed values 3 values
-
outputFormat
string default: JPG -
Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.
- `JPG`: Best for photorealistic images with smaller file sizes (no transparency).
- `PNG`: Lossless compression, supports high quality and transparency (alpha channel).
- `WEBP`: Modern format providing superior compression and transparency support.
**Transparency**: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., `PNG`, `WEBP`, `TIFF`). `JPG` does not support transparency.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: sync -
Determines how the API delivers task results.
Allowed values 2 values
- Returns complete results directly in the API response.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more 1 resource
- Task Polling 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 image generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to
fastmode.
-
safety»modemode
string default: none -
Safety checking mode for image generation.
Allowed values 2 values
- Disables checking.
- Performs a single check.
-
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
-
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: 10 -
List of reference images (UUID, URL, Data URI, or Base64).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: klingai:kling-image@o3 -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 1 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
Ceramic Dragon Kite Festival
{
"taskType": "imageInference",
"taskUUID": "2fc506cb-77fc-45af-baa9-f121f04b4ff2",
"model": "klingai:kling-image@o3",
"positivePrompt": "An expansive spring festival in a hillside town plaza, centered on an enormous dragon-shaped kite crafted from glazed ceramic panels and lacquered bamboo, soaring low above tiled rooftops. Performers in elaborate festival garments with painted masks, braided cords, tassels, and embroidered sleeves guide the kite with dozens of ribbons. A circle of children release tiny paper swallows into the air while elders watch from stone steps decorated with flowering branches and lantern strands. Background filled with layered rooftops, distant terraces, wind banners, and drifting petals. Golden late-afternoon sunlight, crisp atmosphere, highly detailed faces and fabrics, expressive motion, cinematic composition, deep environmental storytelling, refined color harmony of jade, coral, saffron, and porcelain white, ultra-detailed, premium fantasy realism.",
"width": 2496,
"height": 1664
}{
"taskType": "imageInference",
"taskUUID": "2fc506cb-77fc-45af-baa9-f121f04b4ff2",
"imageUUID": "783eb228-c91a-4d60-8683-21903884f551",
"imageURL": "https://im.runware.ai/image/os/a25d05/ws/3/ii/783eb228-c91a-4d60-8683-21903884f551.jpg",
"seed": 916236551,
"cost": 0.028
}Retrofuturist Icebound Rail Terminal
{
"taskType": "imageInference",
"taskUUID": "ab42515a-2d0c-4e8c-8a83-7365f3f3cd98",
"model": "klingai:kling-image@o3",
"positivePrompt": "A grand retrofuturist rail terminal carved into a vast glacier basin, gleaming chrome locomotives resting on elevated tracks above fractured blue ice, bundled travelers in geometric 1930s-inspired winter fashion, glowing amber platform lamps, vapor plumes drifting across the scene, enormous ribbed glass canopies rimmed with frost, distant icebreaker airships tethered to mooring towers, intricate brass signage in an invented alphabet, polished metal reflections, sweeping cinematic composition, layered depth, ultra-detailed textures, atmospheric perspective, crisp focus, elegant color harmony of cyan, silver, cream, and warm gold, epic yet inviting mood, premium editorial illustration aesthetic",
"width": 2496,
"height": 1664
}{
"taskType": "imageInference",
"taskUUID": "ab42515a-2d0c-4e8c-8a83-7365f3f3cd98",
"imageUUID": "5d70aa3e-8061-4301-a185-664c92848d29",
"imageURL": "https://im.runware.ai/image/os/a18d05/ws/3/ii/5d70aa3e-8061-4301-a185-664c92848d29.jpg",
"seed": 666986601,
"cost": 0.028
}Deserted Orbital Garden Concourse
{
"taskType": "imageInference",
"taskUUID": "70090088-46f9-418e-b258-2540c2381bdf",
"model": "klingai:kling-image@o3",
"positivePrompt": "Using all five reference images as guidance, create a grand orbital garden concourse suspended above a rust-colored planet, blending the structural elegance of a spacefaring conservatory with arid botanical design. A solitary traveler stands near the center in layered sand-toned attire with subtle metallic detailing and a translucent visor, scaled naturally within the environment. Surround the figure with curated terraces of rare succulents, twisted drought-resistant plants, suspended irrigation channels, and sculpted planters. Emphasize warm sunrise beams filtering through curved glass, long shadows, atmospheric haze, polished titanium framework, frosted panels, ceramic pathways, and oxidized copper accents. Ultra-detailed, high fidelity, cinematic composition, expansive depth, refined textures, realistic lighting, premium sci-fi worldbuilding, serene and contemplative mood.",
"width": 2496,
"height": 1664,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/5d463ba7-904d-4020-b3a3-6a2ad07bfe24.jpg",
"https://assets.runware.ai/assets/inputs/3b83f449-805a-4061-a68d-b40fcee480ce.jpg",
"https://assets.runware.ai/assets/inputs/4a4dbc93-c812-493b-bcdb-5035ac50e477.jpg",
"https://assets.runware.ai/assets/inputs/83e14732-4db9-4225-9285-28aa352cafd1.jpg",
"https://assets.runware.ai/assets/inputs/8742f40e-839d-4b0e-851a-a8ec0460fccd.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "70090088-46f9-418e-b258-2540c2381bdf",
"imageUUID": "0621a9f6-1ba9-4f05-bca5-d42e3130c50d",
"imageURL": "https://im.runware.ai/image/os/a24d12/ws/3/ii/0621a9f6-1ba9-4f05-bca5-d42e3130c50d.jpg",
"seed": 1310100576,
"cost": 0.028
}Tidal Glass Railway Terminal
{
"taskType": "imageInference",
"taskUUID": "fb48026c-4701-4eb7-8f00-b6faeb42e119",
"model": "klingai:kling-image@o3",
"positivePrompt": "Blend the composition and architectural character of the first reference image with the styling and silhouette language of the second reference image. Create a majestic retro-futurist railway terminal beside the sea, vast vaulted glass roof, brass framework, polished stone platforms, streamlined locomotives, gulls circling in the distance, luggage trolleys, signal lamps, and a central traveler wearing a sapphire tailored coat and sculptural hat. Emphasize luminous reflections on glass and metal, crisp environmental detail, believable human scale, elegant art deco design, cinematic depth, high fidelity textures, sophisticated color harmony of teal, cream, brass, and deep blue, atmospheric but clear, premium editorial quality.",
"width": 2496,
"height": 1664,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/733c028d-2430-44c7-82df-429d8faf8337.jpg",
"https://assets.runware.ai/assets/inputs/90cf00ba-e5fe-4a16-8dd8-9f90676898eb.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "fb48026c-4701-4eb7-8f00-b6faeb42e119",
"imageUUID": "411ac7e1-fad6-4f32-8fdd-ca0b38921990",
"imageURL": "https://im.runware.ai/image/os/a23d05/ws/3/ii/411ac7e1-fad6-4f32-8fdd-ca0b38921990.jpg",
"seed": 426554814,
"cost": 0.028
}