Kling Image O1 - image generation API

Kling Image O1 API

active

Kling Image O1 — text+image guided image generation and AI multi-shot character consistency. Supports 1K/2K resolution and up to 9 output images.

Kuaishou / WaveSpeedimage6 credits/call
Provider
Kuaishou / WaveSpeed
Pricing
6–16 credits per request (~$0.012–$0.032)
Speed
5–15 seconds
Output
image

Quick Start

Send a request to the Kling Image O1 API:

bash
curl -X POST https://apiin.one/api/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-image-o1",
  "prompt": "A cyberpunk cityscape at night with neon signs, inspired by the reference image",
  "images": [
    "https://example.com/reference.jpg"
  ],
  "aspect_ratio": "16:9",
  "resolution": "1k"
}'

API Endpoint

POST/api/v1/images/generations
Send a POST request with your API key to generate content using Kling Image O1.

Headers

HeaderTipoObrigatórioDescrição
AuthorizationstringObrigatórioBearer YOUR_API_KEY
Content-TypestringObrigatórioapplication/json

Body Parameters

ParâmetroTipoObrigatórioDescrição
modelstringObrigatórioModel identifier: "kling-image-o1"
promptstringObrigatórioText description for image generation
typestringOpcionalTask type: "image-to-image" (6cr) or "ai-multi-shot" (16cr) (Padrão: image-to-image)
imagesarrayOpcionalArray of reference image URLs (max 10)
aspect_ratiostringOpcionalAspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, auto (Padrão: 1:1)
resolutionstringOpcionalOutput resolution: "1k" or "2k" (Padrão: 1k)
num_imagesnumberOpcionalNumber of images to generate (1–9) (Padrão: 1)

Example Request

json
{
  "model": "kling-image-o1",
  "prompt": "A cyberpunk cityscape at night with neon signs, inspired by the reference image",
  "images": [
    "https://example.com/reference.jpg"
  ],
  "aspect_ratio": "16:9",
  "resolution": "1k"
}

Example Response

Successful task creation response.

{
  "code": 200,
  "message": "success",
  "data": {
    "task_id": "n49xxxx_kio1",
    "status": "IN_PROGRESS"
  }
}

Check Task Status

For asynchronous tasks, poll the status endpoint to check when your task is complete:

GET/api/v1/tasks/{task_id}
Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
bash
curl https://apiin.one/api/v1/tasks/task_abc123 \
  -H "Authorization: Bearer aio_your_key"

Use Cases

  • Generate image variations from reference images
  • Create character-consistent image sets for storytelling
  • Build AI image editing tools
  • Produce multiple image outputs per request

API Tester

Test the Kling Image O1 API directly from your browser:

Playground da APIPOST

Error Codes

{
  "error": {
    "code": 400,
    "message": "Invalid parameters",
    "type": "invalid_request"
  }
}

Frequently Asked Questions

How much does Kling Image O1 cost?

Image-to-image mode costs 6 credits per request. AI multi-shot mode costs 16 credits per request.

What is multi-shot mode?

Multi-shot generates character-consistent images from a single reference image, ideal for consistent character design across scenes.

What resolutions are supported?

Kling Image O1 supports 1K and 2K resolution output.

Why Use Kling Image O1 Through API in One?

1Character-consistent multi-shot generation
2Up to 9 output images per request
31K and 2K resolution support
4Multiple aspect ratios including 21:9

Ready to use Kling Image O1?

Get Your API Key →