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

opencode · VideoReleased 2026-10-01

How to Use H3 Max Turbo Extend Video in opencode

H3 Max Turbo Extend Video adds up to 15 seconds to an existing clip, with output up to 2K. Use it to finish an action, lengthen a camera move, or give a product shot more time.

Prompts to try with H3 Max Turbo Extend Video in opencode

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

Use H3 Max Turbo Extend Video on public/videos/hero.mp4. Add five seconds: the camera continues toward the cabin, then stops. Keep the source proportions.

H3 Max Turbo Extend Videoopencode
Try asking
  • Use H3 Max Turbo Extend Video to extend assets/product-turntable.mp4 by four seconds at 1080p. The bottle finishes rotating and faces the camera.

  • Use H3 Max Turbo Extend Video on the game teaser in this project. Add six seconds: the character approaches the gate while the camera follows.

  • Use H3 Max Turbo Extend Video on assets/demo-ending.mp4. Add three seconds of the device resting on the desk, with quiet room sound.

  • Use H3 Max Turbo Extend Video to add five seconds to assets/tracking-shot.mp4. The cyclist rounds the bend. Return the continuation and account for its overlap in the edit.

How to set up H3 Max Turbo Extend 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 H3 Max Turbo 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-turbo/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: opencode finds H3 Max Turbo Extend Video on Spiral, shows the price and runs it.

H3 Max Turbo Extend Video providers and prices

Spiral runs H3 Max Turbo Extend Video through fal. Open a card for today's price, with every fee included.

falVideo
H3 Max Turbo Extend Video
minimax/h3-max-turbo/extend-video

Settings you can ask for

H3 Max Turbo Extend Video works from your video URL, prompt, and reference audio URLs. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Enable prompt expansionon or offon

Automatically enhance the prompt using the source video to help keep the continuation consistent. May increase processing time.

Duration0.71 to 155

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.

Resolution480P, 768P, 1080P, or 2K768P

Output video resolution.

Aspect ratioauto, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16auto

Output aspect ratio. 'auto' follows the source video. Other values crop the video to fit the selected ratio.

Seeda whole number

Seed for the continuation. Random when omitted.

Outputextended or continuationextended

'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 Turbo Extend Video is on its tool page: open its card above.

What can you do with H3 Max Turbo Extend Video in opencode?

Extend video assets for a website, game teaser, or product demo from inside your project. Describe the next action and use the result in the project's edit.

Finish a product reveal

Continue an existing product shot until the rotation ends and the item faces the camera.

Lengthen a website video

Extend an existing background clip with a slow camera move and a quiet ending.

Complete a character action

Continue a scene with a character putting down an object, turning away, or walking out of frame.

Extend a game teaser

Add another short beat to an existing game teaser, such as a camera move toward a doorway.

Give an ad a longer ending

Continue the final product shot to leave room for a call to action added during editing.

Try alternate scene endings

Use the same source clip to explore different next actions before choosing an ending for the edit.

Questions about H3 Max Turbo Extend Video in opencode

Can opencode use H3 Max Turbo Extend Video?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run H3 Max Turbo Extend Video like any built-in tool.

How much does H3 Max Turbo Extend Video cost in opencode?

`resolution`: 480P $0.0325, 768P (default) $0.052, 1080P $0.104, 2K $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 H3 Max Turbo Extend Video in opencode?

No. Spiral runs H3 Max Turbo 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 Turbo Extend Video in opencode?

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

Does opencode wait while H3 Max Turbo Extend Video runs?

H3 Max Turbo Extend Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

What is H3 Max Turbo Extend good for?

Use it when an existing shot needs another action or a longer ending. Practical examples include finishing a product rotation, continuing a tracking shot, or letting a character leave the frame.

How much footage can H3 Max Turbo Extend add?

It adds up to 15 seconds per request. That limit applies to the new footage, so an extended video can be longer than 15 seconds.

How should I write a continuation prompt?

Start with the next action, then describe the camera movement and sound you want. For example: "The cyclist continues around the bend as the camera tracks alongside; tire noise continues."

What source-video limits should I check?

The source must be between 1.625 and 60 seconds long and no larger than 50 MB. Trim or compress clips that exceed those limits before requesting an extension.

Why does continuation-only output repeat the ending?

The returned continuation includes 1.625 seconds from the source's ending before the new footage. When joining it to the original in an editor, account for that overlap to avoid playing the same moment twice.

Get started

Start using H3 Max Turbo 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 opencode

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