# MiniMax H3 Reference to Video

Generate video from text and reference media with MiniMax H3 Reference 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/reference-to-video`
- Page: https://spiral.ai/tools/fal/minimax/h3/reference-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. Refer to reference assets by their modality and order in the reference lists: Image 1, Image 2, Video 1, Audio 1, and so on. |
| `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. |
| `aspect_ratio` | one of | adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | adaptive | The aspect ratio of the generated video. |
| `reference_image_urls` | URLs or files |  | — | URLs of subject/style reference images, referenced in the prompt as Image 1, Image 2, and so on. Reference images, videos, and audio clips must add up to at most 12 files. |
| `reference_video_urls` | URLs or files |  | — | URLs of motion/reference video clips (2-15 seconds each, combined duration at most 15 seconds), referenced in the prompt as Video 1, Video 2, and so on. Reference images, videos, and audio clips must add up to at most 12 files. |
| `reference_audio_urls` | URLs or files |  | — | URLs of reference audio clips (2-15 seconds each, combined duration at most 15 seconds), referenced in the prompt as Audio 1, Audio 2, and so on. Images, videos, and audio can be provided individually or together. Reference images, videos, and audio clips must add up to at most 12 files. |

## 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/reference-to-video",
    "input": {
      "prompt": "Image 1 is the female protagonist. Image 2 is her small dog. Keep the woman and dog consistent with their respective reference images while they walk together…"
    }
  }'
```

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

## Common questions

### MiniMax H3 Reference to Video

**How much does MiniMax H3 Reference 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 Reference to Video through an API?**

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

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

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

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

