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

Header유형필수설명
Authorizationstring필수Bearer YOUR_API_KEY
Content-Typestring필수application/json

Body Parameters

매개변수유형필수설명
modelstring필수Model identifier: "kling-image-o1"
promptstring필수Text description for image generation
typestring선택 사항Task type: "image-to-image" (6cr) or "ai-multi-shot" (16cr) (기본값: image-to-image)
imagesarray선택 사항Array of reference image URLs (max 10)
aspect_ratiostring선택 사항Aspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, auto (기본값: 1:1)
resolutionstring선택 사항Output resolution: "1k" or "2k" (기본값: 1k)
num_imagesnumber선택 사항Number of images to generate (1–9) (기본값: 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:

API 테스트 환경POST

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 →