[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [LTX 2.5 Alpha Gen](https://spiral.ai/integrations/n8n/ltx-2-5-alpha-gen)

# How to Use LTX 2.5 Alpha Gen in n8n

LTX 2.5 Alpha Gen extracts foreground mattes from existing footage, including hair and soft edges. It produces a grayscale matte and a transparent ProRes cutout for compositing.

|  |  |
| --- | --- |
| Model | LTX 2.5 Alpha Gen |
| Available through | fal |
| Category | Video |
| Price | Up to $78.00 per run at the default inputs for 60 seconds of input. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with LTX 2.5 Alpha Gen in n8n

- Each morning, use LTX 2.5 Alpha Gen on newly submitted presenter videos. Collect the mattes and cutouts in a review report.
- Every evening, process newly approved product videos with LTX 2.5 Alpha Gen. Flag results where the foreground appears to be the wrong object.
- Each Friday, use LTX 2.5 Alpha Gen on newly submitted animal clips. Prepare a review focused on fur edges and motion blur.
- Every night, extract cutouts from newly approved generated character videos with LTX 2.5 Alpha Gen. Keep the original audio associated with each result.
- Each Monday, use LTX 2.5 Alpha Gen on new logo animation videos. Collect the grayscale mattes for a compositing review.

## How to set up LTX 2.5 Alpha Gen 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 LTX 2.5 Alpha Gen in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds LTX 2.5 Alpha Gen, 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 LTX 2.5 Alpha Gen**: 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": "lightricks/ltx-2.5/alpha-gen",
    "input": {
      "video_url": "<video_url>"
    }
  }'
```

Then paste one of the prompts above: n8n finds LTX 2.5 Alpha Gen on Spiral, shows the price and runs it.

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

## LTX 2.5 Alpha Gen tools and prices

- [LTX 2.5 Alpha Gen](https://spiral.ai/tools/fal/lightricks/ltx-2.5/alpha-gen) (fal): Up to $78.00 per run at the default inputs for 60 seconds of input.

## What can you do with LTX 2.5 Alpha Gen in n8n?

Prepare foreground assets from newly received footage on a recurring schedule. An always-on agent can collect the results and queue shots with difficult edges for review.

### Presenter background replacement

Extract a presenter from recorded footage, then composite the cutout over a branded background. Inspect hair and shoulder edges before delivery.

### Product video cutouts

Separate a product from an existing video for placement over a new backdrop. Check that Alpha Gen selected the intended object.

### Animal footage composites

Create foreground mattes from animal footage for a new scene. Review fur edges and movement before using the composite.

### Generated character reuse

Extract a character from generated footage and place the cutout over a different background in your editor.

### Logo animation extraction

Pull a foreground matte from an existing logo animation for compositing over another video or background.

### Matte preparation for VFX

Produce a grayscale matte from a shot for compositing work. Review translucent areas, motion blur, and occlusions before the final render.

## Overview

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

## LTX 2.5 Alpha Gen in other agents

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

## More n8n guides

- [LTX 2.3 Reframe](https://spiral.ai/integrations/n8n/ltx-2-3-reframe)
- [LTX 2.5 Fast Audio to Video](https://spiral.ai/integrations/n8n/ltx-2-5-fast-audio-to-video)
- [LTX 2.3 Pro Text to Video](https://spiral.ai/integrations/n8n/ltx-2-3-pro-text-to-video)
- [LTX 2.5 Fast Image to Video](https://spiral.ai/integrations/n8n/ltx-2-5-fast-image-to-video)
- [LTX 2.3 Pro Retake](https://spiral.ai/integrations/n8n/ltx-2-3-pro-retake)
- [LTX 2.5 Fast Text to Video](https://spiral.ai/integrations/n8n/ltx-2-5-fast-text-to-video)

## Questions about LTX 2.5 Alpha Gen in n8n

**Can n8n use LTX 2.5 Alpha Gen?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run LTX 2.5 Alpha Gen like any built-in tool.

**How much does LTX 2.5 Alpha Gen cost in n8n?**

Up to $78.00 per run at the default inputs for 60 seconds of input. 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 LTX 2.5 Alpha Gen in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs LTX 2.5 Alpha Gen on its own fal account.

**How long does it take to set up LTX 2.5 Alpha Gen in n8n?**

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

**Does n8n wait while LTX 2.5 Alpha Gen runs?**

LTX 2.5 Alpha Gen runs in the background. n8n starts the run, checks on it and gives you the video when it's ready.

**What is LTX 2.5 Alpha Gen useful for?**

Use it to separate foreground subjects from existing footage for background replacement and compositing. It is particularly useful when hair and soft edges need partial transparency.

**Can I tell it which person or object to keep?**

Alpha Gen chooses the foreground from the source video. Text instructions and masks cannot select a particular person or object.

**What do white, black, and gray mean in the matte?**

White keeps the foreground visible, black makes an area transparent, and gray preserves partial transparency. Check that the matte keeps the subject you intended before compositing.

**What files does Alpha Gen produce?**

It produces a grayscale matte MP4 and a ProRes 4444 MOV cutout with straight alpha. Both outputs are silent, so keep the original audio for your edit.

**Which shots need the closest inspection?**

Review fine edges, translucent materials, motion blur, subjects passing behind objects, and cuts. Treat the output as a matte to inspect before your final composite.

