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

opencode · VideoReleased 2026-08-11

How to Use LTX 2.5 Pro Image to Video in opencode

Animate a chosen image when the opening composition matters. Pro favors finished visual detail over Fast's iteration speed and keeps clips within 10 seconds.

Prompts to try with LTX 2.5 Pro Image to Video in opencode

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

Use LTX 2.5 Pro Image to Video to animate the approved landscape illustration in this repository for eight seconds at 1080p and 25 fps. The illustrated traveler turns toward the horizon as grass moves in the breeze. Hold the camera steady and add wind and distant birds.

LTX 2.5 Pro Image to Videoopencode
Try asking
  • Use LTX 2.5 Pro Image to Video to make an eight-second landscape scene at 1080p and 24 fps for the project's bakery campaign. A baker places a loaf on a wooden counter, then the view cuts to its crust. Keep the same warm window light and carry quiet bakery ambience across the cut.

  • Animate the image I attach with LTX 2.5 Pro 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 Pro Image to Video.

  • Bring this portrait to life with LTX 2.5 Pro Image to Video: a subtle smile and a blink.

How to set up LTX 2.5 Pro 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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 Pro Image to Video

    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/image-to-video/pro",
        "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 Pro Image to Video on Spiral, shows the price and runs it.

LTX 2.5 Pro Image to Video providers and prices

Spiral runs LTX 2.5 Pro Image to Video through fal. Open a card for today's price, with every fee included.

falVideo
LTX 2.5 Pro Image to Video
lightricks/ltx-2.5/image-to-video/pro

Settings you can ask for

LTX 2.5 Pro Image to Video works from your start image URL, end image URL, and prompt. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration6, 8, 10, or autoauto

The duration of the generated video in seconds, up to 10 seconds. Set to 'auto' to let the model choose the duration automatically.

Resolution720p or 1080p1080p

The resolution of the generated video.

Aspect ratioauto, 16:9, or 9:16auto

The aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image.

Frames per second24, 25, or 5025

The frames per second of the generated video.

Generate audioon or offon

Whether to generate audio for the generated video

Camera motiondolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static, or focus_shift

Optional camera motion applied to the generated video.

Every API field of LTX 2.5 Pro Image to Video is on its tool page: open its card above.

What can you do with LTX 2.5 Pro 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.

Questions about LTX 2.5 Pro Image to Video in opencode

Can opencode use LTX 2.5 Pro Image to Video?

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

How much does LTX 2.5 Pro Image to Video cost in opencode?

`duration` / `resolution`: otherwise / 720p $0.156, otherwise / 1080p (default) $0.221 per second; auto (default) / 720p $1.56, auto (default) / 1080p (default) $2.21 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 Pro Image to Video in opencode?

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

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

Does opencode wait while LTX 2.5 Pro Image to Video runs?

LTX 2.5 Pro 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.

Get started

Start using LTX 2.5 Pro Image to Video in opencode

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

Paste this into opencode:

Set up opencode

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