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

# How to Use LTX 2.5 Alpha Gen in Windsurf

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, no API key |

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

- Use LTX 2.5 Alpha Gen on the presenter clip in this project. Save the matte and cutout beside the source, then prepare an edge-review preview.
- Process the product video in our assets directory with LTX 2.5 Alpha Gen. Prepare a composite over our existing background image and flag any incorrect foreground selection.
- Use LTX 2.5 Alpha Gen on the generated character clip in this project. Preserve the original video and organize the resulting compositing assets by shot.
- Run LTX 2.5 Alpha Gen on our logo animation video. Create a preview over the project's title background so I can inspect the extracted shape.
- Use LTX 2.5 Alpha Gen on the animal footage in this project. Prepare a review of fur edges and motion blur, and retain the source audio separately.

## How to set up LTX 2.5 Alpha Gen in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 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: Windsurf finds LTX 2.5 Alpha Gen on Spiral, shows the price and runs it.

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

## 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 Windsurf?

Turn project footage into foreground assets for video edits and compositing. A coding agent can process source clips and organize the matte and cutout files 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 Windsurf guides](https://spiral.ai/integrations/windsurf)

## 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)
- [n8n](https://spiral.ai/integrations/n8n/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)
- [Zapier](https://spiral.ai/integrations/zapier/ltx-2-5-alpha-gen)

## More Windsurf guides

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

## Questions about LTX 2.5 Alpha Gen in Windsurf

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

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

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

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 Windsurf plan is separate.

**Do I need a fal account to use LTX 2.5 Alpha Gen in Windsurf?**

No. Spiral runs LTX 2.5 Alpha Gen on its own fal account. You sign in to Spiral once and never paste a key.

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

About two minutes: add the server, then sign in, then check it.

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

LTX 2.5 Alpha Gen runs in the background. Windsurf 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.

