How to Use H3 Max Extend Video in Muse Code
H3 Max Extend Video adds a directed next action to footage you already have. Use it to finish a scene or lengthen a shot, with output up to 2K.
Prompts to try with H3 Max Extend Video in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use H3 Max Extend Video on public/videos/product-reveal.mp4 to add 5 seconds: the product finishes its turn, then holds still as the camera settles. Save the result as a new asset.
Use H3 Max Extend Video to continue assets/teaser.mp4 for 5 seconds: the character reaches the doorway and pauses with one hand on the handle. Keep the next action to this single beat.
Use H3 Max Extend Video on public/videos/coast.mp4 to add 5 seconds of waves rolling toward shore while the camera continues its existing movement. Request 2K output.
Use H3 Max Extend Video to make two endings for assets/cyclist.mp4, adding 5 seconds each. In one, the cyclist stops beside the gate; in the other, the cyclist rides through it. Save both for review.
Use H3 Max Extend Video on assets/closing-shot.mp4 to add 5 seconds of the subject walking away. Request the separate continuation and account for its 1.625-second repeated opening when adding it to the project timeline.
How to set up H3 Max Extend Video in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code 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 H3 Max 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": "minimax/h3-max/extend-video", "input": { "video_url": "https://storage.googleapis.com/falserverless/example_inputs/flux-3-red-panda.mp4", "prompt": "The red panda keeps walking along the log, then looks up at a bird." } }'
Then paste one of the prompts above: Muse Code finds H3 Max Extend Video on Spiral, shows the price and runs it.
H3 Max Extend Video providers and prices
Spiral runs H3 Max Extend Video through fal. Open a card for today's price, with every fee included.
Up to $10.943504 per run at the default inputs for 60 seconds of input. resolution: 480P $10.748504, 768P (default) $10.943504, 1080P $11.463504, 2K $12.503504. $26.00 per 1M input tokens.
Settings you can ask for
H3 Max Extend Video works from your video URL, prompt, and reference audio URLs. Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Enable prompt expansion | on or off | on | Automatically enhance the prompt using the source video to help keep the continuation consistent. May increase processing time. |
| Duration | 0.71 to 15 | 5 | Seconds of new footage to add. The continuation clip also includes 1.625 seconds from the source's ending and may be longer because of frame rounding. |
| Resolution | 480P, 768P, 1080P, or 2K | 768P | Output video resolution. |
| Aspect ratio | auto, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16 | auto | Output aspect ratio. 'auto' follows the source video. Other values crop the video to fit the selected ratio. |
| Seed | a whole number | Seed for the continuation. Random when omitted. | |
| Output | extended or continuation | extended | 'extended' returns the source and new footage as one video. 'continuation' returns a clip that starts with a 1.625-second repeat of the source's ending, then shows the new footage. |
Every API field of H3 Max Extend Video is on its tool page: open its card above.
What can you do with H3 Max Extend Video in Muse Code?
Extend video assets in your project to finish actions or add room at the end of a shot. A coding agent can prepare continuation briefs and account for the repeated opening when assembling the result.
Finish a product reveal
Continue an existing product shot so the object finishes turning and the camera settles on the final view.
Complete a character action
Extend a scene so a character reaches the door, sets down an object, or walks out of frame.
Lengthen scenic footage
Add more footage after a landscape shot, directing the next movement of clouds, water, or the camera.
Give an ending room to breathe
Continue a closing shot with restrained motion so an editor has more footage beneath narration or end titles.
Explore alternate scene endings
Start from the same source clip and request different next actions to compare possible endings.
Continue an animated game teaser
Extend existing teaser footage with another short action, such as a character reaching a checkpoint or approaching a doorway.
More on H3 Max Extend Video and Muse Code
Overview
H3 Max Extend Video in other agents
Questions about H3 Max Extend Video in Muse Code
Can Muse Code use H3 Max Extend Video?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run H3 Max Extend Video like any built-in tool.
How much does H3 Max Extend Video cost in Muse Code?
Up to $10.943504 per run at the default inputs for 60 seconds of input. `resolution`: 480P $10.748504, 768P (default) $10.943504, 1080P $11.463504, 2K $12.503504. $26.00 per 1M input tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need a fal account to use H3 Max Extend Video in Muse Code?
No. Spiral runs H3 Max 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 H3 Max Extend Video in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while H3 Max Extend Video runs?
H3 Max Extend Video runs in the background. Muse Code starts the run, checks on it and gives you the video when it's ready.
What is H3 Max Extend Video useful for?
Use it when existing footage needs another action or a longer ending. Examples include letting a subject leave the frame, finishing a camera move, or giving a product shot more time.
Can H3 Max Extend Video start from text alone?
It needs an existing video to continue. The text directs the footage added after that video.
How should I write a continuation prompt?
Describe the next action instead of retelling the source video. For example: 'The cyclist keeps moving forward, brakes beside the gate, and puts one foot on the ground.'
Does the separate continuation clip contain any original footage?
Yes. It starts with 1.625 seconds repeated from the source ending, so account for that overlap when placing it after the original in an editor.
How high can the output resolution go?
H3 Max Extend Video supports output up to 2K. Its supported resolution range starts at 480p.
Start using H3 Max Extend Video in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


