Kling Image Omni kling-image-o1
Submit a Kling native omni image task via /kling/v1/images/omni-image. Task results may contain images or series_images.
Authorizations
Pass Authorization: Bearer <token> in the request header.
Headers
Data exchange format
Body
Model name
kling-image-o1 Text prompt, can include positive and negative descriptions
- Prompts can be templated to meet different image generation needs
- Must not exceed 2500 characters
- Use <<<>>> format to specify an image, e.g.: <<<image_1>>>
2500Reference image list. Use key:value format:
- Supports image Base64 encoding or image URL (must be accessible)
- Supported image formats:
.jpg/.jpeg/.png - Image file size must not exceed 10MB, image dimensions must be at least 300px, aspect ratio between 1:2.5 ~ 2.5:1
- The total number of reference elements and reference images must not exceed 10
image_urlparameter value must not be empty
10Element reference list, configured based on element IDs in the element library
-
Use key:value format:
"element_list":[{ "element_id": 829836802793406551 }] -
The total number of reference elements and reference images must not exceed 10
10Generated image resolution
1k, 2k Switch between single image / series image result
single Aspect ratio of generated images (width:height)
Enum values: 16:9 9:16 1:1 4:3 3:4 3:2 2:3 21:9 auto
auto: intelligently generates aspect ratio based on input content
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9, auto Number of images to generate
- Range: [1, 9]
- When result_type is series, this parameter is ignored
1 <= x <= 9Number of images in the series
Enum values: 2 3 4 5 6 7 8 9 auto
auto: intelligently selects the number of images based on input content- When using
auto, it consumes concurrency quota corresponding to the actual number generated - When result_type is single, this parameter is ignored
2, 3, 4, 5, 6, 7, 8, 9, auto 2 <= x <= 9Whether to also generate a watermarked result.
Callback notification URL for this task. If configured, the server will proactively notify when the task status changes.
Custom task ID
- User-defined task ID; does not override the system-generated task ID, but supports querying by this ID
- Must be unique per user