Use this in the request body model field.
kling-image-o1 API
Generate images with Kling Image O1 via API in One. Image-to-image generation (6 credits) and AI multi-shot character consistency (16 credits).
The currently implemented BFF route.
Input types: text, image
Keys are managed by the shared dashboard.
This route does not require webhook handling.
Live capabilities
These capabilities come from the current model config and backend route. Unreleased APIs are not listed.
Character
Character-consistent multi-shot generation
Up to 9 output images per request
Up to 9 output images per request
1K and 2K resolution support
1K and 2K resolution support
Multiple aspect ratios including 21:9
Multiple aspect ratios including 21:9
Request format
Clients call same-origin API routes; the server BFF forwards to the matching Worker.
POST/api/v1/images/generations6 creditsKling Image O1 — text+image guided image generation and AI multi-shot character consistency. Supports 1K/2K resolution and up to 9 output images.
Parameters
promptstringText description for image generation
RequiredtypestringTask type: "image-to-image" (6cr) or "ai-multi-shot" (16cr)
Optional · Default image-to-imageimagesarrayArray of reference image URLs (max 10)
Optionalaspect_ratiostringAspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, auto
Optional · Default 1:1resolutionstringOutput resolution: "1k" or "2k"
Optional · Default 1knum_imagesnumberNumber of images to generate (1–9)
Optional · Default 1Example request
curl -X POST https://apiin.one/api/v1/images/generations \
-H "Authorization: Bearer aio_your_api_key" \
-H "Content-Type: application/json" \
--data-raw '{
"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"
}'Models on the same endpoint
These live models use the same implemented BFF endpoint and can be switched by changing the model field.
/api/v1/images/generations/api/v1/images/generations
grok-imagineimage · 5 credits/api/v1/images/generations✦ideogram-v3image · 8 credits/api/v1/images/generations🌐imagen-4image · 8 credits/api/v1/images/generations🤖gpt-image-1.5-officialimage · 10 credits/api/v1/images/generationsIntegration flow
These steps use the current live route and shared account system; login, payment, orders, credits, and profile remain shared.
Create a shared API key
Create a key in the existing dashboard. Top-up, orders, credit balance, and profile stay in the shared console.
Call the real endpoint
Send a request with the endpoint, model id, and parameters shown on this page. /api/v1/images/generations
Poll task status
Async media and tool jobs use /api/v1/tasks/{task_id}; chat models return a direct response.
Task status route
After creating image, video, audio, or tool tasks, poll the real task endpoint for results.
GET/api/v1/tasks/{task_id}Check generation task status and result.Pricing
6–16 credits per request (~$0.06–$0.16)
Use cases
These workflows are supported by the current model and backend node.
Generate image variations from reference images
Create character-consistent image sets for storytelling
Build AI image editing tools
Produce multiple image outputs per request
FAQ
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.
