# Kling 4.0 Text to Video

Generate video from text with Kling 4.0 Text to Video from fal through one Spiral API key. Kling 4.0 generates videos from text prompts at 720p or 1080p, with durations from 3 to 30 seconds and support for per-shot prompts. It runs in the background and returns video. Pay as you go, with no subscription.

- Provider: fal
- Category: Video
- Runs: In the background
- Returns: video
- Released: 2026-10-16
- Tool id: `fal` / `kling/v4/text-to-video`
- Page: https://spiral.ai/tools/fal/kling/v4/text-to-video

## Pricing

$0.306 per second at 1080p ($0.204 at 720p).

## Limits

- Longest queue wait: 1 hour
- Run deadline: 1 hour
- Longest run, end to end: 930 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` | text |  | — | Text prompt. Either prompt or multi_prompt must be provided. |
| `multi_prompt` | JSON |  | — | Per-shot prompts for multi-shot generation. The video duration is the sum of the shot durations. |
| `duration` | number (whole) | 3 to 30 | 5 | Video duration in seconds (3-30). |
| `resolution` | one of | 720p, 1080p | 1080p | Output resolution. |
| `aspect_ratio` | one of | 16:9, 9:16, 1:1, 21:9 | 16:9 | Aspect ratio of the generated video. |

## 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/text-to-video",
    "input": {
      "prompt": "A detective in a black trench coat stands on a rooftop in the rain, looking through a telescope at the street below."
    }
  }'
```

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

## Common questions

### Kling 4.0 Text to Video

**How much does Kling 4.0 Text to Video cost?**

$0.306 per second at 1080p ($0.204 at 720p). You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Kling 4.0 Text to Video through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "kling/v4/text-to-video"` 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 4.0 Text to Video?**

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

**Can my AI agent use Kling 4.0 Text to Video?**

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

