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

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

Animate a still image with motion and synchronized sound for previews or concept tests. Fast also gives longer takes than Pro at 720p or 1080p and 24 or 25 fps.

|  |  |
| --- | --- |
| Model | LTX 2.5 Fast Image 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 Image to Video in opencode

- Use LTX 2.5 Fast Image 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.
- Read the project's creative brief and use LTX 2.5 Fast Image 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.
- Animate the image I attach with LTX 2.5 Fast Image to Video: slow push-in, leaves moving in the wind. Save the result in ./assets.
- Turn this product photo into a 5-second rotating shot with LTX 2.5 Fast Image to Video.
- Bring this portrait to life with LTX 2.5 Fast Image to Video: a subtle smile and a blink.

## How to set up LTX 2.5 Fast Image 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 Image 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/image-to-video/fast",
    "input": {
      "image_url": "https://v3b.fal.media/files/b/0a90dd31/uJG2pMMJMcnVeC4PmwnAF_image_004.png",
      "prompt": "Periscope-level shot from behind tall grass of two Maasai warriors mid-leap during an adumu jumping dance, bodies fully airborne against a golden savanna…"
    }
  }'
```

Then paste one of the prompts above: opencode finds LTX 2.5 Fast Image 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 Image to Video tools and prices

- [LTX 2.5 Fast Image to Video](https://spiral.ai/tools/fal/lightricks/ltx-2.5/image-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 |
| --- | --- | --- | --- |
| end_image_url |  | — | The URL of the end image to use for the generated video. When provided, generates a transition video between start and end frames. |
| 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 | auto, 16:9, 9:16 | auto | The aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image. |
| 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 |

## What can you do with LTX 2.5 Fast Image 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 Image to Video in other agents

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

## More opencode guides

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

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

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

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

**How much does LTX 2.5 Fast Image 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 Image to Video in opencode?**

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

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

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

LTX 2.5 Fast Image 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.

