MiniMax H3 Lite API

minimax/h3-lite
This model generates videos from text, images, or reference inputs with synchronized audio support.
Output
$0.025 / sec

Overview

What Is MiniMax H3 Lite API?

MiniMax H3 Lite is a specialized video generation model developed by Minimax AI. It is designed to transform various inputs into short, synchronized video content.

The model offers flexibility by allowing users to provide text, images, or reference media to guide the generation process. It focuses on delivering efficient video output with audio integration.

What MiniMax H3 Lite Brings to the Table

Versatile Input

Generate video content using text prompts, images, or specific reference media.

Synchronized Audio

The model creates videos that include synchronized audio tracks.

Frame Control

Utilize first or last frame references to guide the visual output of the video.

Resolution Options

Choose between different resolution settings for your generated video content.

Use cases

Create short video clips from descriptive text prompts.

Generate video sequences based on provided image references.

Use first and last frame references to define video boundaries.

Produce videos with synchronized audio from reference media.

How to use MiniMax H3 Lite API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to minimax/h3-lite.

import requests, time

headers = {"Authorization": "Bearer " + AIMLAPI_KEY}
job = requests.post(
    "https://api.aimlapi.com/v2/video/generations",
    headers=headers,
    json={
      "model": "minimax/h3-lite",
      "prompt": "A serene timelapse of clouds over a mountain range"
    },
).json()
gid = job["id"]

while True:
    res = requests.get(f"https://api.aimlapi.com/v2/video/generations?generation_id={gid}", headers=headers).json()
    if res.get("status") in ("completed", "error"):
      break
    time.sleep(5)
print(res["video"]["url"])

const headers = {
  Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
  "Content-Type": "application/json",
};
const job = await (await fetch("https://api.aimlapi.com/v2/video/generations", {
  method: "POST",
  headers,
  body: JSON.stringify({
    "model": "minimax/h3-lite",
    "prompt": "A serene timelapse of clouds over a mountain range"
  }),
})).json();

let res;
do {
  await new Promise((r) => setTimeout(r, 5000));
  res = await (await fetch(`https://api.aimlapi.com/v2/video/generations?generation_id=${job.id}`, { headers })).json();
} while (["completed", "error"].includes(res.status) === false);
console.log(res.video.url);

# submit the generation — the response contains the job "id"
curl -X POST https://api.aimlapi.com/v2/video/generations \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"minimax/h3-lite","prompt":"A serene timelapse of clouds over a mountain range"}'

# then poll until status is "completed" — video.url holds the result
curl "https://api.aimlapi.com/v2/video/generations?generation_id={id}" -H "Authorization: Bearer $AIMLAPI_KEY"

OpenAI-compatible — swap the base URL and it works with your existing SDK.

MiniMax H3 Lite API Pricing

TypePrice
Output
$0.025 / sec

Billed per second of video by resolution: 480P $0.025, 768P $0.04.

Use cases

Create short video clips from descriptive text prompts.

Generate video sequences based on provided image references.

Use first and last frame references to define video boundaries.

Produce videos with synchronized audio from reference media.

MiniMax H3 Lite vs other models

ModelInputOutputContextBest for
$0.025 / sec
Generating short videos with synchronized audio
$0.05 /sec
Fast text-to-video and image-to-video generation
$0.13 / sec (2K)
Native 2K narrative video with synchronized audio and consistent characters
$0.28 / gen
Video generation
$0.025 / sec (variable)
Video generation

Frequently asked questions

MiniMax H3 Lite costs $0.025 / sec on AI/ML API.

The model supports text, images, first or last frames, and video or audio references.

Yes, the model generates videos with synchronized audio.

The model supports video generation at 480p or 768p.

Yes, reference generation requires a concrete aspect ratio.

Start building with MiniMax H3 Lite

Get API Key
1000+ models, one API.