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

falVideoAvailable nowReleased 2026-09-17

H3 Max Extend Video

minimax/h3-max/extend-video

Edit and transform video with H3 Max Extend Video from fal through one Spiral API key. H3 Max Extend Video adds a text-guided continuation to an existing video. It supports prompt expansion, adjustable duration and aspect ratio, and output resolutions from 480p to 2K, returning either the full extended video or only the new footage. It runs in the background and returns video. Pay as you go, with no subscription.

Pricing

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.

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
video_url requiredURL or file—

URL of the video to extend. Must be 1.625 s to 60 s long, up to 50 MB, aspect ratio between 0.4 and 2.5.

prompt requiredtext—

What happens next. Describe the continuation, not the source.

reference_audio_urlsURLs or files—

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_expansiontrue or falsetrue

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

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

resolutionone of
480P, 768P, 1080P, 2K
768P

Output video resolution.

aspect_ratioone of
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.

seednumber (whole)—

Seed for the continuation. Random when omitted.

outputone of
extended, 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.

Same request in code

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."
    }
  }'

Frequently asked questions

How much does H3 Max Extend Video cost?

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 as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use H3 Max Extend Video through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "minimax/h3-max/extend-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with fal to use H3 Max Extend Video?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use H3 Max Extend Video?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.