How to Use LTX 2.5 Reframe in opencode
LTX 2.5 Reframe adapts existing footage to a new frame shape by generating the missing surroundings. It keeps the whole source visible without stretching it, making it useful when cropping would cut out people or products.
Prompts to try with LTX 2.5 Reframe in opencode
Copy an example into opencode, or ask in your own words.
Use LTX 2.5 Reframe on public/media/product-demo.mp4 to make a 1080p portrait version at 9:16. Center the source, save the result beside it, and update the mobile video reference.
Inspect the homepage video container, then use LTX 2.5 Reframe on public/media/launch.mp4 to create a 1920×1080 landscape asset. Keep the source centered and preview the result in the page.
Use LTX 2.5 Reframe to turn public/media/interview.mp4 into a 1080×1080 square video. Keep the whole source visible and build a local preview comparing it with the original.
Use LTX 2.5 Reframe on public/media/workshop.mp4 to create a 1080p landscape version with the source aligned left. Preview it beneath the existing title overlay so I can judge the added area.
Check the duration and frame count of the clips in public/media/campaign. For clips within 60 seconds and 1,800 frames, use LTX 2.5 Reframe to make centered 720p square previews and create a review page.
How to set up LTX 2.5 Reframe in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run LTX 2.5 Reframe
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/reframe", "input": { "video_url": "<video_url>" } }'
Then paste one of the prompts above: opencode finds LTX 2.5 Reframe on Spiral, shows the price and runs it.
LTX 2.5 Reframe providers and prices
Spiral runs LTX 2.5 Reframe through fal. Open a card for today's price, with every fee included.
Settings you can ask for
LTX 2.5 Reframe works from your video URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Aspect ratio | 1:1, 4:5, 5:4, 9:16, or 16:9 | 16:9 | |
| Resolution | 720p, 1080p, 720x720, 1080x1080, 720x900, 1080x1350, 900x720, 1350x1080 and 4 more | 1080p | Output tier or explicit frame dimensions. Explicit WxH dimensions must agree with aspect_ratio when both are explicitly provided. |
Every API field of LTX 2.5 Reframe is on its tool page: open its card above.
What can you do with LTX 2.5 Reframe in opencode?
Create video assets that fit the project's layouts from footage you already have. A coding agent can use LTX 2.5 Reframe, place the results in the project, and check them in the actual page.
Portrait product ads
Use LTX 2.5 Reframe to adapt a landscape product shot to portrait while keeping the full source visible. Review the generated surroundings before adding ad copy.
Square interview excerpts
Fit an interview excerpt into a square composition with LTX 2.5 Reframe when cropping would remove a second speaker or a hand gesture.
Landscape edits of phone footage
Use LTX 2.5 Reframe to add surroundings beside a portrait clip for a landscape edit. Check that the generated sides suit the shot.
Social cuts of demonstration videos
Adapt a short demonstration with LTX 2.5 Reframe when a tighter crop would remove tools, hands, or part of the work surface.
Website video compositions
Prepare a landscape version of existing promotional footage with LTX 2.5 Reframe, then check the composition in the website's actual video container.
Space for titles added in editing
Position the source to one side with LTX 2.5 Reframe and inspect the generated area as a possible background for titles added afterward.
Format tests before finishing an edit
Use LTX 2.5 Reframe to compare portrait, square, and landscape compositions from the same short clip before choosing the final edit.
More on LTX 2.5 Reframe and opencode
Overview
LTX 2.5 Reframe in other agents
Questions about LTX 2.5 Reframe in opencode
Can opencode use LTX 2.5 Reframe?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run LTX 2.5 Reframe like any built-in tool.
How much does LTX 2.5 Reframe cost in opencode?
Up to $15.60 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 opencode plan is separate.
Do I need a fal account to use LTX 2.5 Reframe in opencode?
No. Spiral runs LTX 2.5 Reframe 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 Reframe in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while LTX 2.5 Reframe runs?
LTX 2.5 Reframe runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.
What is LTX 2.5 Reframe useful for?
Use it to adapt existing footage when a crop would remove something you need. It generates surroundings to fill the new frame, which makes it useful for turning one shot into portrait, square, or landscape edits.
Does LTX 2.5 Reframe crop or stretch the original video?
The entire source stays visible with its proportions intact. Reframe generates the area outside that source to complete the output frame.
How long can the source video be?
The maker documents a maximum of 60 seconds and 1,800 frames. That allows 60 seconds at 30 fps, but only 30 seconds at 60 fps.
Can LTX 2.5 Reframe produce 4K video?
Its documented output tiers are 720p and 1080p. Plan a separate upscaling step if your finished edit needs 4K.
What should I tell an agent when requesting a reframe?
Identify the source clip, describe the intended frame shape, and say where the original footage should sit. Start with centered placement, then try another position if the composition needs it.
Start using LTX 2.5 Reframe in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


