# MiniMax H3

Text, frames or reference media to video with a generated soundtrack, 4-15 seconds at 768p.

Model id: `minimax-h3`
Regions: ATL

## Pricing

- Video: $0.06 / second
- Video, 2K: $0.24 / second
- Image: $0.02 / megapixel

## Inputs

- text
- image
- video
- audio

## Output: video

| Parameter | Type | Values | Default |
| --- | --- | --- | --- |
| `duration` | integer | 4–15 |  |
| `resolution` | string | 768p, 2K |  |
| `aspect_ratio` | string | 16:9, 9:16, 4:3, 3:4, 1:1, 21:9 |  |
| `size` | string | 1344x768, 2688x1536, 768x1344, 1536x2688, 1024x768, 2048x1536, 768x1024, 1536x2048, 768x768, 1536x1536, 1536x672, 3072x1344 |  |
| `generate_audio` | boolean |  | true |
| `seed` | integer |  |  |

## Output: image

| Parameter | Type | Values | Default |
| --- | --- | --- | --- |
| `size` | any |  |  |
| `aspect_ratio` | string | 1:1, 4:3, 3:4, 7:4, 4:7, 16:7 | 1:1 |
| `resolution` | string | 768, 2K, 4K |  |
| `n` | integer | 1–4 | 1 |
| `response_format` | string | url, b64_json | url |
| `seed` | integer |  |  |
| `steps` | integer | 4, 10–50 | 4 |
| `output_format` | string | png, jpeg, webp | png |
| `output_compression` | integer | 0–100 |  |
| `background` | string | auto, opaque | auto |

## Endpoints

- [`POST /v1/videos`](/docs/reference/create-video.md): Create Video
- [`POST /v1/images/generations`](/docs/reference/create-image.md): Create Image
- [`POST /v1/images`](/docs/reference/create-image-openrouter.md): Generate Image (OpenRouter)
- [`POST /v1/images/edits`](/docs/reference/create-image-edit.md): Edit Image
