MiniMax H3 Max Text to Video
minimax/h3-max/text-to-videoGenerate video from text and reference media with MiniMax H3 Max Text to Video from fal through one Spiral API key. Generates a video of up to 15 seconds from a text prompt at 480P, 768P or 1080P, with an optional audio clip for the soundtrack. It runs in the background and returns video. Pay as you go, with no subscription.
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
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text prompt for video generation |
duration | number 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. |
resolution | one of 480P, 768P, 1080P | 768P | The native generation resolution, or 1080P latent refinement from a native 768P source. |
seed | number (whole) | — | Random seed. A random seed is selected when omitted. |
prompt_expansion_mode required | text | balanced | 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_url | URL 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_ratio | one 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"
}
}'Frequently asked questions
How much does MiniMax H3 Max Text to Video cost?
$0.104 per second at 768p ($0.065 at 480p, $0.208 at 1080p). You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use MiniMax H3 Max Text to Video through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "minimax/h3-max/text-to-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 MiniMax H3 Max Text to Video?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use MiniMax H3 Max Text to Video?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.