# MiniMax H3 Text to Video

Generate video from text and reference media with MiniMax H3 Text to Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.

- Provider: fal
- Category: Video
- Runs: In the background
- Returns: video
- Tool id: `fal` / `minimax/h3/text-to-video`
- Page: https://spiral.ai/tools/fal/minimax/h3/text-to-video

## Pricing

`resolution`: 480P $0.065, 768P $0.078, 2K (default) $0.169, 4K $0.208 per second. Billed on `duration`, default 5.

## Limits

- 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 | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` (required) | text |  | — | Text prompt for video generation |
| `duration` | number (whole) | 5 to 15 | 5 | The duration of the video in seconds. |
| `resolution` | one of | 480P, 768P, 2K, 4K | 2K | The resolution of the generated video. 480P and 768P are native generation modes; 2K and 4K upscale a 768P base result. |
| `seed` | number (whole) |  | — | Random seed. A random seed is selected when omitted. |
| `prompt_expansion_mode` | text |  | balanced | How much effort to spend rewriting the prompt before generation. 'disabled' skips prompt expansion. 'fast' returns in about a second. 'balanced' picks per request. '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. |

## Example

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

Try it in the Playground: https://spiral.ai/start?provider=fal&model=minimax%2Fh3%2Ftext-to-video

## Common questions

### MiniMax H3 Text to Video

**How much does MiniMax H3 Text to Video cost?**

`resolution`: 480P $0.065, 768P $0.078, 2K (default) $0.169, 4K $0.208 per second. Billed on `duration`, default 5. 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 Text to Video through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "minimax/h3/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 Text to Video?**

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

**Can my AI agent use MiniMax H3 Text to Video?**

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

