[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Grok Imagine Extend Video](https://spiral.ai/integrations/n8n/grok-imagine-extend-video)

# How to Use Grok Imagine Extend Video in n8n

Grok Imagine Extend Video adds a prompted continuation to an existing clip, useful for finishing an action or extending a camera move. It returns the original and continuation together, preserving the source proportions with output capped at 720p.

|  |  |
| --- | --- |
| Model | Grok Imagine Extend Video |
| Available through | fal |
| Category | Video |
| Price | $0.065 per second. Billed on `duration`, default 6. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Grok Imagine Extend Video in n8n

- Every Monday, use Grok Imagine Extend Video on each newly selected product clip that is 2 to 15 seconds long. Add 4 seconds with a slow camera pullback and collect the results for review.
- Each morning, use Grok Imagine Extend Video on the selected 8-second landscape clip. Add 4 seconds of continued scenery movement for today's narration edit.
- Every Friday, use Grok Imagine Extend Video to create two separate 3-second continuations from the selected 6-second character scene. Request a small wave in one and a nod in the other.
- Each week, use Grok Imagine Extend Video on the selected city clip if it is 2 to 15 seconds long. Add 5 seconds continuing the camera's existing direction, then collect the result for review.
- Before each weekly presentation review, use Grok Imagine Extend Video to add 3 seconds to the selected 9-second background clip. Request a stationary camera and gentle movement in the scene.

## How to set up Grok Imagine Extend 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 Grok Imagine Extend Video in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Grok Imagine Extend 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 Grok Imagine Extend 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": "xai/grok-imagine-video/extend-video",
    "input": {
      "prompt": "The camera slowly zooms out to reveal the city skyline at sunset",
      "video_url": "https://v3b.fal.media/files/b/0a8b9112/V5Z_NIPE3ppMDWivNo6_q_video_019.mp4"
    }
  }'
```

Then paste one of the prompts above: n8n finds Grok Imagine Extend Video on Spiral, shows the price and runs it.

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

## Grok Imagine Extend Video tools and prices

- [Grok Imagine Extend Video](https://spiral.ai/tools/fal/xai/grok-imagine-video/extend-video) (fal): $0.065 per second. Billed on `duration`, default 6.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| duration | 2 to 10 | 6 | Length of the extension in seconds. |

## What can you do with Grok Imagine Extend Video in n8n?

Prepare additional endings for recurring video work from selected source clips. A scheduled agent can request continuations and collect them for review before publication.

### Finish a product reveal

Continue an existing product shot as the camera pulls back to show the full object. Request a short pause at the end for a closing edit.

### Complete a character action

Extend an animated scene so a character can finish turning, sit down, or react to something already visible.

### Add room for narration

Request a few more seconds of motion in an existing landscape shot, then place narration over the longer sequence in an editor.

### Continue an establishing shot

Extend a camera move across a city, room, or landscape to give the location more screen time.

### Try different story endings

Start each attempt from the same short clip and request a different next action. Compare the endings before choosing one for the edit.

### Lengthen presentation footage

Continue an existing background clip with restrained motion to give a presentation's closing slide more time on screen.

## Overview

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

## Grok Imagine Extend Video in other agents

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

## More n8n guides

- [Grok Imagine 1.5 Lite Text to Video](https://spiral.ai/integrations/n8n/grok-imagine-1-5-lite-text-to-video)
- [Grok Imagine Image to Video](https://spiral.ai/integrations/n8n/grok-imagine-image-to-video)
- [Grok Imagine 1.5 Lite Image to Video](https://spiral.ai/integrations/n8n/grok-imagine-1-5-lite-image-to-video)
- [Grok Imagine Reference to Video](https://spiral.ai/integrations/n8n/grok-imagine-reference-to-video)
- [Gemini Omni Flash Text to Video](https://spiral.ai/integrations/n8n/gemini-omni-flash-text-to-video)
- [Grok Imagine Text to Video](https://spiral.ai/integrations/n8n/grok-imagine-text-to-video)

## Questions about Grok Imagine Extend Video in n8n

**Can n8n use Grok Imagine Extend Video?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Grok Imagine Extend Video like any built-in tool.

**How much does Grok Imagine Extend Video cost in n8n?**

$0.065 per second. Billed on `duration`, default 6. 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 Grok Imagine Extend Video in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Grok Imagine Extend Video on its own fal account.

**How long does it take to set up Grok Imagine Extend Video in n8n?**

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

**Does n8n wait while Grok Imagine Extend Video runs?**

Grok Imagine Extend Video runs in the background. n8n starts the run, checks on it and gives you the video when it's ready.

**What is Grok Imagine Extend Video useful for?**

Use it to add a next beat to an existing shot: finish a gesture, continue a camera move, or give a scene a longer ending. The continuation begins at the clip's last frame.

**How long can the finished video be?**

A source can be 2 to 15 seconds long, and an extension adds 2 to 10 seconds. A 15-second source with a 10-second extension produces a 25-second result.

**Can Grok Imagine Extend Video produce 1080p output?**

Output is capped at 720p. It otherwise follows the source video's resolution and proportions.

**What should I put in the continuation prompt?**

Describe what happens immediately after the final frame. For example, ask a walking subject to stop and turn, or ask the camera to continue pulling back.

**Does the result include my original footage?**

Yes. The result contains the original clip and the generated continuation stitched together.

