# Kling Image 4.0 · 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.

- Provider: fal
- Category: Image
- Runs: In the background
- Returns: image
- Released: 2026-11-17
- Tool id: `fal` / `kling/v4/long-image`
- Page: https://spiral.ai/tools/fal/kling/v4/long-image

## Pricing

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

## Limits

- 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

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` (required) | text |  | — | Text prompt for the long image. Reference images as @Image1, @Image2, ... |
| `skill` | one of | ecommerce, webpage | webpage | 'ecommerce' designs a product detail page and requires 1-3 product images; 'webpage' designs a website. |
| `image_urls` | URLs or files |  | — | Product reference images (1-3) for 'ecommerce', referenced as @Image1, @Image2, ... Not supported for 'webpage'. |
| `style_image_url` | text |  | — | Optional 'webpage' style reference: the design follows its visual and layout style. Referenced as @StyleImage. Not supported for 'ecommerce'. |
| `subject_image_url` | text |  | — | Optional 'webpage' subject reference: the design is built around the subject it shows. Referenced as @SubjectImage. Not supported for 'ecommerce'. |
| `length` | one of | short, medium, long | medium | Page length for 'ecommerce': short (~2-5 sections), medium (~6-10) or long (~11-18). Ignored for 'webpage'. |
| `resolution` | one of | 1K, 2K | 1K | Output resolution. |

## Example

```bash
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…"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=kling%2Fv4%2Flong-image

## Common questions

### Kling Image 4.0 · Long Image

**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.

