falText to videoAvailable now
minimax/h3-max/text-to-video
minimax/h3-max/text-to-video is a text to video tool from fal that runs in the background and returns video. Pay as you go from $0.065 per second, with one API key.
Try itfrom $0.065 / second
Pricing
resolution: 480P $0.065, 768P (default) $0.104, 1080P $0.208 per second. Billed on duration, default 5. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 3600s
- Run deadline
- 3600s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
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"
}
}'