falVideoAvailable now

minimax/h3-max/text-to-video

minimax/h3-max/text-to-video is a video tool from fal that runs in the background and returns video. Pay as you go, with one API key.

Run time p50 · last 24 hours
11.5s
Success rate · last 24 hours
100.0%

Pricing

$0.104 per second at 768p ($0.065 at 480p, $0.208 at 1080p).

Limits

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

Input

FieldKindDefaultDescription
prompt requiredtext—

Text prompt for video generation

durationnumber
0.92 to 15
5

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.

resolutionone of
480P, 768P, 1080P
768P

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

seednumber (whole)—

Random seed. A random seed is selected when omitted.

prompt_expansion_mode requiredtextbalanced

How much effort to spend rewriting the prompt before generation. 'disabled' skips prompt expansion. 'balanced' returns in about a second. 'quality' spends up to ~30s on a richer prompt.

target_audio_urlURL or file—

Optional URL of an audio clip at least 2 seconds long (maximum 15 MB) to pin to the generated soundtrack. Longer clips are trimmed to the generated video's length, keeping the beginning. The original audio replaces the output soundtrack, padded with silence if shorter than the video, without changing playback speed. Exceptionally high sample rates may be resampled to 96 kHz. Accepts an HTTP(S) URL or a base64 data URI.

aspect_ratioone of
21:9, 16:9, 4:3, 1:1, 3:4, 9:16
16:9

The aspect ratio of the generated video.

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