Pricing
Compare models →Pricing is based on the selected resolution, the number of output images (num_images), and the number of input images. Each output image is charged at the rate for its resolution, and every input image adds a small charge per request.
The table below shows the price of a request with 1 input image.
| Output images | 2K | 4K | 8K |
|---|---|---|---|
| 1 image | $0.066 | $0.097 | $0.16 |
| 2 images | $0.129 | $0.191 | $0.317 |
| 4 images | $0.255 | $0.379 | $0.631 |
| 9 images | $0.57 | $0.849 | $1.416 |
Each additional input image adds $0.003 per request.
Example Costs
| Configuration | Price |
|---|---|
| 1 output at 2K + 1 input image | $0.066 |
| 2 outputs at 4K + 3 input images | $0.197 |
| 1 output at 8K + 10 input images | $0.187 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text prompt describing the image to create from the input images. Refer to the input images as <<<image_1>>>, <<<image_2>>>, etc. in array order. |
imagesRequired | array | Input images (1-10): subjects, products, styles or scenes to combine or transform.Items: 1–10JSON schema{
"items": {
"type": "string"
}
} |
aspect_ratio | string | The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.xxx-empty1:13:22:33:44:39:1616:921:9JSON schema{
"x-clearable": true
} |
resolution | string | Output resolution. 2k, 4k or native 8k.2k4k8k"2k" |
num_images | integer | Number of independent images to generate.Default: 1Minimum: 1 · Maximum: 9 |
output_format | string | Output image format.pngjpegwebp"png" |
README
Kling Image 4.0 Edit
Kling Image 4.0 Edit generates images guided by a text prompt and 1–10 reference images. Use it to explore changes to subjects, backgrounds, clothing, products, or visual styles at 2K, 4K, or 8K.
Why Choose This?
- Reference-guided editing — Use uploaded images to guide the requested changes.
- Multiple references — Combine guidance from up to 10 input images.
- Framing options — Choose an aspect ratio or leave it unset for automatic selection.
- Batch generation — Request 1–9 independent output images.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Describe the requested changes. Refer to inputs as <<<image_1>>>, <<<image_2>>>, and so on, in array order. |
| images | Yes | 1–10 reference image URLs. |
| aspect_ratio | No | 1:1, 3:2, 2:3, 3:4, 4:3, 9:16, 16:9, or 21:9. If omitted, the model selects the ratio automatically using the input images. |
| resolution | No | Output resolution tier: 2k, 4k, or 8k. Default: 2k. |
| num_images | No | Number of independent output images, from 1 to 9. Default: 1. |
| output_format | No | Output format: png, jpeg, or webp. Default: png. |
How to Use
- Add reference images — Upload 1–10 images in the order you will reference them.
- Describe the edit — State what should change and which details should be retained.
- Choose output settings — Set the resolution, image count, and format; optionally choose an aspect ratio.
- Submit and review — Check the generated images against your references.
Pricing
Pricing is based on the selected resolution, the number of output images (num_images), and the number of input images. Each output image is charged at the rate for its resolution, and every input image adds a small charge per request.
The table below shows the price of a request with 1 input image.
| Output images | 2K | 4K | 8K |
|---|---|---|---|
| 1 image | $0.066 | $0.097 | $0.16 |
| 2 images | $0.129 | $0.191 | $0.317 |
| 4 images | $0.255 | $0.379 | $0.631 |
| 9 images | $0.57 | $0.849 | $1.416 |
Each additional input image adds $0.003 per request.
Example Costs
| Configuration | Price |
|---|---|
| 1 output at 2K + 1 input image | $0.066 |
| 2 outputs at 4K + 3 input images | $0.197 |
| 1 output at 8K + 10 input images | $0.187 |
Best Use Cases
- Product imagery — Explore new backgrounds, arrangements, and styling.
- Portrait variations — Request changes to clothing or surroundings.
- Visual combinations — Use several references to describe a new composition.
Pro Tips
- Use clear references with the relevant subject or detail visible.
- Assign a specific role to each reference in the prompt.
- Describe both the requested changes and the details you want to retain.
Notes
- Both
promptandimagesare required.
- Each reference image must be no larger than 30 MB.
- Reference images guide generation; exact identity, text, and detail preservation can vary. Review the output before use.
Related Models
- Kling Image 4.0 Text-to-Image — Generate images from text prompts.
- Kling Image 4.0 Image Set — Generate related images in one request.
- Kling Image 4.0 Long Image — Create ecommerce or webpage design images.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Kling Image 4.0 Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/kwaivgi/kling-image-v4.0/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Create a polished lifestyle product advertisement featuring @Image1 as the main subject and incorporating the visual style and color palette of @Image2. Place the product in a clean, modern setting with soft natural lighting, subtle reflections, and premium editorial composition. Make the final image photorealistic, elegant, and suitable for a high-end e-commerce campaign.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261120/default/24b0tzohgfdw.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261120/default/7uivii53eiyq.jpeg"
],
"aspect_ratio": "1:1",
"resolution": "2k",
"num_images": 1,
"output_format": "png"
}Kling Image 4.0 Edit API — Frequently asked questions
What is the Kling Image v4.0 Edit API?
Kling Image v4.0 Edit is a Kuaishou model for image editing, exposed as a REST API on OpenSIAI. Kling Image 4.0 Edit transforms and combines reference images through natural-language instructions, supporting multi-image composition, subject and style consistency, product imagery, creative edits, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Kling Image v4.0 Edit API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/kwaivgi/kling-image-v4.0/edit.
How much does Kling Image v4.0 Edit cost per run or per second?
Kling Image v4.0 Edit starts at $0.063 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Kling Image v4.0 Edit accept?
Key inputs: prompt, images, aspect_ratio, resolution, num_images, output_format. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/kwaivgi/kling-image-v4.0/edit.
How long does Kling Image v4.0 Edit take to generate?
Reported generation time on OpenSIAI is around 114 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Kling Image v4.0 Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Kuaishou). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
