[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [LTX 2.5 Fast Text to Video](https://spiral.ai/integrations/opencode/ltx-2-5-fast-text-to-video)

# How to Use LTX 2.5 Fast Text to Video in opencode

Create scenes with synchronized sound from a written description to test actions, framing, and mood. Fast supports takes up to 20 seconds at 720p or 1080p and 24 or 25 fps.

|  |  |
| --- | --- |
| Model | LTX 2.5 Fast Text to Video |
| Available through | fal |
| Category | Video |
| Price | `duration` / `resolution`: otherwise / 720p $0.117, otherwise / 1080p (default) $0.169, otherwise / 1440p $0.247, otherwise / 2160p $0.39 per second; auto (default) / 720p $2.34, auto (default) / 1080p (default) $3.38, auto (default) / 1440p $4.94, auto (default) / 2160p $7.80 per run. Billed on `duration`. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with LTX 2.5 Fast Text to Video in opencode

- Read the project's creative brief and use LTX 2.5 Fast Text to Video to make three eight-second landscape previews at 720p and 24 fps. Keep the subject and action the same; compare a static camera, a slow move forward, and a slow move backward. Describe matching ambient sound for each.
- Use LTX 2.5 Fast Text to Video with the product photograph in this project's assets. Make a six-second landscape clip at 1080p and 25 fps: the camera slowly moves toward the product while a curtain shifts gently behind it. Keep the lighting consistent and add quiet room ambience.
- Estimate, then generate a 5-second 9:16 clip with LTX 2.5 Fast Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with LTX 2.5 Fast Text to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with LTX 2.5 Fast Text to Video and list what each cost.

## How to set up LTX 2.5 Fast Text to Video in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Fast Text 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": "lightricks/ltx-2.5/text-to-video/fast",
    "input": {
      "prompt": "Through-the-veil shot of a bride'\''s face during an Indian wedding ceremony, camera positioned behind the sheer red dupatta fabric, the embroidered pattern…"
    }
  }'
```

Then paste one of the prompts above: opencode finds LTX 2.5 Fast Text to Video on Spiral, shows the price and runs it.

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

## LTX 2.5 Fast Text to Video tools and prices

- [LTX 2.5 Fast Text to Video](https://spiral.ai/tools/fal/lightricks/ltx-2.5/text-to-video/fast) (fal): `duration` / `resolution`: otherwise / 720p $0.117, otherwise / 1080p (default) $0.169, otherwise / 1440p $0.247, otherwise / 2160p $0.39 per second; auto (default) / 720p $2.34, auto (default) / 1080p (default) $3.38, auto (default) / 1440p $4.94, auto (default) / 2160p $7.80 per run. Billed on `duration`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| duration | 6, 8, 10, 12, 14, 16, 18, 20, auto | auto | The duration of the generated video in seconds. At 720p and 1080p, 24 or 25 FPS supports up to 20 seconds, while 48 or 50 FPS supports up to 10 seconds. At 1440p and 2160p, all frame rates support up to 10 seconds. Set to 'auto' to let the model choose the duration automatically. |
| resolution | 720p, 1080p, 1440p, 2160p | 1080p | The resolution of the generated video. |
| aspect_ratio | 16:9, 9:16 | 16:9 | The aspect ratio of the generated video |
| fps | 24, 25, 48, 50 | 25 | The frames per second of the generated video. |
| generate_audio |  | true | Whether to generate audio for the generated video |
| camera_motion | dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static, focus_shift | — | Optional camera motion applied to the generated video. |

## What can you do with LTX 2.5 Fast Text to Video in opencode?

Turn project artwork and creative briefs into short motion assets with matching sound. Use Fast to compare directions, then render the chosen image or text concept with Pro.

### Compare scene directions

Generate several Fast versions of a short scene, changing the camera movement or action between versions. Use the selected direction for a Pro render.

### Animate a product photograph

Start with a chosen product image and describe a restrained camera move, a small physical action, and matching ambient sound.

### Build visuals around a recording

Use audio-to-video for a short spoken performance or music excerpt when the recording should determine the timing.

### Prepare a larger delivery copy

Upscale an approved clip to the required delivery resolution while retaining its aspect ratio.

### Preview connected shots

Describe a wide shot followed by a close-up, explicitly naming the cut and the sound that continues across it.

### Review short dialogue scenes

Generate a simple performance with one visible speaker, quoted dialogue, and a steady camera to evaluate the scene before expanding it.

## Overview

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

## LTX 2.5 Fast Text to Video in other agents

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

## More opencode guides

- [LTX 2.5 Fast Image to Video](https://spiral.ai/integrations/opencode/ltx-2-5-fast-image-to-video)
- [LTX 2.5 Pro Audio to Video](https://spiral.ai/integrations/opencode/ltx-2-5-pro-audio-to-video)
- [LTX 2.5 Fast Audio to Video](https://spiral.ai/integrations/opencode/ltx-2-5-fast-audio-to-video)
- [LTX 2.5 Pro Image to Video](https://spiral.ai/integrations/opencode/ltx-2-5-pro-image-to-video)
- [LTX 2.5 Alpha Gen](https://spiral.ai/integrations/opencode/ltx-2-5-alpha-gen)
- [LTX 2.5 Pro Text to Video](https://spiral.ai/integrations/opencode/ltx-2-5-pro-text-to-video)

## Questions about LTX 2.5 Fast Text to Video in opencode

**Can opencode use LTX 2.5 Fast Text to Video?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run LTX 2.5 Fast Text to Video like any built-in tool.

**How much does LTX 2.5 Fast Text to Video cost in opencode?**

`duration` / `resolution`: otherwise / 720p $0.117, otherwise / 1080p (default) $0.169, otherwise / 1440p $0.247, otherwise / 2160p $0.39 per second; auto (default) / 720p $2.34, auto (default) / 1080p (default) $3.38, auto (default) / 1440p $4.94, auto (default) / 2160p $7.80 per run. Billed on `duration`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use LTX 2.5 Fast Text to Video in opencode?**

No. Spiral runs LTX 2.5 Fast Text to Video 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 Fast Text to Video in opencode?**

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

**Does opencode wait while LTX 2.5 Fast Text to Video runs?**

LTX 2.5 Fast Text to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**When should I choose Fast or Pro?**

Use Fast to compare scene ideas, motion, and framing. Choose Pro when you have settled the direction and want to prioritize visual fidelity.

**How long can LTX 2.5 clips be?**

Fast text and image generation can reach 20 seconds at 720p or 1080p and 24 or 25 fps. Higher resolutions or frame rates reduce that ceiling to 10 seconds, and the served Pro text and image versions also stop at 10 seconds.

**Does it create sound or use an existing soundtrack?**

Text-to-video and image-to-video can generate synchronized sound with the picture. Audio-to-video builds visuals around a supplied recording, which determines the clip's length.

**Can one generation contain multiple shots?**

Yes. Describe the scene chronologically, name each cut, re-establish the framing, and state whether the audio continues across the edit; the maker recommends two to four shots.

**What needs extra review?**

Check any visible writing throughout the clip because exact spelling and consistency are not guaranteed. Highly chaotic motion can also produce artifacts, so keep actions physically plausible.

