Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · VideoReleased 2026-11-10

How to Use LTX 2.5 Alpha Gen in Claude Code

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.

Prompts to try with LTX 2.5 Alpha Gen in Claude Code

Copy an example into Claude Code, or ask in your own words.

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.

LTX 2.5 Alpha GenClaude Code
Try asking
  • 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 Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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.

    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.

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

LTX 2.5 Alpha Gen providers and prices

Spiral runs LTX 2.5 Alpha Gen through fal. Open a card for today's price, with every fee included.

falVideo
LTX 2.5 Alpha Gen
lightricks/ltx-2.5/alpha-gen

What can you do with LTX 2.5 Alpha Gen in Claude Code?

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.

Questions about LTX 2.5 Alpha Gen in Claude Code

Can Claude Code use LTX 2.5 Alpha Gen?

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

How much does LTX 2.5 Alpha Gen cost in Claude Code?

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

Do I need a fal account to use LTX 2.5 Alpha Gen in Claude Code?

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 Claude Code?

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

Does Claude Code wait while LTX 2.5 Alpha Gen runs?

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

Get started

Start using LTX 2.5 Alpha Gen in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options