[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [H3 Max Turbo Extend Video](https://spiral.ai/integrations/codex/h3-max-turbo-extend-video)

# How to Use H3 Max Turbo Extend Video in Codex

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.

|  |  |
| --- | --- |
| Model | H3 Max Turbo Extend Video |
| Available through | fal |
| Category | Video |
| Price | `resolution`: 480P $0.0325, 768P (default) $0.052, 1080P $0.104, 2K $0.208 per second. Billed on `duration`, default 5. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with H3 Max Turbo Extend Video in Codex

- 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.
- 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 Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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.

```bash
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.

```bash
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: Codex finds H3 Max Turbo Extend Video on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## H3 Max Turbo Extend Video tools and prices

- [H3 Max Turbo Extend Video](https://spiral.ai/tools/fal/minimax/h3-max-turbo/extend-video) (fal): `resolution`: 480P $0.0325, 768P (default) $0.052, 1080P $0.104, 2K $0.208 per second. Billed on `duration`, default 5.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| reference_audio_urls |  | — | Optional audio references for the continuation (2–15 seconds each, 15 seconds combined). The full extended video retains its original source soundtrack, and its ending still conditions the transition. These clips guide the newly generated audio instead of using that soundtrack as an audio reference. Assign each clip a role in the prompt, such as 'Audio 1 for the voice' and 'Audio 2 for background music'. |
| enable_prompt_expansion |  | true | 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, 2K | 768P | Output video resolution. |
| aspect_ratio | auto, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | auto | Output aspect ratio. 'auto' follows the source video. Other values crop the video to fit the selected ratio. |
| seed |  | — | Seed for the continuation. Random when omitted. |

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

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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Codex guides](https://spiral.ai/integrations/codex)

## H3 Max Turbo Extend Video in other agents

- [Amp](https://spiral.ai/integrations/amp/h3-max-turbo-extend-video)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/h3-max-turbo-extend-video)
- [Claude](https://spiral.ai/integrations/claude-desktop/h3-max-turbo-extend-video)
- [Claude Code](https://spiral.ai/integrations/claude-code/h3-max-turbo-extend-video)
- [Cline](https://spiral.ai/integrations/cline/h3-max-turbo-extend-video)
- [Cursor](https://spiral.ai/integrations/cursor/h3-max-turbo-extend-video)
- [Devin](https://spiral.ai/integrations/devin/h3-max-turbo-extend-video)
- [dots](https://spiral.ai/integrations/dots/h3-max-turbo-extend-video)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/h3-max-turbo-extend-video)
- [Gemini](https://spiral.ai/integrations/gemini/h3-max-turbo-extend-video)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/h3-max-turbo-extend-video)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/h3-max-turbo-extend-video)
- [goose](https://spiral.ai/integrations/goose/h3-max-turbo-extend-video)
- [Grok](https://spiral.ai/integrations/grok/h3-max-turbo-extend-video)
- [Grok Build](https://spiral.ai/integrations/grok-build/h3-max-turbo-extend-video)
- [Hermes](https://spiral.ai/integrations/hermes/h3-max-turbo-extend-video)
- [Instinct](https://spiral.ai/integrations/instinct/h3-max-turbo-extend-video)
- [Manus](https://spiral.ai/integrations/manus/h3-max-turbo-extend-video)
- [Muse](https://spiral.ai/integrations/muse/h3-max-turbo-extend-video)
- [Muse Code](https://spiral.ai/integrations/muse-code/h3-max-turbo-extend-video)
- [n8n](https://spiral.ai/integrations/n8n/h3-max-turbo-extend-video)
- [Notion](https://spiral.ai/integrations/notion/h3-max-turbo-extend-video)
- [OpenClaw](https://spiral.ai/integrations/openclaw/h3-max-turbo-extend-video)
- [opencode](https://spiral.ai/integrations/opencode/h3-max-turbo-extend-video)
- [Perplexity](https://spiral.ai/integrations/perplexity/h3-max-turbo-extend-video)
- [Raycast](https://spiral.ai/integrations/raycast/h3-max-turbo-extend-video)
- [VS Code](https://spiral.ai/integrations/vscode/h3-max-turbo-extend-video)
- [Windsurf](https://spiral.ai/integrations/windsurf/h3-max-turbo-extend-video)
- [Zapier](https://spiral.ai/integrations/zapier/h3-max-turbo-extend-video)

## More Codex guides

- [H3 Max Text to Video](https://spiral.ai/integrations/codex/h3-max-text-to-video)
- [H3 Max Turbo Image to Video](https://spiral.ai/integrations/codex/h3-max-turbo-image-to-video)
- [H3 Max Relight](https://spiral.ai/integrations/codex/h3-max-relight)
- [H3 Max Turbo Reference to Video](https://spiral.ai/integrations/codex/h3-max-turbo-reference-to-video)
- [H3 Max Reframe Video](https://spiral.ai/integrations/codex/h3-max-reframe-video)
- [H3 Max Turbo Text to Video](https://spiral.ai/integrations/codex/h3-max-turbo-text-to-video)

## Questions about H3 Max Turbo Extend Video in Codex

**Can Codex use H3 Max Turbo Extend Video?**

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

**How much does H3 Max Turbo Extend Video cost in Codex?**

`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 Codex plan is separate.

**Do I need a fal account to use H3 Max Turbo Extend Video in Codex?**

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 Codex?**

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

**Does Codex wait while H3 Max Turbo Extend Video runs?**

H3 Max Turbo Extend Video runs in the background. Codex 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.

