Kling IMAGE 3.0
Kling IMAGE 3.0 is an image generation model that targets professional-grade outputs with native 2K to 4K resolution. It focuses on realism through stronger handling of textures, lighting, and materials, and it supports image-to-image workflows for iterative refinement of subjects or layouts while keeping results consistent.
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 items: 1 -
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@3 -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required 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
Velvet Circus Dressing Room
{
"taskType": "imageInference",
"taskUUID": "3ba7ae08-76de-4f81-ab0f-64c7aaf0000f",
"model": "klingai:kling-image@3",
"positivePrompt": "An elegant vintage circus dressing room moments before a performance, centered on a poised aerial performer seated at an ornate wooden vanity, adjusting a deep crimson velvet collar and pearl-studded gloves. The room is filled with textured fabrics, brushed brass fixtures, worn mahogany, powder boxes, face paints, costume feathers, satin ribbons, hanging sequined garments, and a tall standing mirror reflecting a sliver of the striped big top beyond the curtain. Warm tungsten bulbs around the mirror cast soft flattering light across realistic skin, embroidered textiles, metallic trim, and aged surfaces. Cinematic composition, professional fashion editorial realism, subtle storytelling, expressive but restrained mood, ultra-detailed materials, natural anatomy, believable shadows, crisp focus, luxurious color harmony, immersive depth, premium photographic finish.",
"width": 1664,
"height": 2496
}{
"taskType": "imageInference",
"taskUUID": "3ba7ae08-76de-4f81-ab0f-64c7aaf0000f",
"imageUUID": "8cc5ec48-46fa-4795-855f-9f1a66d5d5c1",
"imageURL": "https://im.runware.ai/image/os/a18d05/ws/3/ii/8cc5ec48-46fa-4795-855f-9f1a66d5d5c1.jpg",
"seed": 843701865,
"cost": 0.028
}Amber Archive Reading Hall
{
"taskType": "imageInference",
"taskUUID": "fe404c02-8897-490c-8c56-6f800e0bbaf3",
"model": "klingai:kling-image@3",
"positivePrompt": "Transform the reference composition into an opulent old-world archive reading hall, soaring ribbed arches, carved walnut shelves packed with weathered folios, amber sconces and suspended brass lamps, richly grained reading tables, ladders on rails, vellum manuscripts, dust motes glowing in warm air, intricate parquet floor, subtle scholarly clutter, realistic paper fibers, polished metal details, deep spatial depth, refined material rendering, professional architectural photography, immersive atmosphere, ultra-detailed, natural color grading, crisp textures, believable light falloff",
"width": 2496,
"height": 1664,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/ca759048-2e8d-4bf1-9a16-4f0d1bab46bc.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "fe404c02-8897-490c-8c56-6f800e0bbaf3",
"imageUUID": "3e7074a8-65e9-4cf5-8e74-518856a9259d",
"imageURL": "https://im.runware.ai/image/os/a22d05/ws/3/ii/3e7074a8-65e9-4cf5-8e74-518856a9259d.jpg",
"seed": 490621982,
"cost": 0.028
}Velvet-Armored Swan Knight
{
"taskType": "imageInference",
"taskUUID": "e93e9c10-ac72-41e8-8dd4-424cbb4c6745",
"model": "klingai:kling-image@3",
"positivePrompt": "Transform the reference pose into an exquisite fantasy character portrait: a regal swan knight wearing velvet-lined pearl-white armor, feathered pauldrons, etched silver filigree, and a sculpted helm inspired by a swan's neck and beak. Preserve the elegant full-body stance from the reference image while redesigning the figure as a noble warrior standing in a candlelit palace hall with marble floors, fallen white feathers, and towering embroidered banners. Hyper-real textures, polished metal, soft velvet, layered plumage, subtle skin detail, cinematic rim lighting, atmospheric depth, refined color harmony of ivory, silver, burgundy, and muted gold, realistic proportions, editorial fashion-fantasy photography, ultra-detailed, premium 2k quality",
"width": 1664,
"height": 2496,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/080c0de8-0c59-4f33-b851-5fcd1f2cfaff.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "e93e9c10-ac72-41e8-8dd4-424cbb4c6745",
"imageUUID": "6de2c42a-b757-44e2-ad6b-bfcf88dfcdf9",
"imageURL": "https://im.runware.ai/image/os/a12d13/ws/2/ii/6de2c42a-b757-44e2-ad6b-bfcf88dfcdf9.jpg",
"seed": 1943617968,
"cost": 0.028
}Cobalt Rain Alley Tableau
{
"taskType": "imageInference",
"taskUUID": "b47f79d6-af49-4208-8995-63d507de6a05",
"model": "klingai:kling-image@3",
"positivePrompt": "A narrow cobalt-painted alley after a sudden summer downpour in an old river city, seen at street level, with slick cobblestones reflecting amber shop lamps and electric signage, a violin repair stall half-open under striped canvas awnings, rows of hanging paper charms fluttering between buildings, a tired courier on a chrome bicycle paused beside stacked wooden crates, a tuxedo cat perched on a red mailbox, puddles rippling with fresh raindrops, distant laundry lines, intricate plaster walls with peeling pigments, brass door handles, wet leather satchels, glowing window interiors, realistic skin, fabric, stone, wood, and metal textures, deep perspective, atmospheric mist, dramatic practical lighting, high micro-detail, natural cinematic color grading, editorial-quality realism",
"width": 2496,
"height": 1664
}{
"taskType": "imageInference",
"taskUUID": "b47f79d6-af49-4208-8995-63d507de6a05",
"imageUUID": "bfa9ed7b-d871-4ecc-b574-d400460f68b2",
"imageURL": "https://im.runware.ai/image/os/a15d18/ws/3/ii/bfa9ed7b-d871-4ecc-b574-d400460f68b2.jpg",
"seed": 1388192264,
"cost": 0.028
}