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

# Minimax H3 Max · Text to video

> MiniMax Hailuo-03 Max — fast 480P/768P text-to-video generation.

[← MiniMax](/api-documentation/ai-generation/models/minimax)

**Model name:** `minimax/h3-max/text-to-video`\
**Generation type:** `text_to_video`\
**Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation)

## Pricing

| Duration | 480P | 768P |
| - | - | - |
| 5s | **2.5** | **4.0** |
| 6s | **3.0** | **5.0** |
| 7s | **3.5** | **6.0** |
| 8s | **4.0** | **6.5** |
| 9s | **4.5** | **7.5** |
| 10s | **5.0** | **8.0** |
| 11s | **5.5** | **9.0** |
| 12s | **6.0** | **10.0** |
| 13s | **6.5** | **10.5** |
| 14s | **7.0** | **11.5** |
| 15s | **7.5** | **12.0** |

Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

## Quick start

<CodeGroup>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://api.creatify.ai/api/asset_generator/ \
    --header 'Content-Type: application/json' \
    --header 'X-API-ID: your-api-id' \
    --header 'X-API-KEY: your-api-key' \
    --data '{
      "model_name": "minimax/h3-max/text-to-video",
      "input_params": {
        "prompt": "A slow cinematic tracking shot along a sunlit coastal road."
      }
    }'
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://api.creatify.ai/api/asset_generator/",
      headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"},
      json={
          "model_name": "minimax/h3-max/text-to-video",
          "input_params": {
              "prompt": "A slow cinematic tracking shot along a sunlit coastal road."
          },
      },
  )
  print(response.json()["id"])
  ```
</CodeGroup>

## Input parameters

Send these fields in `input_params`.

<ParamField body="prompt" type="string" required>
  Text prompt for video generation.

  Minimum characters: `1`.
  Maximum characters: `7000`.
</ParamField>

<ParamField body="duration" type="integer" default={5}>
  The duration of the video in seconds.

  Allowed values: `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`.
</ParamField>

<ParamField body="aspect_ratio" type="string" default={"16:9"}>
  The aspect ratio of the generated video.

  Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`.
</ParamField>

<ParamField body="resolution" type="string" default={"768P"}>
  480P or 768P resolution (2K is not supported).

  Allowed values: `"480P"`, `"768P"`.
</ParamField>

<Accordion title="Complete JSON schema">
  ```json theme={null}
  {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "required": [
      "prompt"
    ],
    "properties": {
      "prompt": {
        "type": "string",
        "title": "Prompt",
        "minLength": 1,
        "maxLength": 7000,
        "description": "Text prompt for video generation."
      },
      "duration": {
        "enum": [
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15
        ],
        "type": "integer",
        "title": "Duration",
        "default": 5,
        "description": "The duration of the video in seconds."
      },
      "aspect_ratio": {
        "enum": [
          "21:9",
          "16:9",
          "4:3",
          "1:1",
          "3:4",
          "9:16"
        ],
        "type": "string",
        "title": "Aspect Ratio",
        "default": "16:9",
        "description": "The aspect ratio of the generated video."
      },
      "resolution": {
        "enum": [
          "480P",
          "768P"
        ],
        "type": "string",
        "title": "Resolution",
        "default": "768P",
        "description": "480P or 768P resolution (2K is not supported).",
        "x-advance-settings": true
      }
    }
  }
  ```
</Accordion>

## Response

The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`.


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