Pricing
Compare models →Each request is billed per page generated. The price depends on the page type, the resolution, and, for ecommerce pages, the length. Webpage pricing does not depend on length. The prices below are for a request with no input images.
| Page type | Length | 1K | 2K |
|---|---|---|---|
| Ecommerce | Short | $0.235 | $0.282 |
| Ecommerce | Medium (default) | $0.47 | $0.549 |
| Ecommerce | Long | $0.784 | $0.862 |
| Webpage | Not applicable | $0.549 | $0.596 |
Default settings (ecommerce, medium length, 1K, no input images) cost $0.47 per run.
Each input image adds $0.003 per image to the request price, whether it is a product photo or a webpage reference image.
Example Costs
| Configuration | Price |
|---|---|
| Short ecommerce page at 1K + 1 product image | $0.238 |
| Medium ecommerce page at 1K + 1 product image | $0.473 |
| Long ecommerce page at 2K + 3 product images | $0.871 |
| Webpage at 2K, no reference images | $0.596 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Describe the page: the product and its selling points for an ecommerce page, or the site and its content for a webpage design. Refer to the input images as <<<image_1>>>, <<<image_2>>>, etc. in array order. |
page_typeRequired | string | ecommerce: a product detail page built from your product photos. webpage: a website visual design.ecommercewebpage"ecommerce" |
images | array | Product photos (1-3, required for an ecommerce page), or optional references (up to 3) for a webpage design.Items: 0–3JSON schema{
"items": {
"type": "string"
}
} |
length | string | Length of an ecommerce page: short (about 2-5 sections), medium (about 6-10) or long (about 11-18). Not used for a webpage.shortmediumlong"medium" |
resolution | string | Output resolution (page width tier).1k2k"1k" |
output_format | string | Output image format.pngjpegwebp"png" |
README
Kling Image 4.0 Long Image
Kling Image 4.0 Long Image generates a single tall image for an ecommerce product detail page or a webpage design concept. Use product photos and a brief to plan an ecommerce layout, or describe a website concept with optional reference images.
Why Choose This?
- Two page types — Choose an ecommerce product page or a webpage design.
- Product references — Provide 1–3 product photos for ecommerce pages.
- Ecommerce length options — Choose short, medium, or long page layouts.
- Resolution options — Select a 1K or 2K page-width tier.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Describe the page content, visual style, and section priorities. Refer to inputs as <<<image_1>>>, <<<image_2>>>, and so on. |
| page_type | Yes | ecommerce or webpage. Default: ecommerce. |
| images | Optional | 1–3 product image URLs are required for ecommerce. For webpage, up to 3 reference images are optional. |
| length | No | Ecommerce only: short (about 2–5 sections), medium (about 6–10), or long (about 11–18). Default: medium. Ignored for webpage. |
| resolution | No | Page-width tier: 1k or 2k. Default: 1k. |
| output_format | No | Output format: png, jpeg, or webp. Default: png. |
How to Use
- Select a page type — Choose
ecommercefor a product detail page orwebpagefor a website concept.
- Add images — Provide 1–3 product photos for ecommerce, or optional webpage references.
- Write the page brief — Describe the content, section order, requested text, and visual style.
- Choose output settings — Set the resolution and format. For ecommerce, also choose the page length.
- Submit and review — Inspect the generated page image and its text.
Pricing
Each request is billed per page generated. The price depends on the page type, the resolution, and, for ecommerce pages, the length. Webpage pricing does not depend on length. The prices below are for a request with no input images.
| Page type | Length | 1K | 2K |
|---|---|---|---|
| Ecommerce | Short | $0.235 | $0.282 |
| Ecommerce | Medium (default) | $0.47 | $0.549 |
| Ecommerce | Long | $0.784 | $0.862 |
| Webpage | Not applicable | $0.549 | $0.596 |
Default settings (ecommerce, medium length, 1K, no input images) cost $0.47 per run.
Each input image adds $0.003 per image to the request price, whether it is a product photo or a webpage reference image.
Example Costs
| Configuration | Price |
|---|---|
| Short ecommerce page at 1K + 1 product image | $0.238 |
| Medium ecommerce page at 1K + 1 product image | $0.473 |
| Long ecommerce page at 2K + 3 product images | $0.871 |
| Webpage at 2K, no reference images | $0.596 |
Best Use Cases
- Product page concepts — Draft layouts for product features, specifications, and imagery.
- Landing-page concepts — Explore section order, styling, and visual hierarchy.
- Campaign presentations — Create a long-form visual for design review.
Pro Tips
- List sections in the intended order and identify the most important content.
- Provide concise copy for headings and labels.
- Use product photos that clearly show the features mentioned in the prompt.
Notes
promptandpage_typeare required; ecommerce pages also need 1–3 product images.
- Each reference image must be no larger than 30 MB.
- Each request returns one image of a page design, rather than HTML or an interactive website.
- Section counts are approximate, and the generated page height depends on the layout.
- Review generated copy, product details, and layout before use.
Related Models
- Kling Image 4.0 Text-to-Image — Generate images from text prompts.
- Kling Image 4.0 Edit — Generate images guided by reference images and edit instructions.
- Kling Image 4.0 Image Set — Generate related images in one request.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Kling Image 4.0 Long Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/kwaivgi/kling-image-v4.0/long-image for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Create a modern ecommerce product detail page for a premium stainless steel insulated water bottle using @Image1, @Image2, and @Image3. The page should highlight the bottle's sleek matte finish, leakproof lid, double-wall vacuum insulation, 24-hour cold retention, and durable travel-friendly design. Include a clean hero section, key benefits with icons, close-up feature callouts, lifestyle usage scenarios, customer review snippets, specifications, and a strong buy-now section. Use a minimalist, high-converting layout with soft neutral backgrounds and polished product-focused visuals.",
"page_type": "ecommerce",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261123/default/d614rds1xu9l.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261123/default/zjhltq71tton.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261123/default/okcoc89psmjw.jpeg"
],
"length": "medium",
"resolution": "1k",
"output_format": "png"
}Kling Image 4.0 Long Image API — Frequently asked questions
What is the Kling Image v4.0 Long Image API?
Kling Image v4.0 Long Image is a Kuaishou model for image editing, exposed as a REST API on OpenSIAI. Kling Image 4.0 Long Image creates long-form vertical images from product photos or text prompts, making it suitable for ecommerce product detail pages, landing pages, promotional layouts, and web design 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 Long Image 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/long-image.
How much does Kling Image v4.0 Long Image cost per run or per second?
Kling Image v4.0 Long Image starts at $0.235 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 Long Image accept?
Key inputs: prompt, images, resolution, length, output_format, page_type. 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/long-image.
How long does Kling Image v4.0 Long Image take to generate?
Reported generation time on OpenSIAI is around 142 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 Long Image 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.
