# MiniMax H3 Reference to Video API

> Generate native-stereo 2K video guided by image, video, and audio references with MiniMax H3.

Source: https://www.sandbase.ai/models/minimax/h3/reference-to-video
API reference: https://www.sandbase.ai/models/minimax/h3/reference-to-video/docs

## Facts

- Provider: MiniMax
- Type: Video model
- Model ID: `minimax/h3/reference-to-video`
- Price: From $0.65 per run
- Capabilities: reference to video, video to video, audio to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3/reference-to-video",
  "prompt": "Keep the referenced character and motion consistent while creating a cinematic garden scene with synchronized ambient sound.",
  "duration": 5,
  "resolution": "2K",
  "aigc_watermark": false
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call MiniMax H3 Reference to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "minimax/h3/reference-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate MiniMax account?

No. One SandBase API key and balance gives you access to MiniMax H3 Reference to Video and the other models in the catalog; you do not need to sign up with MiniMax separately.

## README

### MiniMax H3 Reference to Video

MiniMax H3 reference-to-video: up to 9 images, 3 videos, and 3 audio clips keep characters, motion, and voice consistent in a new 2K clip.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 7,000 characters. |
| `images` | image URL[] (≤9) | — | Reference images, Image 1, Image 2, … |
| `videos` | video URL[] (≤3) | — | Reference clips, Video 1, … |
| `audios` | audio URL[] (≤3) | — | Reference audio, Audio 1, … |
| `duration` | 4–15, required | 5 | Output length in seconds. |
| `aspect_ratio` | `21:9` / `16:9` / `4:3` / `1:1` / `3:4` / `9:16` | — | Output frame shape. |
| `resolution` | `768P` / `2K` | `2K` | Sets the per-second rate. |
| `aigc_watermark` | boolean | false | Add MiniMax's AI-generated watermark. |

#### Billing

You pay for output seconds: $0.13 at 2K (the default) and $0.06 at 768P. Each reference image beyond the fifth adds $0.04.

| Output | 2K | 768P |
|---|---|---|
| 4s | $0.52 | $0.24 |
| 5s (default) | $0.65 | $0.30 |
| 10s | $1.30 | $0.60 |
| 15s | $1.95 | $0.90 |
| 5s with 9 images | $0.81 | $0.46 |

Failed runs are not charged.

#### Prompting

- Give each reference a role: “Image 1 is the singer, Audio 1 is her voice, Video 1 sets the dance”.

#### Limits

- `duration` is required.

#### Also on SandBase

Other MiniMax H3 endpoints: `minimax/h3/text-to-video`, `minimax/h3/image-to-video`, `minimax/h3-max/reference-to-video` (faster, cheaper).
