How to Use LTX Video 0.9.7 Distilled Extend Video in opencode
Use LTX Video 0.9.7 Distilled Extend Video to continue an existing clip with a written description of what happens next. Unlike LTX Video 0.9.7 Distilled Text to Video, it starts with footage you already have.
Prompts to try with LTX Video 0.9.7 Distilled Extend Video in opencode
Copy an example into opencode, or ask in your own words.
Use LTX Video 0.9.7 Distilled Extend Video to continue the draft clip in this project's media folder. Request 121 frames at 480p and 24 frames per second. Describe the visible subject and lighting, then have the current movement continue gently without introducing another subject.
Estimate, then generate a 5-second 9:16 clip with LTX Video 0.9.7 Distilled Extend Video: a paper boat drifting down a rainy street. Save the result in ./assets.
Make a 10-second product teaser with LTX Video 0.9.7 Distilled Extend Video for a smartwatch, slow orbit shot, studio lighting.
Generate three 5-second b-roll clips of a busy coffee shop with LTX Video 0.9.7 Distilled Extend Video and list what each cost.
Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with LTX Video 0.9.7 Distilled Extend Video.
How to set up LTX Video 0.9.7 Distilled Extend Video 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 Video 0.9.7 Distilled Extend 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": "fal-ai/ltx-video-13b-distilled/extend", "input": { "prompt": "Woman walking on a street in Tokyo", "video": { "strength": 1, "video_url": "https://storage.googleapis.com/falserverless/web-examples/wan/t2v.mp4", "preprocess": false, "target_fps": 24, "resample_fps": false, "reverse_video": false, "max_num_frames": 1441, "start_frame_num": 0, "limit_num_frames": false, "conditioning_type": "rgb" } } }'
Then paste one of the prompts above: opencode finds LTX Video 0.9.7 Distilled Extend Video on Spiral, shows the price and runs it.
LTX Video 0.9.7 Distilled Extend Video providers and prices
Spiral runs LTX Video 0.9.7 Distilled Extend Video through fal. Open a card for today's price, with every fee included.
resolution: 480p $0.052, 720p (default) $0.052 per video.
Settings you can ask for
LTX Video 0.9.7 Distilled Extend Video works from your prompt. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Negative prompt | what to leave out, in words | worst quality, inconsistent motion, blurry, jittery, distorted | Negative prompt for generation |
| Resolution | 480p or 720p | 720p | Resolution of the generated video. |
| Aspect ratio | 9:16, 1:1, 16:9, or auto | auto | The aspect ratio of the video. |
| Seed | a whole number | Random seed for generation | |
| Number of frames | 9 to 1441 | 121 | The number of frames in the video. |
| Number of inference steps | 2 to 12 | 8 | Number of inference steps during the first pass. |
| Second pass number of inference steps | 2 to 12 | 8 | Number of inference steps during the second pass. |
| Second pass skip initial steps | 1 to 11 | 5 | The number of inference steps to skip in the initial steps of the second pass. By skipping some steps at the beginning, the second pass can focus on smaller details instead of larger changes. |
| Frame rate | 1 to 60 | 24 | The frame rate of the video. |
| Expand prompt | on or off | off | Whether to expand the prompt using a language model. |
| Reverse video | on or off | off | Whether to reverse the video. |
| Enable detail pass | on or off | off | Whether to use a detail pass. If True, the model will perform a second pass to refine the video and enhance details. This incurs a 2.0x cost multiplier on the base price. |
| Temporal AdaIN factor | 0 to 1 | 0.5 | The factor for adaptive instance normalization (AdaIN) applied to generated video chunks after the first. This can help deal with a gradual increase in saturation/contrast in the generated video by normalizing the color distribution across the video. A high value will ensure the color distribution is more consistent across the video, while a low value will allow for more variation in color distribution. |
| Tone map compression ratio | 0 to 1 | 0 | The compression ratio for tone mapping. This is used to compress the dynamic range of the video to improve visual quality. A value of 0.0 means no compression, while a value of 1.0 means maximum compression. |
| Constant rate factor | 0 to 51 | 29 | The constant rate factor (CRF) to compress input media with. Compressed input media more closely matches the model's training data, which can improve motion quality. |
Every API field of LTX Video-0.9.7 13B Distilled · Extend Video is on its tool page: open its card above.
What can you do with LTX Video 0.9.7 Distilled Extend Video in opencode?
Create short video drafts for project pages, storyboards, and visual prototypes. Use the project's creative brief to describe each shot, then review the footage before placing it in the interface.
Storyboard motion tests
Draft a short shot to judge the subject's movement and camera direction before building the full sequence.
Ad concept reviews
Explore a simple product scene, such as steam rising beside a mug, and review the visual idea before adding copy in an editor.
Website background drafts
Test a quiet scene with restrained movement, such as leaves shifting beside a window, as a candidate website background.
Camera movement studies
Try a slow pan, tracking shot, or push toward a subject. Review how well the generated camera movement matches the description.
Alternative shot continuations
Continue supplied footage with different descriptions of the next action, then compare which ending suits the edit.
More on LTX Video 0.9.7 Distilled Extend Video and opencode
Overview
LTX Video 0.9.7 Distilled Extend Video in other agents
Questions about LTX Video 0.9.7 Distilled Extend Video in opencode
Can opencode use LTX Video 0.9.7 Distilled Extend Video?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run LTX Video 0.9.7 Distilled Extend Video like any built-in tool.
How much does LTX Video 0.9.7 Distilled Extend Video cost in opencode?
`resolution`: 480p $0.052, 720p (default) $0.052 per video. 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 Video 0.9.7 Distilled Extend Video in opencode?
No. Spiral runs LTX Video 0.9.7 Distilled Extend 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 Video 0.9.7 Distilled Extend Video in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while LTX Video 0.9.7 Distilled Extend Video runs?
LTX Video 0.9.7 Distilled Extend Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.
What is LTX Video 0.9.7 Distilled useful for?
Use it to explore short shots, camera movement, and visual ideas before committing to an edit. Its emphasis on speed makes repeated drafts a practical use.
What are its main weaknesses?
Distillation comes with a slight quality reduction compared with the full LTX Video 13B model. Prompt matching is also imperfect, so inspect whether the requested actions and details actually appear.
How should I write a prompt?
Write one detailed paragraph in English. Describe the action in order, then specify the subject's appearance, surroundings, camera movement, lighting, and colors.
How long should a shot be?
Start with a short shot that covers one clear action. The 0.9.7 distilled model card recommends fewer than 257 frames for best results; treat that as a quality recommendation rather than a maximum supported length.
Should I always aim for the largest output?
For initial drafts, stay below the model card's recommended 720 by 1280 resolution boundary. Review the movement and composition before requesting a larger render.
Start using LTX Video 0.9.7 Distilled Extend Video 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


