
Kling Image 4.0 Long Image API — AI product detail pages and landing-page designs as one tall image
kling-image-4.0-longKling Image 4.0 Long Image is an AI product detail page and landing-page design generator: one request returns one ultra-tall image, either an e-commerce detail page from 1–3 product photos (short, medium or long) or a webpage design, at 1K or 2K. The result is an image, not HTML. Call kling-image-4.0-long from $0.2355 per page (Kling's own API price, plus $0.00314 per input image); failed requests are not charged.
Generate Image
This request: $0.5495 = $0.5495
Result
Generated image will appear here
Enter a prompt and click Generate
A Whole Page in One Image
One ultra-tall image per request, laid out as a webpage design or an e-commerce product detail page
E-commerce Detail Pages
skill "ecommerce" with 1–3 product photos (@image_1 to @image_3); short is about 2–5 sections, medium 6–10, long 11–18
Webpage Designs
skill "webpage" from a prompt alone, or in the style of @style and featuring @subject
1K or 2K
Our short e-commerce test at 1K came back 1024×8002 pixels in 101 seconds
Priced per Page
E-commerce from $0.2355 (short, 1K) to $0.8635 (long, 2K); webpage $0.5495 / $0.5966; plus $0.00314 per input image
Proofread the Copy
It is an image, not HTML, and generated text can be cut off or wrong. Failed requests are not charged
Kling Image 4.0 Long Image API: AI product detail pages and landing-page designs in one tall image
Kling Image 4.0 Long Image is the long-image mode of Kuaishou's Kling Image 4.0. Each request returns one ultra-tall image laid out as a whole page: an e-commerce product detail page built from 1–3 product photos, short, medium or long, or a website and landing-page design that can follow a style image and feature a subject image.
On APIMODELS it is the model id kling-image-4.0-long on POST /v1/images/generations, at 1K or 2K: e-commerce from $0.2355 per page, webpage $0.5495 / $0.5966, plus $0.00314 per input image, the same as Kling's own API price list. The result is an image rather than HTML, so its text has to be proofread, and not every request succeeds; the limits are listed below.
- Model ID
kling-image-4.0-long- Skills
- ecommerce (1–3 product images) or webpage (optional style / subject image)
- Length
- short ≈2–5, medium ≈6–10, long ≈11–18 sections
- Output
- One ultra-tall image, 1K or 2K
- Price
- From $0.2355 per page; +$0.00314 per input image
Kling Image 4.0 Long Image API limits at a glance
Two skills, one tall image per request. Fields of one skill cannot be sent with the other.
| ecommerce (product detail page) | webpage (website / landing page design) | |
|---|---|---|
| Required | A prompt and 1–3 product images in image_urls (mentioned as @image_1 to @image_3) | A prompt |
| Optional | length: short (about 2–5 sections), medium (about 6–10, the default) or long (about 11–18) | style_image (@style) to follow a look; subject_image (@subject) to feature a product or person |
| Rejected with a 400 | style_image, subject_image; no product image; more than 3 | image_urls, length; a prompt that mentions @style or @subject without that image |
| Resolution | 1K or 2K (default 2K) | 1K or 2K (default 2K) |
| Output | One ultra-tall image; our short 1K test came back 1024×8002 | One ultra-tall image |
| Input images | JPG or PNG, up to 20 MB, ideally at least 300 px on each side, aspect ratio between 2:5 and 5:2 (others fail during generation) | Same rules for the style and subject images |
| Not available | n other than 1, mode, elements, aspect_ratio choice, HTML or layered output | Same |
Not every long-image request succeeds
You pay only for requests that deliver images. We publish what we measured, and say when it was a single request.
A request can fail after it is accepted: content review can refuse the prompt or an input image, an input image can be unreadable or outside the allowed shape, and a generation can hit a temporary error. A failed request returns the reason and costs nothing. Requests the model cannot take — a 1K resolution on kling-image-4.0, a series of one image, the fields of the wrong long-image skill, @image_3 with two images — are refused with a 400 before a task is created.
Our test on 19 November 2026: a short e-commerce page at 1K from one product image (our own logo) came back 1024×8002 pixels in 101 seconds, with a hero banner, a six-item feature grid and several product sections. One heading came out cut off ("Radial Precision In Every") and some icons did not match their labels. One request is an example, not a success rate or a speed guarantee; plan for minutes rather than seconds, and read every word on the page before it ships.
Kling Image 4.0 Long Image API pricing
Per page, the same as Kling's own API price list, plus $0.00314 for each product, style or subject image.
| 1K | 2K | |
|---|---|---|
| E-commerce · short (about 2–5 sections) | $0.2355 | $0.2826 |
| E-commerce · medium (about 6–10, default) | $0.471 | $0.5495 |
| E-commerce · long (about 11–18) | $0.785 | $0.8635 |
| Webpage design | $0.5495 | $0.5966 |
| Each input image | +$0.00314 | +$0.00314 |
| Failed request | Not charged | Not charged |
Short 1K page from one product photo (our test)
$0.23864
$0.2355 + 1 × $0.00314
Default medium page at 2K from 3 product photos
$0.55892
$0.5495 + 3 × $0.00314
Landing-page design at 2K with a style and a subject image
$0.60288
$0.5966 + 2 × $0.00314
What the long-image model is good for, and when to use something else
Product detail pages from photos
1–3 product photos and a prompt with the audience and selling points become the long page under a product listing, laid out in one image.
Landing-page mockups
A full landing-page design to show a client or a team before anyone builds it, optionally in the look of @style and featuring @subject.
Comparing page concepts
A short page at 1K is $0.2355, so several versions of the same product page can be compared before a designer refines one.
Final copy or an editable page
The text is drawn into the image and can be cut off or wrong; there is no HTML and no layers. Rewrite the copy in your own tools.
Single banners and product shots
For one wide banner or one product shot, kling-image-4.0 offers 21:9 to 9:16 at 2K, 4K or 8K from $0.0628.
Pages beyond about 18 sections
long tops out at about 11–18 sections. Split a longer page into several requests and stack the images.
Writing a prompt for a long page
Describe the page, not one picture. Name the product and who it is for, then list the sections you want in order: for example a hero with the product name, three selling points, a size or spec table, a usage scene and a closing call to action. The model decides the layout, but a list of sections steers how many blocks it draws and in what order.
Point at your inputs by name. Product photos are @image_1 to @image_3 in the order you send them; on a webpage request the style reference is @style and the featured subject is @subject. A prompt that mentions an input you did not send is refused with a 400 before anything is charged.
Keep the words short and check them. Headlines and labels are drawn into the image, so long sentences are more likely to come out cut off or misspelled. Give the exact wording in quotes for anything that must be right, such as a product name, a price or a slogan, and proofread the result before it goes on a store page.
Call it in one request
POST /v1/images/generations with your apimodels.app API key and model kling-image-4.0-long. Pick the skill, send only that skill's fields, and poll GET /v1/images/generations?task_id= (or pass a callback_url) for the finished page in resultUrls. Every field is in the docs.
# E-commerce detail page, short, 1K, one product photo ($0.2355 + $0.00314)
curl -X POST https://api.apimodels.app/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-image-4.0-long",
"skill": "ecommerce",
"prompt": "A product detail page for @image_1, a stainless steel travel mug, for commuters: keeps drinks hot for 8 hours, leak-proof lid, fits car cup holders",
"image_urls": ["https://example.com/mug.jpg"],
"length": "short",
"resolution": "1K"
}'
# Webpage design in the style of a reference, featuring a subject (2K, $0.5966 + 2 × $0.00314)
curl -X POST https://api.apimodels.app/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-image-4.0-long",
"skill": "webpage",
"prompt": "A landing page for a coffee subscription in the style of @style, with @subject in the hero section",
"style_image": "https://example.com/style.png",
"subject_image": "https://example.com/bag.png"
}'Kling Image 4.0 Long Image vs Kling Image 4.0
The two Kling Image 4.0 model ids on apimodels.app: one makes pages, the other makes pictures.
| kling-image-4.0-long | kling-image-4.0 | |
|---|---|---|
| Output | One ultra-tall page per request | 1–9 images, or a set of 2–10 |
| Inputs | ecommerce: 1–3 product images; webpage: optional style and subject image | Up to 10 reference images and named subjects |
| Resolution | 1K or 2K | 2K, 4K or 8K |
| Aspect ratio | Fixed tall page (our 1K test: 1024×8002) | auto plus 8 ratios from 21:9 to 9:16 |
| Price | $0.2355 to $0.8635 per page | $0.0628 / $0.0942 / $0.157 per image |
| Per input image | +$0.00314 | +$0.00314 |
Sources
Where the price comparison on this page comes from (checked 19 November 2026). Limits and test results are apimodels.app's own.
- Kling AI: API pricing (Image API tab) ↗
Kling Image 4.0 is priced in units: single image / image set 16, 24 or 40 units per 2K, 4K or 8K image, 0.8 per reference image or element; long image webpage 140 / 152 units, e-commerce 60 / 72, 120 / 140 and 200 / 220 (1K / 2K). One unit is $0.003925 in Kling's prepaid packages.
About Kling Image 4.0 Long Image
Kling Image 4.0 Long Image is an Image Generation API provided by Kling. Kling Image 4.0 Long Image is the long-image mode of Kuaishou's Kling Image 4.0, and in practice an AI product detail page and landing-page design generator: every request returns one ultra-tall image laid out as a whole page — an image, not HTML and not description copy. On apimodels.app it is the model id kling-image-4.0-long on POST /v1/images/generations, with two skills. webpage designs a website or landing page from your prompt, optionally in the style of a reference image (style_image, called @style in the prompt) and featuring a subject image (subject_image, called @subject). ecommerce builds a product detail page — the long scrolling page under a product in an online store — from 1 to 3 product photos in image_urls, called @image_1 to @image_3. An e-commerce page comes in three lengths: short (about 2–5 sections), medium (about 6–10, the default) and long (about 11–18). Resolution is 1K or 2K, 2K by default. If you leave out skill, a request with product images is treated as ecommerce and one without as webpage. The two skills' fields cannot be mixed: image_urls or length on a webpage request, or style_image / subject_image on an e-commerce request, return a 400 before anything is charged. Input images should be JPG or PNG, up to 20 MB, ideally at least 300 px on each side, with an aspect ratio between 2:5 and 5:2; images outside that range fail during generation. In our test on 19 November 2026, a short e-commerce page at 1K built from one product image (our own logo) came back 1024×8002 pixels in 101 seconds, with a hero banner, a feature grid and several product sections in a single image. One heading came out cut off and some icons did not match their labels, so treat the words on the page as a draft. Pricing is the same as Kling's own API price list, per page: e-commerce short $0.2355 at 1K and $0.2826 at 2K, medium $0.471 / $0.5495, long $0.785 / $0.8635; webpage $0.5495 at 1K and $0.5966 at 2K. Each input image — product, style or subject — adds $0.00314, so our test page costs $0.2355 + $0.00314 = $0.23864. Failed requests are not charged. Know the limits. The result is an image, not HTML or layers: the text cannot be edited afterwards and has to be proofread. Each request returns one image (n must be 1), with no aspect-ratio choice, no elements and no image sets — for banners and single product shots, use kling-image-4.0. A page longer than about 18 sections has to be split into several requests. Not every request succeeds: content review can refuse a prompt or an image, and temporary errors happen; failed requests are not charged. Through APIMODELS platform, you can access this model via a unified API with transparent pay-as-you-go pricing. Current pricing: E-commerce · short · 1K: $0.2355, E-commerce · short · 2K: $0.2826, E-commerce · medium · 1K: $0.471, E-commerce · medium · 2K: $0.5495, E-commerce · long · 1K: $0.785, E-commerce · long · 2K: $0.8635, Webpage · 1K: $0.5495, Webpage · 2K: $0.5966, + Each input image (product / style / subject): $0.00314.
Related model: Kling Image 4.0 — single images and sets of 2–10 at 2K, 4K or 8K, from $0.0628 per image
Related model: MAI Image 2.7 — transparent product cut-outs to place on a page you build yourself
Related model: Kling V3 Omni — the previous Kling generation for matched image sets at 1K, 2K or 4K
Key Features
- A Whole Page in One Image -- One ultra-tall image per request, laid out as a webpage design or an e-commerce product detail page
- E-commerce Detail Pages -- skill "ecommerce" with 1–3 product photos (@image_1 to @image_3); short is about 2–5 sections, medium 6–10, long 11–18
- Webpage Designs -- skill "webpage" from a prompt alone, or in the style of @style and featuring @subject
- 1K or 2K -- Our short e-commerce test at 1K came back 1024×8002 pixels in 101 seconds
- Priced per Page -- E-commerce from $0.2355 (short, 1K) to $0.8635 (long, 2K); webpage $0.5495 / $0.5966; plus $0.00314 per input image
- Proofread the Copy -- It is an image, not HTML, and generated text can be cut off or wrong. Failed requests are not charged
Examples by scenario

Use Cases
Product Detail Pages for Online Stores
Send 1–3 product photos with skill "ecommerce" and get the long page that sits under a product listing: hero, selling points, details and usage in one image.
Landing-Page Mockups
skill "webpage" turns a brief into a full landing-page design you can show a client or a team before anyone builds it.
A Page in a Reference Look
Pass a style_image as @style to follow an existing visual identity, and a subject_image as @subject for the product or person to feature.
Short Pages for Marketplaces and Social
length "short" (about 2–5 sections) from $0.2355 at 1K for quick listings and posts; medium and long for full detail pages.
Comparing Page Concepts
Generate a few versions of the same product page from different prompts and compare them before you brief a designer.
A Starting Layout, Not Final Copy
The text is drawn into the image and can come out cut off or wrong. Use the page as a layout and rewrite the copy in your own tools.
Why APIMODELS
- Unified API -- One API key to access all models, no need to register on multiple platforms
- Transparent Pricing -- Pay-as-you-go with per-call pricing published on every model page, ideal for indie developers and startups
- Instant Access -- Start right after signup; pay by card, PayPal, Alipay or USDT
- Full Documentation -- Detailed API docs with code examples in cURL, Python, and Node.js
Frequently Asked Questions
What is the difference between APIMODELS and the official Kling API?
APIMODELS offers the same Kling Image 4.0 Long Image model through our aggregation platform. We provide a unified API interface so you do not need separate accounts for each provider - one API key to access all models.
Can AI generate a product detail page?
Yes, as an image. kling-image-4.0-long with skill "ecommerce" turns 1–3 product photos and a prompt into one ultra-tall image laid out as a product detail page: a hero, selling points, details and usage, like the long page under a product in an online store. It is not a Shopify or HTML page you can edit, and it does not write description copy for your listing; the words are drawn into the picture, so proofread them. In our test a short page at 1K from one product image came back 1024×8002 pixels in 101 seconds. With skill "webpage" the same model draws landing-page designs.
Should I use the ecommerce or the webpage skill, and how do I call each?
Use ecommerce for a product: send skill "ecommerce", 1–3 product photos in image_urls (called @image_1 to @image_3 in the prompt), a length and a resolution, and describe the product, the audience and the selling points. Use webpage for a site or landing page: send skill "webpage" and a prompt, optionally a style_image (@style) whose look to follow and a subject_image (@subject) to feature. The fields do not mix: image_urls or length on a webpage request, or style_image / subject_image on an e-commerce request, return a 400. If you leave out skill, a request with product images is treated as ecommerce and one without as webpage.
How many sections does a product detail page get, and what do short, medium and long mean?
length sets the number of sections on the e-commerce page: short is about 2–5, medium about 6–10 (the default) and long about 11–18. List the sections you want, in order, in the prompt; the model does the layout, so the counts are approximate. Length only applies to ecommerce; a webpage design has no length setting. Price follows length and resolution: short $0.2355 / $0.2826, medium $0.471 / $0.5495, long $0.785 / $0.8635 at 1K / 2K. A page that needs more than about 18 sections has to be split across several requests.
How much does a Kling Image 4.0 long image cost?
Per page, the same as Kling's own API price list: e-commerce short $0.2355 at 1K and $0.2826 at 2K, medium $0.471 / $0.5495, long $0.785 / $0.8635; webpage $0.5495 at 1K and $0.5966 at 2K. Each input image (product, style or subject) adds $0.00314, so a short 1K page from one product photo is $0.2355 + $0.00314 = $0.23864. Failed requests are not charged.
Kling AI: API pricing (Image API), checked 19 Nov 2026 ↗What are the limits, and when should I not use the long-image model?
The result is an image, not HTML or layers, so the text on it cannot be edited afterwards and has to be proofread; in our test one heading came out cut off. One image per request (n must be 1), no aspect-ratio choice, no elements and no image sets; resolution is 1K or 2K. Input images should be JPG or PNG up to 20 MB, ideally at least 300 px on each side, with an aspect ratio between 2:5 and 5:2; others fail during generation. For a single banner or product shot, use kling-image-4.0; for a live page you can edit, or for product description copy, use a site builder or a writing tool. Not every request succeeds; a failed request returns the reason and is not charged.
Is the Kling Image 4.0 long-image API free?
No. New APIMODELS accounts get $0.10 of trial credit (one new account per IP address every 48 hours), but the smallest long image, a short e-commerce page at 1K, costs $0.2355, so the trial alone does not cover one; top up (from $10) before your first page. You pay only for pages that are delivered, with no subscription.
How does Kling Image 4.0 Long Image compare with other models in the Image Generation category?
On APIMODELS, Kling Image 4.0 Long Image runs alongside 60+ models on one API key and one balance, so choosing is about fit, not lock-in. It supports Webpage Designs, E-commerce Detail Pages, 1–3 Product Images, Short / Medium / Long, 1K / 2K, From $0.2355, and you can weigh it on price and capability against other models in the Image Generation category, then switch by changing a single model-name string — no new account or integration. Browse every model in that category with live pricing at apimodels.app/models.
What can Kling Image 4.0 Long Image do?
Kling Image 4.0 Long Image supports: Webpage Designs, E-commerce Detail Pages, 1–3 Product Images, Short / Medium / Long, 1K / 2K, From $0.2355. See the APIMODELS docs for full parameters and call examples.
Can I use the Kling Image 4.0 Long Image API from any country, including mainland China?
Yes. APIMODELS does not restrict access by country: the site and the API answer requests from anywhere, and apimodels.app and api.apimodels.app are reachable directly from mainland China without a proxy. You call Kling Image 4.0 Long Image with one APIMODELS key, so you do not need a separate account with the model's developer.
What payment methods are supported? Can I pay with PayPal or crypto?
Yes to both. You can top up with a card (Visa, Mastercard and others, through Stripe), PayPal, Alipay, or USDT on TRON (TRC20) or BNB Smart Chain (BEP20). Card, PayPal and Alipay top-ups are credited immediately; USDT is credited once the transfer confirms on-chain. Auto top-up is optional, and a $50 top-up adds a $1 bonus ($3 on a $100 top-up). The balance is in USD and billed per use, with no subscription.