Generate high-quality AI images using Kling Omni Image with support for up to 10 reference images, 9 aspect ratio options, and 1K/2K resolution.

Model

kuaishou/kling-omni-image

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the image to generate
image_urlsarrayNoReference image URLs (up to 10)
aspect_ratiostringNoauto, 1:1, 4:3, 3:2, 16:9, 21:9, 3:4, 2:3, 9:16
resolutionstringNo1k or 2k (default: 1k)
seedintegerNoSeed for reproducibility

Aspect Ratios

ValueDescription
autoAutomatically determined
1:1Square
4:3Standard landscape
3:2Classic photo
16:9Widescreen
21:9Ultra-wide
3:4Standard portrait
2:3Classic portrait
9:16Vertical/mobile

Example - Text-to-Image

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-o1-image",
    "input": {
      "prompt": "A serene mountain landscape at sunset, photorealistic",
      "aspect_ratio": "16:9",
      "resolution": "2k"
    }
  }'

Example - Image-to-Image

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-o1-image",
    "input": {
      "prompt": "Transform into a watercolor painting style",
      "image_urls": ["https://example.com/reference.jpg"],
      "aspect_ratio": "1:1",
      "resolution": "2k"
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}

Pricing

ResolutionPrice
1K$0.01
2K$0.01