About Kling Image 4.0 Long
A full product detail or landing page as one tall image, from text or product photos.
Call it with the model name kling/image-4.0-long/text-to-image on POST /jobs/createTask, from $0.238.
Introduction
A website brief expressed as a page image
Use this endpoint to explore the visual direction of a website from a written brief. Describe the audience, the sequence of sections and the copy to place within them. The deliverable is a continuous picture of the page, useful for reviewing the scroll and preparing a design handoff. Website implementation remains a separate step: navigation labels and buttons in the picture are drawn elements.
The prompt can stand on its own. Add references when a particular palette, subject or visual treatment matters, and explain the role of each one. Keep the opening message and the footer requirements in the same brief so reviewers can assess the proposed structure together.
Inputs and resolution
Use these inputs to describe the website and choose its resolution. There is no page length selector here; short, medium and long are choices on the product detail endpoint.
| Parameter | Requirement | How to use it |
|---|---|---|
prompt | Required string, 1 to 71,000 characters | Identify the site, audience, section order and exact display copy. Cite references as @image_1, @image_2. |
reference_image_urls | Optional array, up to 3 images | Supply JPG or PNG files up to 30 MB, at least 300 px per side, with a ratio between 2:5 and 5:2. |
Choose the resolution alongside your section outline. Keep the amount of copy manageable for the layout you want to review, and inspect the downloaded image at the size your team will use.
Give references distinct roles
Tie each numbered reference to a specific instruction. A color reference can guide accents without becoming the subject of the page. A subject reference can show what should be featured. Avoid leaving the relationship between an upload and the surrounding copy unexplained. For each upload, state whether its contribution is the subject, the palette or another visual detail so the page direction stays clear.
Writing a reviewable website brief
Begin with who the site serves and what visitors should understand. Follow with the sections in reading order, then the exact text for the hero, supporting blocks, button labels and footer. Write the visual direction as concrete choices about palette, spacing, image placement and type hierarchy. This gives reviewers a defined brief to compare with the image.
Keep copy attached to its section
A headline without a location can leave its role unclear. Pair each block with an instruction such as hero headline, studio story or opening-hours footer. Supply checked business details yourself and ask the page to use that wording. Prompt capacity is not a reason to fill every module with dense prose.
Plan the handoff before generation
Decide what the visual must help a colleague assess: the order of information, the balance of product imagery and copy, or a brand direction across the scroll. Keep this review goal in the brief. Save the supplied text alongside the generated picture so a designer can rebuild the page using editable content and a developer can implement its interactions.
What the Tideline run showed
On November 18, 2026, our Tideline Ceramics request described a coastal pottery studio, the headline "Made slowly by the sea", featured bowls, a studio story and a footer with opening hours. It used one reference for a warm amber accent and selected 2k resolution. The prompt assigned the reference a color-guidance role for the page accents.
The endpoint returned one 2048 x 16469 PNG arranged as a complete landing page with hero, product, story and footer sections. Small body text on an image this long should be checked before reuse. Compare the hero headline, studio story and opening-hours footer against your source copy, then review the transitions between the product and story sections.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Describe what you want to make. |
reference_image_urls | No | Pictures of the people, outfits or places the result should keep. |
resolution | No | Choose an available output size. 1k · 2k · Default: 1k |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per image |
|---|---|
| resolution 1K | $0.549 |
| resolution 2K | $0.596 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
API quick start
Call the Kling Image 4.0 Long API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model kling/image-4.0-long/text-to-image and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "kling/image-4.0-long/text-to-image",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"resolution": "1k"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
Kling Image 4.0 Long API questions
How much does the Kling Image 4.0 Long API cost?
Kling Image 4.0 Long costs $0.238 per image. Prices by option: 1K $0.549 per image, 2K $0.596 per image. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What are the limits of the Kling Image 4.0 Long · Long Image API?
Resolutions: 1K · 2K; Reference images: 3; Prompt length (characters): 71,000; Largest upload: 30 MB. Requests outside these limits are rejected before anything is charged.