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

Codex · VideoReleased 2026-08-23

How to Use H3 Max Text to Video in Codex

Create a short scene from a written shot brief, including camera direction and sound. Unlike H3 Max Image to Video, it starts from text alone.

Prompts to try with H3 Max Text to Video in Codex

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

Read the product brief in this project. Use H3 Max Text to Video to create a five-second 768p concept showing one product action, a slow camera move toward it, and matching physical sound.

H3 Max Text to VideoCodex
Try asking
  • Use H3 Max Text to Video to make a five-second 768p establishing shot for the game's opening scene, based on the project's art direction. Describe the setting, one moving subject, camera movement, and ambience.

  • Estimate, then generate a 5-second 9:16 clip with H3 Max Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with H3 Max Text to Video for a smartwatch, slow orbit shot, studio lighting.

  • Generate three 5-second b-roll clips of a busy coffee shop with H3 Max Text to Video and list what each cost.

How to set up H3 Max Text to Video in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    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.

    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.

    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 Text 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-max/text-to-video",
        "input": {
          "prompt": "A white kitten chases a butterfly across a sunlit garden. Gentle camera tracking, natural movement, soft afternoon light filtering through the leaves.",
          "prompt_expansion_mode": "balanced"
        }
      }'

Then paste one of the prompts above: Codex finds H3 Max Text to Video on Spiral, shows the price and runs it.

H3 Max Text to Video providers and prices

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

falVideo
MiniMax H3 Max Text to Video
minimax/h3-max/text-to-video

Settings you can ask for

H3 Max Text to Video works from your prompt and target audio URL. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration0.92 to 155

Video length in seconds. The output can run up to about 0.7 s longer than requested. Use at least 2 s with target_audio_url.

Resolution480P, 768P, or 1080P768P

The native generation resolution, or 1080P latent refinement from a native 768P source.

Seeda whole number

Random seed. A random seed is selected when omitted.

Aspect ratio21:9, 16:9, 4:3, 1:1, 3:4, or 9:1616:9

The aspect ratio of the generated video.

Every API field of MiniMax H3 Max Text to Video is on its tool page: open its card above.

What can you do with H3 Max Text to Video in Codex?

Turn a project's creative brief into short video assets with directed movement and sound. A coding agent can read the brief, prepare shot prompts, and save the results alongside the project.

Product ad concepts

Plan a short product reveal around one visible action, such as a bottle turning or a box opening. Describe it from scratch or guide the shot with product imagery.

Storyboard shot studies

Test how a scene reads with a static camera, a slow push forward, or a tracking shot. Keep the action consistent so you can compare the camera choices.

Animated explainer scenes

Make a short visual explanation of one event, such as water flowing through a filter. Specify the illustration style, action sequence, and accompanying sounds.

Atmospheric establishing shots

Create a brief setting for a story or presentation, such as a bakery before opening. Pair the camera movement with concrete sounds: shutters, footsteps, and trays.

H3 Max Text to Video success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
100.0%
Fastest median run time
14.3s
Runs, last 24 hours
74
ToolSuccessMedian timeRuns
MiniMax H3 Max Text to Video100.0%14.3s74

Questions about H3 Max Text to Video in Codex

Can Codex use H3 Max Text to Video?

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

How much does H3 Max Text to Video cost in Codex?

$0.104 per second at 768p ($0.065 at 480p, $0.208 at 1080p). 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 Text to Video in Codex?

No. Spiral runs H3 Max Text 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 H3 Max Text to Video in Codex?

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

Does Codex wait while H3 Max Text to Video runs?

H3 Max Text to 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 good for?

H3 Max suits short scenes with specific actions, camera direction, and sound. Its post-training focused on following the brief and improving visual quality.

Does H3 Max generate sound with the video?

Yes. Describe the ambience, physical sounds, and music you want alongside the action so the audio has a clear brief.

Is H3 Max's 1080p output native?

The documented 1080p process refines a native 768p source. Choose it when you need the larger output, while recognizing how it is produced.

Will a requested five-second clip be exactly five seconds?

The output can run about 0.7 seconds longer than requested. If the clip must fit an exact edit, check its actual duration and trim it.

What should I put in an H3 Max prompt?

Describe the opening composition, what changes on screen, how the camera moves, and what the viewer hears. Use observable actions such as a lid opening or a camera moving toward a label.

Get started

Start using H3 Max Text to Video in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

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