How to Use MiniMax H3 Image to Video in opencode
MiniMax H3 Image to Video turns a still into a shot with sound and motion. Unlike MiniMax H3 Reference to Video, it can anchor the opening and ending to specific images.
Prompts to try with MiniMax H3 Image to Video in opencode
Copy an example into opencode, or ask in your own words.
Use the product still in this project's assets with MiniMax H3 Image to Video. Make an 8-second, 768p shot that starts from the image and adds a slow camera move, moving reflections, and quiet room ambience.
Use MiniMax H3 Image to Video with the opening and ending storyboard images in this project. Create a 10-second, 768p transition in which the umbrella opens gradually and the composition reaches the ending image.
Animate the image I attach with MiniMax H3 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 MiniMax H3 Image to Video.
Bring this portrait to life with MiniMax H3 Image to Video: a subtle smile and a blink.
How to set up MiniMax H3 Image to 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 MiniMax H3 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": "minimax/h3/image-to-video", "input": { "prompt": "The camera slowly pulls back from the scene, revealing the full landscape as clouds drift overhead and light shifts across the terrain." } }'
Then paste one of the prompts above: opencode finds MiniMax H3 Image to Video on Spiral, shows the price and runs it.
MiniMax H3 Image to Video providers and prices
Spiral runs MiniMax H3 Image to Video through fal. Open a card for today's price, with every fee included.
resolution: 480P $0.065, 768P $0.078, 2K (default) $0.169, 4K $0.208 per second. Billed on duration, default 5.
Settings you can ask for
MiniMax H3 Image to Video works from your prompt, target audio URL, image URL, and end image URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Duration | 5 to 15 | 5 | The duration of the video in seconds. |
| Resolution | 480P, 768P, 2K, or 4K | 2K | The resolution of the generated video. 480P and 768P are native generation modes; 2K and 4K upscale a 768P base result. |
| Seed | a whole number | Random seed. A random seed is selected when omitted. |
Every API field of MiniMax H3 Image to Video is on its tool page: open its card above.
What can you do with MiniMax H3 Image to Video in opencode?
Turn a project's creative brief into short audiovisual assets for a website, game, or demo. Have the agent translate the brief into concrete compositions, actions, and sounds, then review fine details before adding the clips to the project.
Short product promos
Build a brief product scene around one visible action, such as pouring a drink or opening a case, with matching sound. Choose text-led creation or supply product imagery where supported.
Atmospheric footage
Create a short rainy street, windblown landscape, or quiet workshop shot. Specify the visible movement and environmental sounds as one scene.
Animated explainer scenes
Illustrate one simple idea per clip, such as water filling a reservoir or a parcel moving along a conveyor. Use a concrete action that fits within 15 seconds.
Storyboard motion tests
Test a short story beat before committing to a longer edit. Describe the opening composition, what changes, and the sound accompanying the action.
Still artwork brought into motion
Use supplied artwork to guide a short animated scene. Describe how its subject moves and which visual features should remain consistent.
Transitions between designed frames
Connect a prepared opening image to a prepared ending image. Describe the intermediate motion that carries the scene from one composition to the other.
More on MiniMax H3 Image to Video and opencode
Overview
MiniMax H3 Image to Video in other agents
Questions about MiniMax H3 Image to Video in opencode
Can opencode use MiniMax H3 Image to Video?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run MiniMax H3 Image to Video like any built-in tool.
How much does MiniMax H3 Image to Video cost in opencode?
`resolution`: 480P $0.065, 768P $0.078, 2K (default) $0.169, 4K $0.208 per second. Billed on `duration`, default 5. 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 MiniMax H3 Image to Video in opencode?
No. Spiral runs MiniMax H3 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 MiniMax H3 Image to Video in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while MiniMax H3 Image to Video runs?
MiniMax H3 Image to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.
What is MiniMax H3 useful for?
Use MiniMax H3 for short scenes where picture and sound need to work together, such as product promos, atmospheric footage, and animated story beats. Describe the visible action and audible events together.
Does MiniMax H3 generate sound?
Yes. MiniMax H3 generates synchronized stereo audio with its video, so include the sounds the scene needs in your brief.
Which spoken languages does MiniMax H3 support?
MiniMax documents stable dialogue support for Arabic, Chinese, English, French, German, Italian, Japanese, Korean, Portuguese, Russian, and Spanish. Write the surrounding description in English and keep dialogue in its intended language.
Can MiniMax H3 make a one-minute video?
A single generation lasts at most 15 seconds. Plan a minute-long piece as several short shots and assemble them afterward.
How should I write a MiniMax H3 prompt?
Specify the visual style, opening composition, subject, action, and sounds. Use observable details such as a hand placing a cup on a counter instead of abstract instructions such as making the scene feel meaningful.
Start using MiniMax H3 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 https://spiral.ai/SKILL.md


