> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unifically.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MiniMax Hailuo

> Generate videos with MiniMax H3, H3 Fast, H3 Max, H3 Max Turbo, H3 Lite, 2.0, 2.3 and 2.3 Fast through one API.

Five MiniMax video models share the same `/v1/tasks` call shape. Reference images and videos are fetched from their public URLs automatically.

Try them in the browser: [MiniMax Hailuo API playground](https://unifically.com/models/minimax-hailuo).

## Models

| Model | Supported modes | Output |
| - | - | - |
| `hailuo/minimax-h3` | Text-to-video, start/end frames, 1-9 reference images, 1-3 reference videos, 1-3 reference audio clips | 768p or 2K, 4-15 s, native audio |
| `hailuo/minimax-h3-lite` | Same inputs as H3 | 480p or 768p, 4-15 s, native audio |
| `hailuo/minimax-h3-fast` | Same inputs as H3 | 480p or 768p, 4-15 s, native audio |
| `hailuo/minimax-h3-max` | Same inputs as H3 | 480p or 768p, 5-15 s, native audio |
| `hailuo/minimax-h3-max-turbo` | Text-to-video or start/end frames only | 480p or 768p, 5-15 s, native audio |
| `hailuo/minimax-2.0` | Text-to-video, start frame, or start + end frames | 768p or 1080p, 6 or 10 s |
| `hailuo/minimax-2.3` | Text-to-video or start-frame image-to-video | 768p or 1080p, 6 or 10 s |
| `hailuo/minimax-2.3-fast` | Start-frame image-to-video only, faster; 16:9, 9:16 or 1:1 | 768p or 1080p, 6 or 10 s |

Billing is per second of output video. Each second of uploaded reference video is billed too: on H3 at the 2K per-second rate whatever the output resolution, on the other H3 models at the per-second rate of the chosen output resolution. Reference images beyond a free quota are billed per image: the first 5 are free on H3 and H3 Lite, the first 2 on H3 Max, and H3 Fast has no per-image charge. Reference audio is free. Current rates: [MiniMax Hailuo pricing](https://unifically.com/pricing).

## MiniMax H3 family

H3, H3 Fast, H3 Max, H3 Max Turbo and H3 Lite take the same request. Differences:

| Model | `resolution` | `duration` | Notes |
| - | - | - | - |
| `hailuo/minimax-h3` | `"768p"` or `"2K"` (default) | 4-15 | Full inputs |
| `hailuo/minimax-h3-fast` | `"480p"` or `"768p"` (default) | 4-15 | Full inputs; no `prompt_expansion`; no `"auto"` ratio |
| `hailuo/minimax-h3-max` | `"480p"` or `"768p"` (default) | 5-15 | Full inputs; no `"auto"` ratio |
| `hailuo/minimax-h3-max-turbo` | `"480p"` or `"768p"` (default) | 5-15 | Text or start/end frames only: no `image_urls`, `video_urls`, `audio_urls` or `"auto"` ratio |
| `hailuo/minimax-h3-lite` | `"480p"` or `"768p"` (default) | 4-15 | No `seed`, `prompt_expansion` or `audio_urls` |

Three input modes are mutually exclusive:

| Mode | Inputs | Aspect ratio behavior |
| - | - | - |
| Text-to-video | Prompt only | Defaults to `"16:9"`; choose any supported fixed ratio |
| Frame-guided | `start_frame_url`, optionally `end_frame_url` | Determined by the frame; omit `aspect_ratio` |
| Reference | `image_urls` (1-9 images) and/or `video_urls` (1-3 videos, 15 seconds total) | H3 and H3 Lite default to `"auto"` (match the references) or take a fixed ratio; H3 Fast and H3 Max default to `"16:9"` and take fixed ratios only |

| Parameter | Type | Required | Description |
| - | - | - | - |
| `prompt` | string | Yes | Video prompt, 1-2000 characters. With reference images, use `@Image1` through `@Image9` to name them |
| `image_urls` | string\[] | No | Public HTTP(S) reference image URLs, 1-9 (not on H3 Max Turbo). Images beyond the free quota are billed: 5 free on H3 and H3 Lite, 2 free on H3 Max, no charge on H3 Fast |
| `video_urls` | string\[] | No | 1-3 public HTTP(S) reference video URLs, 15 seconds in total. Billed per second of uploaded video (H3: 2K rate; H3 Lite: output rate). Cannot be combined with frames |
| `audio_urls` | string\[] | No | Not on H3 Lite or H3 Max Turbo. 1-3 public HTTP(S) reference audio URLs; reference videos and audio together at most 15 seconds. Free. Needs `image_urls` or `video_urls`; cannot be combined with frames |
| `start_frame_url` | string | No | Public HTTP(S) start-frame image URL. Cannot be combined with `image_urls` or `video_urls` |
| `end_frame_url` | string | No | Public HTTP(S) end-frame image URL. Requires `start_frame_url` |
| `aspect_ratio` | string | No | `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, or `"9:16"`. See mode-specific rules above. `"auto"` only with references |
| `resolution` | string | No | H3: `"768p"` or `"2K"` (default). Every other H3 model: `"480p"` or `"768p"` (default) |
| `duration` | integer | No | Any whole number from `4` through `15` (`5` through `15` on H3 Max and H3 Max Turbo). Default `5` |
| `seed` | integer | No | Not on H3 Lite. `0` to `4294967295` for repeatable output. Random when omitted |
| `prompt_expansion` | string | No | H3, H3 Max and H3 Max Turbo only. How much the model rewrites the prompt before generating: `"disabled"`, `"balanced"` (default) or `"quality"`. `prompt_optimizer: false` is accepted as an alias for `"disabled"` |
| `nsfw_check` | boolean | No | Check the prompt and input images for NSFW content before generating. Off unless set to `true`. Default: `false` |

H3 Lite rejects `seed`, `prompt_expansion` and `audio_urls` rather than ignoring them.

### Text-to-video example

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "hailuo/minimax-h3",
    "input": {
      "prompt": "A street musician performs as the crowd claps along",
      "aspect_ratio": "21:9",
      "resolution": "2K",
      "duration": 10
    }
  }'
```

### Reference image example

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "hailuo/minimax-h3",
    "input": {
      "prompt": "@Image1 walks through the location shown in @Image2",
      "image_urls": [
        "https://example.com/character.jpg",
        "https://example.com/location.jpg"
      ],
      "aspect_ratio": "auto",
      "resolution": "768p",
      "duration": 6
    }
  }'
```

### Reference video example on H3 Lite

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "hailuo/minimax-h3-lite",
    "input": {
      "prompt": "The same dance move performed by a robot in a neon-lit garage",
      "video_urls": ["https://example.com/dance.mp4"],
      "aspect_ratio": "9:16",
      "resolution": "768p",
      "duration": 8
    }
  }'
```

## MiniMax 2.0

Text-to-video from the prompt alone, image-to-video from a start frame, or a start and an end frame together. An end frame always needs a start frame.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `prompt` | string | Yes | Video prompt, 1-2000 characters |
| `start_frame_url` | string | No | Public HTTP(S) start-frame image URL. Omit for text-to-video |
| `end_frame_url` | string | No | Public HTTP(S) end-frame image URL. Requires `start_frame_url` |
| `duration` | integer | No | `6` (default) or `10` seconds. `1080p` only supports `6` |
| `resolution` | string | No | `"768p"` (default) or `"1080p"` |
| `prompt_optimizer` | boolean | No | Rewrite the prompt before generation. Default `true`; set `false` to send the prompt as written |
| `nsfw_check` | boolean | No | Check the prompt and input images for NSFW content before generating. Off unless set to `true`. Default: `false` |

The output aspect ratio follows the supplied frame. There is no `aspect_ratio` parameter on the 2.x models.

### Start and end frame example

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "hailuo/minimax-2.0",
    "input": {
      "prompt": "The subject turns toward the camera and begins dancing",
      "start_frame_url": "https://example.com/start.jpg",
      "end_frame_url": "https://example.com/end.jpg",
      "duration": 6,
      "resolution": "768p",
      "prompt_optimizer": true
    }
  }'
```

## MiniMax 2.3 and 2.3 Fast

2.3 runs from the prompt alone or from a start frame. 2.3 Fast always needs a start frame. Neither accepts an end frame. 2.3 is 16:9 only; 2.3 Fast also renders 9:16 and 1:1.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `prompt` | string | Yes | Video prompt, 1-2000 characters |
| `start_frame_url` | string | 2.3: No. 2.3 Fast: Yes | Public HTTP(S) start-frame image URL |
| `duration` | integer | No | `6` (default) or `10` seconds. `1080p` only supports `6` |
| `resolution` | string | No | `"768p"` (default) or `"1080p"` |
| `prompt_optimizer` | boolean | No | Rewrite the prompt before generation. Default `true`; set `false` to send the prompt as written |
| `aspect_ratio` | string | No | 2.3 Fast only. `"16:9"` (default), `"9:16"` or `"1:1"`. 2.3 rejects it |
| `nsfw_check` | boolean | No | Check the prompt and input images for NSFW content before generating. Off unless set to `true`. Default: `false` |

Use `hailuo/minimax-2.3-fast` with the same input object to select the faster model.

### Text-to-video on 2.3

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "hailuo/minimax-2.3",
    "input": {
      "prompt": "A slow cinematic camera orbit around a lighthouse at dusk",
      "duration": 10,
      "resolution": "768p"
    }
  }'
```

### Image-to-video on 2.3 Fast

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "hailuo/minimax-2.3-fast",
    "input": {
      "prompt": "A slow cinematic camera orbit",
      "start_frame_url": "https://example.com/start.jpg",
      "duration": 6,
      "resolution": "1080p",
      "aspect_ratio": "9:16"
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```

Poll the task status endpoint until it becomes `completed` or `failed`. Failed Hailuo tasks include sanitized upstream diagnostics in task metadata when available.

> [!NOTE]
>
> **Volume discounts** are available for almost all models. Reach out at [contact@unifically.com](mailto:contact@unifically.com) to discuss custom pricing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.