Kling O1
Generate high-quality images with optional reference image support. Reference images in prompts using @Image1, @Image2, etc. Supports up to 2K resolution and multiple aspect ratios.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-o1",
"version": "0.0.1",
"input": {
"prompt": "a beautiful sunset over the ocean, photorealistic, vibrant colors",
"aspect_ratio": "16:9",
"resolution": "1K",
"num_images": 1
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
| aspect_ratio |
string |
auto |
Aspect ratio of generated images. 'auto' determines based on input. enum: auto, 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 |
| image_urls |
array |
|
List of reference images. Reference in prompt using @Image1, @Image2, etc. |
| num_images |
integer |
1 |
Number of images to generate (1-9). |
| output_format |
string |
png |
The format of the generated image. enum: jpeg, png, webp |
| prompt |
string |
|
Text prompt for image generation. Reference images using @Image1, @Image2, etc. |
| resolution |
string |
1K |
Image generation resolution. enum: 1K, 2K |
Examples
High-res landscape with reference:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-o1",
"version": "0.0.1",
"input": {
"prompt": "redesign @Image1 as a futuristic cityscape, neon lights, cyberpunk style",
"image_urls": ["https://example.com/city-reference.jpg"],
"aspect_ratio": "21:9",
"resolution": "2K",
"output_format": "png"
}
}'
Multiple image generation:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-o1",
"version": "0.0.1",
"input": {
"prompt": "a minimalist product shot of a perfume bottle, studio lighting, marble background",
"aspect_ratio": "1:1",
"resolution": "2K",
"num_images": 4,
"output_format": "jpeg"
}
}'
Related Models
Documentation
1---2name: kling-o13description: Kling O1. Generate images with reference image support and up to 2K resolution. Triggers: image generation, kling, o1, text to image, reference image4---56# Kling O178Generate high-quality images with optional reference image support. Reference images in prompts using @Image1, @Image2, etc. Supports up to 2K resolution and multiple aspect ratios.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "kling-o1",20 "version": "0.0.1",21 "input": {22 "prompt": "a beautiful sunset over the ocean, photorealistic, vibrant colors",23 "aspect_ratio": "16:9",24 "resolution": "1K",25 "num_images": 126 }27 }'28```2930## Parameters3132| Parameter | Type | Default | Description |33|-----------|------|---------|-------------|34| aspect_ratio | string | auto | Aspect ratio of generated images. 'auto' determines based on input. enum: auto, 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 |35| image_urls | array | | List of reference images. Reference in prompt using @Image1, @Image2, etc. |36| num_images | integer | 1 | Number of images to generate (1-9). |37| output_format | string | png | The format of the generated image. enum: jpeg, png, webp |38| prompt | string | | Text prompt for image generation. Reference images using @Image1, @Image2, etc. |39| resolution | string | 1K | Image generation resolution. enum: 1K, 2K |4041## Examples4243**High-res landscape with reference:**44```bash45curl -X POST https://api.eachlabs.ai/v1/prediction \46 -H "Content-Type: application/json" \47 -H "X-API-Key: $EACHLABS_API_KEY" \48 -d '{49 "model": "kling-o1",50 "version": "0.0.1",51 "input": {52 "prompt": "redesign @Image1 as a futuristic cityscape, neon lights, cyberpunk style",53 "image_urls": ["https://example.com/city-reference.jpg"],54 "aspect_ratio": "21:9",55 "resolution": "2K",56 "output_format": "png"57 }58 }'59```6061**Multiple image generation:**62```bash63curl -X POST https://api.eachlabs.ai/v1/prediction \64 -H "Content-Type: application/json" \65 -H "X-API-Key: $EACHLABS_API_KEY" \66 -d '{67 "model": "kling-o1",68 "version": "0.0.1",69 "input": {70 "prompt": "a minimalist product shot of a perfume bottle, studio lighting, marble background",71 "aspect_ratio": "1:1",72 "resolution": "2K",73 "num_images": 4,74 "output_format": "jpeg"75 }76 }'77```7879## Related Models8081- [Kling O1 | Image to Video](../kling-o1-image-to-video/) - Animate images into video82- [Kling O1 | Reference Image to Video](../kling-o1-reference-image-to-video/) - Reference-guided video generation8384## Documentation8586- [each::labs Docs](https://docs.eachlabs.ai)87- [API Reference](https://docs.eachlabs.ai/api/overview)