[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Kling 4.0 Reference to Video](https://spiral.ai/integrations/n8n/kling-4-0-reference-to-video)

# How to Use Kling 4.0 Reference to Video in n8n

Kling 4.0 Reference to Video combines image or video references with shot-by-shot direction for scenes up to 30 seconds. Compared with Kling 4.0 Flash Reference to Video, it offers longer output and 1080p.

|  |  |
| --- | --- |
| Model | Kling 4.0 Reference to Video |
| Available through | fal |
| Category | Video |
| Price | $0.306 per second at 1080p ($0.204 at 720p). With reference videos: $0.183 per second of reference plus output at 1080p ($0.122 at 720p), at least twice the output's length. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Kling 4.0 Reference to Video in n8n

- Every Tuesday, use Kling 4.0 Reference to Video with the supplied character and setting images to make an 8-second 720p scene. Keep the same references and test one simple action per week.
- Every Monday at 9am: estimate, then generate a 5-second 9:16 clip with Kling 4.0 Reference to Video: a paper boat drifting down a rainy street.
- Make a 10-second product teaser with Kling 4.0 Reference to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with Kling 4.0 Reference to Video and list what each cost.
- Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Kling 4.0 Reference to Video.

## How to set up Kling 4.0 Reference to Video in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Kling 4.0 Reference to Video in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Kling 4.0 Reference to Video, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Kling 4.0 Reference to Video**: One request; the result comes back by polling or a webhook.

```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/reference-to-video",
    "input": {
      "prompt": "@Element1 and @Element2 are having dinner at the table in @Image1"
    }
  }'
```

Then paste one of the prompts above: n8n finds Kling 4.0 Reference to Video on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Kling 4.0 Reference to Video tools and prices

- [Kling 4.0 Reference to Video](https://spiral.ai/tools/fal/kling/v4/reference-to-video) (fal): $0.306 per second at 1080p ($0.204 at 720p). With reference videos: $0.183 per second of reference plus output at 1080p ($0.122 at 720p), at least twice the output's length.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt |  | — | Text prompt. Reference inputs as @Image1, @Video1, @Element1, etc. Either prompt or multi_prompt must be provided. |
| multi_prompt |  | — | Per-shot prompts for multi-shot generation. The video duration is the sum of the shot durations. |
| duration | 3 to 30 | 5 | Video duration in seconds (3-30). |
| start_image_url |  | — | Optional image to use as the first frame. Counts toward the image reference limit. |
| image_urls |  | — | Reference images, referenced as @Image1, @Image2, ... (max 10). |
| video_urls |  | — | Reference videos (3-30s each, 30s combined with element videos), referenced as @Video1, @Video2, ... (max 5). |

## What can you do with Kling 4.0 Reference to Video in n8n?

Build recurring batches of short video concepts from a standing creative brief. Keep each batch focused on a specific visual change so the results are easy to compare.

### Product shot tests

Create or revise a short product shot to compare lighting, camera movement, and presentation before choosing a direction.

### Social video hooks

Develop short opening shots with a clear visual action, then compare different ways to introduce a product or character.

### Film previsualization

Create or revise a scene to test character blocking, camera coverage, and the timing of a visible action before a shoot.

### Visual style studies

Explore a short scene through specific materials, lighting, and color choices, using a written brief or suitable source assets.

### Animate a product image

Start with a product image and request a slow camera move that reveals its shape, surface, or packaging.

### Recreate a camera concept

Use reference footage to guide a new scene's camera movement and pacing, with separate references for the intended product or character.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Kling 4.0 Reference to Video in other agents

- [Amp](https://spiral.ai/integrations/amp/kling-4-0-reference-to-video)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/kling-4-0-reference-to-video)
- [Claude](https://spiral.ai/integrations/claude-desktop/kling-4-0-reference-to-video)
- [Claude Code](https://spiral.ai/integrations/claude-code/kling-4-0-reference-to-video)
- [Cline](https://spiral.ai/integrations/cline/kling-4-0-reference-to-video)
- [Codex](https://spiral.ai/integrations/codex/kling-4-0-reference-to-video)
- [Cursor](https://spiral.ai/integrations/cursor/kling-4-0-reference-to-video)
- [Devin](https://spiral.ai/integrations/devin/kling-4-0-reference-to-video)
- [dots](https://spiral.ai/integrations/dots/kling-4-0-reference-to-video)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/kling-4-0-reference-to-video)
- [Gemini](https://spiral.ai/integrations/gemini/kling-4-0-reference-to-video)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/kling-4-0-reference-to-video)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/kling-4-0-reference-to-video)
- [goose](https://spiral.ai/integrations/goose/kling-4-0-reference-to-video)
- [Grok](https://spiral.ai/integrations/grok/kling-4-0-reference-to-video)
- [Grok Build](https://spiral.ai/integrations/grok-build/kling-4-0-reference-to-video)
- [Hermes](https://spiral.ai/integrations/hermes/kling-4-0-reference-to-video)
- [Instinct](https://spiral.ai/integrations/instinct/kling-4-0-reference-to-video)
- [Manus](https://spiral.ai/integrations/manus/kling-4-0-reference-to-video)
- [Muse](https://spiral.ai/integrations/muse/kling-4-0-reference-to-video)
- [Muse Code](https://spiral.ai/integrations/muse-code/kling-4-0-reference-to-video)
- [Notion](https://spiral.ai/integrations/notion/kling-4-0-reference-to-video)
- [OpenClaw](https://spiral.ai/integrations/openclaw/kling-4-0-reference-to-video)
- [opencode](https://spiral.ai/integrations/opencode/kling-4-0-reference-to-video)
- [Perplexity](https://spiral.ai/integrations/perplexity/kling-4-0-reference-to-video)
- [Raycast](https://spiral.ai/integrations/raycast/kling-4-0-reference-to-video)
- [VS Code](https://spiral.ai/integrations/vscode/kling-4-0-reference-to-video)
- [Windsurf](https://spiral.ai/integrations/windsurf/kling-4-0-reference-to-video)
- [Zapier](https://spiral.ai/integrations/zapier/kling-4-0-reference-to-video)

## More n8n guides

- [Kling 4.0 Image to Video](https://spiral.ai/integrations/n8n/kling-4-0-image-to-video)
- [Kling 4.0 Text to Video](https://spiral.ai/integrations/n8n/kling-4-0-text-to-video)
- [Kling 4.0 Flash Video Edit](https://spiral.ai/integrations/n8n/kling-4-0-flash-video-edit)
- [Kling 4.0 Video Edit](https://spiral.ai/integrations/n8n/kling-4-0-video-edit)
- [Kling 4.0 Flash Text to Video](https://spiral.ai/integrations/n8n/kling-4-0-flash-text-to-video)
- [Kling AI Avatar Pro](https://spiral.ai/integrations/n8n/kling-ai-avatar-pro)

## Questions about Kling 4.0 Reference to Video in n8n

**Can n8n use Kling 4.0 Reference to Video?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Kling 4.0 Reference to Video like any built-in tool.

**How much does Kling 4.0 Reference to Video cost in n8n?**

$0.306 per second at 1080p ($0.204 at 720p). With reference videos: $0.183 per second of reference plus output at 1080p ($0.122 at 720p), at least twice the output's length. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a fal account to use Kling 4.0 Reference to Video in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Kling 4.0 Reference to Video on its own fal account.

**How long does it take to set up Kling 4.0 Reference to Video in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Kling 4.0 Reference to Video runs?**

Kling 4.0 Reference to Video runs in the background. n8n starts the run, checks on it and gives you the video when it's ready.

**What should I include in a Kling 4.0 prompt?**

Describe the subject, visible action, setting, lighting, and camera movement. Give concrete details, such as a bottle catching side light, instead of asking for a premium look.

**Should I use long negative prompts?**

Keep them brief. Kling recommends describing what should appear and warns that negative prompts can increase errors.

**How do I describe a visual style clearly?**

Translate the style into visible details. For a vintage room, describe worn furniture, yellowed walls, and warm incandescent light.

**How can I reduce ambiguity in an action prompt?**

Describe the pose and movement you want to see. For example, ask for a person shown in profile during a phone call instead of listing views to avoid.

**What should I change when a result misses the brief?**

Replace vague instructions with observable details about the missed action, framing, or lighting. Revise one part of the brief at a time so you can judge the effect.

