Kling IMAGE O1
Kling IMAGE O1 is a high control image generation model for stable characters and precise edits. It supports detailed composition control, strong style handling, and localized modifications without structural drift. Ideal for pipelines that need repeatable shots and complex visual continuity.
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@o1 -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 3 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
-
resolution
string -
Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.
Allowed values 2 values
Ivory Automaton Tailor Studio
{
"taskType": "imageInference",
"taskUUID": "b7b5ebf0-da00-430f-a171-3d2d62e0512b",
"model": "klingai:kling-image@o1",
"positivePrompt": "An elegant ivory-faced automaton tailor in a velvet waistcoat stands in a narrow couture studio filled with suspended measuring tapes, pinned fabric swatches, carved mannequins, and half-finished ceremonial garments. Behind the character, tall arched windows reveal a foggy canal city with hanging laundry bridges and distant copper spires. The automaton has porcelain hands, subtle brass joints, a calm expression, and a magnifying monocle flipped upward. Composition: three-quarter portrait, subject slightly left of center, worktable in foreground with scissors, chalk, and folded embroidered cloth, layered depth from foreground tools to background city view. Style: lavish cinematic fashion editorial mixed with old-world mechanical elegance, intricate textures, soft directional morning light, muted jewel tones, crisp facial detail, precise garment stitching, polished metallic accents, atmospheric depth, highly controlled framing, premium image quality.",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "b7b5ebf0-da00-430f-a171-3d2d62e0512b",
"imageUUID": "dfdf8140-eccd-4a23-b1c4-605497c83373",
"imageURL": "https://im.runware.ai/image/os/a19d05/ws/2/ii/dfdf8140-eccd-4a23-b1c4-605497c83373.jpg",
"seed": 2127685823,
"cost": 0.028
}Volcanic Choir Procession Portrait
{
"taskType": "imageInference",
"taskUUID": "a44e0ce3-9497-41e3-ba6a-54680e72f9e1",
"model": "klingai:kling-image@o1",
"positivePrompt": "Using the three reference images, create a cinematic wide portrait of the singer transformed into the lead figure of a solemn volcanic choir procession. Preserve the facial identity, hair shape, and pose direction from the portrait reference. Integrate the ceremonial garment design from the costume reference with high fidelity, including the feathered collar, layered textiles, embroidered hems, and brass ornamentation. Place the subject in the basalt canyon environment from the landscape reference, with lava fissures casting warm underlight, drifting ash, smoke, ember particles, and towering stone columns receding into depth. Add a line of similarly dressed background choristers carrying long banners and resonant metal instruments, arranged with clear depth separation. Tone is sacred, severe, and grand. Ultra-detailed textures, controlled composition, sharp subject focus, realistic skin, atmospheric perspective, dramatic rim lighting, high visual continuity across references.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/374c77e2-35a2-4583-a495-bd3cb7a13a2f.jpg",
"https://assets.runware.ai/assets/inputs/e10047ab-e834-46f2-a187-c4f4b552555c.jpg",
"https://assets.runware.ai/assets/inputs/aa587494-14fe-4e10-be2a-536ab9fd7ca4.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "a44e0ce3-9497-41e3-ba6a-54680e72f9e1",
"imageUUID": "27f0e313-4c78-4717-8055-0eff2b28eed5",
"imageURL": "https://im.runware.ai/image/os/a07d11/ws/2/ii/27f0e313-4c78-4717-8055-0eff2b28eed5.jpg",
"seed": 308117652,
"cost": 0.028
}Velvet Canopy Duelists
{
"taskType": "imageInference",
"taskUUID": "26b68be0-a535-4153-b459-e3d94edbcb4c",
"model": "klingai:kling-image@o1",
"positivePrompt": "Two rival duelists facing each other on a narrow suspended walkway woven through colossal crimson tree canopies, one wearing lacquered jade armor with flowing cream sashes, the other in deep plum layered robes with bronze feathered shoulder pieces, both clearly visible in full figure with distinct silhouettes and balanced spacing. Below them, a vast abyss filled with drifting pollen, hanging lantern insects, and distant woven nest dwellings tucked into giant branches. Dynamic low-angle cinematic composition, sweeping depth, detailed textiles, ornate weapon design, tension before the first strike, painterly fantasy realism, refined color contrast of jade, plum, amber, and bark-red, atmospheric haze, sharp focal detail on the characters, highly controlled anatomy, elegant environmental storytelling, premium lighting, dramatic yet readable scene.",
"width": 1360,
"height": 768
}{
"taskType": "imageInference",
"taskUUID": "26b68be0-a535-4153-b459-e3d94edbcb4c",
"imageUUID": "ec83c039-e8d3-49e2-89f2-8ad5c888851f",
"imageURL": "https://im.runware.ai/image/os/a07d11/ws/2/ii/ec83c039-e8d3-49e2-89f2-8ad5c888851f.jpg",
"seed": 2035320172,
"cost": 0.028
}Gilded Archive Reading Nook
{
"taskType": "imageInference",
"taskUUID": "9d23d3bc-4a8a-4d04-ae8c-46f2330ae605",
"model": "klingai:kling-image@o1",
"positivePrompt": "Transform the reference interior into an opulent old-world reading nook while preserving the core room structure and camera angle: carved walnut shelving packed with weathered books, a deep emerald armchair with brass nailhead trim, scattered parchment sheets, a celestial floor globe, embroidered cushions, a polished side table with an antique magnifier, warm amber lamp glow mixing with daylight from the arched window, intricate patterned rug, dust motes in the air, layered textures, cinematic interior photography, highly detailed, elegant, immersive, refined color grading",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/cbbbf8c6-2a10-4e81-8296-4024e322bf33.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "9d23d3bc-4a8a-4d04-ae8c-46f2330ae605",
"imageUUID": "5733bf96-988c-45b0-9772-ff5978fd101f",
"imageURL": "https://im.runware.ai/image/os/a21d05/ws/2/ii/5733bf96-988c-45b0-9772-ff5978fd101f.jpg",
"seed": 1779508533,
"cost": 0.028
}