[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Wan 2.7 Reference to Video](https://spiral.ai/integrations/n8n/wan-2-7-reference-to-video)

# How to Use Wan 2.7 Reference to Video in n8n

Wan 2.7 Reference to Video uses reference images or clips to guide character and object appearance in short performances. Unlike Wan 2.7 Text to Video, it gives you visual references for casting people and props.

|  |  |
| --- | --- |
| Model | Wan 2.7 Reference to Video |
| Available through | fal |
| Category | Video |
| Price | `resolution`: 720p $0.13, 1080p (default) $0.13 per second. Billed on `duration`, default 5. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Wan 2.7 Reference to Video in n8n

- Each week, use Wan 2.7 Reference to Video with the supplied mascot image. Create a six-second video at 1080p where the mascot gives a small wave in a seasonal setting; use one continuous shot.
- Every Monday at 9am: estimate, then generate a 5-second 9:16 clip with Wan 2.7 Reference to Video: a paper boat drifting down a rainy street.
- Make a 10-second product teaser with Wan 2.7 Reference to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with Wan 2.7 Reference to Video and list what each cost.
- Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Wan 2.7 Reference to Video.

## How to set up Wan 2.7 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 Wan 2.7 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 Wan 2.7 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 Wan 2.7 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": "fal-ai/wan/v2.7/reference-to-video",
    "input": {
      "prompt": "A person walking through a beautiful garden, cinematic style."
    }
  }'
```

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

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

## Wan 2.7 Reference to Video tools and prices

- [Wan 2.7 Reference to Video](https://spiral.ai/tools/fal/fal-ai/wan/v2.7/reference-to-video) (fal): `resolution`: 720p $0.13, 1080p (default) $0.13 per second. Billed on `duration`, default 5.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| reference_image_urls |  | — | Reference image URLs for character/object appearance. Pass multiple images for multi-subject generation. Max 20 MB each. |
| reference_video_urls |  | — | Reference video URLs for character/object appearance and motion. Pass multiple videos for multi-subject generation. Max 100 MB each. |
| negative_prompt |  | — | Content to avoid in the video. Max 500 characters. |
| aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4 | 16:9 | Aspect ratio of the generated video. |
| resolution | 720p, 1080p | 1080p | Output video resolution tier. |
| duration | 2, 3, 4, 5, 6, 7, 8, 9, 10 | 5 | Output video duration in seconds (2-10). |

## What can you do with Wan 2.7 Reference to Video in n8n?

Produce recurring batches of short scene drafts for a content calendar. A scheduled agent can apply a consistent creative brief and collect outputs for review.

### Product shot planning

Test a five-second product scene before filming. Describe the object and camera move, supplying a product image or visual reference when required.

### Short story beats

Preview one moment, such as a traveler noticing a light in an abandoned station. Keep the action readable within five to ten seconds.

### Atmospheric cutaways

Create short inserts of rain on a window, curtains moving, or a quiet street. Supply an opening image or reference material when required.

### Camera direction tests

Compare a fixed camera, a slow push toward the subject, and a lateral tracking shot before choosing a direction for a scene.

### Still artwork animation

Give an illustration a brief movement, such as a character turning toward a sound or a cloak moving in the wind.

### Reference-led character performances

Use supplied character images or clips to stage a short greeting, reaction, or interaction between two characters.

## Overview

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

## Wan 2.7 Reference to Video in other agents

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

## More n8n guides

- [Wan 2.7 Image to Video](https://spiral.ai/integrations/n8n/wan-2-7-image-to-video)
- [Wan 2.7 Text to Video](https://spiral.ai/integrations/n8n/wan-2-7-text-to-video)
- [Wan 2.6 Text to Video](https://spiral.ai/integrations/n8n/wan-2-6-text-to-video)
- [Wan 2.7 Video Edit](https://spiral.ai/integrations/n8n/wan-2-7-video-edit)
- [Wan 2.6 Reference to Video Flash](https://spiral.ai/integrations/n8n/wan-2-6-reference-to-video-flash)
- [Wan 3.0 Image to Video](https://spiral.ai/integrations/n8n/wan-3-0-image-to-video)

## Questions about Wan 2.7 Reference to Video in n8n

**Can n8n use Wan 2.7 Reference to Video?**

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

**How much does Wan 2.7 Reference to Video cost in n8n?**

`resolution`: 720p $0.13, 1080p (default) $0.13 per second. Billed on `duration`, default 5. 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 Wan 2.7 Reference to Video in n8n?**

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

**How long does it take to set up Wan 2.7 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 Wan 2.7 Reference to Video runs?**

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

**What is Wan 2.7 useful for?**

Use it for short scene studies, performance clips, and video concepts where subject motion and camera direction matter. Product shots, character moments, and storyboard tests are practical starting points.

**How should I write a Wan 2.7 prompt?**

Describe the subject, setting, action, lighting, and visual style. Give the camera a clear instruction, such as a slow push toward the subject or a fixed position.

**Can Wan 2.7 make a one-minute video in one generation?**

Plan a longer video as separate short clips and edit them together. A five- to ten-second scene is within the supported duration range across the listed Wan 2.7 models.

**What output resolution should I plan for?**

Wan 2.7 supports 720p and 1080p output tiers. For image animation, the opening image or clip determines the output proportions.

**Will repeating a seed reproduce exactly the same video?**

A fixed seed helps reproducibility, but identical results are not guaranteed. Keep the prompt and other choices unchanged when comparing outputs.

