Spiral gives your agent every tool with one account. Browse the tools →

falImageAvailable nowReleased 2026-11-17

Kling Image 4.0 · Long Image

kling/v4/long-image

Generate and edit images from text with Kling Image 4.0 · Long Image from fal through one Spiral API key. Designs a long, scrolling image for a webpage or ecommerce listing from a text prompt, with optional reference, style and subject images. It runs in the background and returns images. Pay as you go, with no subscription.

Pricing

Up to $0.7332 per run at the default inputs. resolution: 1K (default) $0.7332, 2K $0.80652.

Limits

Runs
In the background
Returns
image
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
prompt requiredtext—

Text prompt for the long image. Reference images as @Image1, @Image2, ...

skillone of
ecommerce, webpage
webpage

'ecommerce' designs a product detail page and requires 1-3 product images; 'webpage' designs a website.

image_urlsURLs or files—

Product reference images (1-3) for 'ecommerce', referenced as @Image1, @Image2, ... Not supported for 'webpage'.

style_image_urltext—

Optional 'webpage' style reference: the design follows its visual and layout style. Referenced as @StyleImage. Not supported for 'ecommerce'.

subject_image_urltext—

Optional 'webpage' subject reference: the design is built around the subject it shows. Referenced as @SubjectImage. Not supported for 'ecommerce'.

lengthone of
short, medium, long
medium

Page length for 'ecommerce': short (~2-5 sections), medium (~6-10) or long (~11-18). Ignored for 'webpage'.

resolutionone of
1K, 2K
1K

Output resolution.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "kling/v4/long-image",
    "input": {
      "prompt": "Design a visual long image for a specialty coffee brand'\''s official website, including the hero section, product showcase, roasting philosophy, store…"
    }
  }'

Frequently asked questions

How much does Kling Image 4.0 · Long Image cost?

Up to $0.7332 per run at the default inputs. `resolution`: 1K (default) $0.7332, 2K $0.80652. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Kling Image 4.0 · Long Image through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "kling/v4/long-image"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with fal to use Kling Image 4.0 · Long Image?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Kling Image 4.0 · Long Image?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.