Hailuo AI / MiniMax

Hailuo AI is MiniMax's generative video and audio platform. MiniMax is a Singapore- and China-based foundation-model company whose developer platform (platform.minimax.io / api.minimax.io, and intl.minimaxi.com for international users) exposes documented HTTP APIs for AI video generation (the Hailuo text-to-video and image-to-video models - MiniMax-Hailuo-2.3, MiniMax-Hailuo-02, Video-01, T2V-01, I2V-01, S2V-01), large language model chat completions (the MiniMax / abab family), text-to-speech (T2A) over both HTTP and a real-time WebSocket, music generation, and voice cloning. Video generation follows an asynchronous create-task-then-poll pattern; all APIs authenticate with a Bearer API key.

5 APIs 0 Features
Video GenerationAI VideoGenerative AIText-to-VideoImage-to-VideoText to SpeechLLMFoundation Models

APIs

Hailuo Video Generation API

Asynchronous AI video generation powered by the Hailuo models (MiniMax-Hailuo-2.3, MiniMax-Hailuo-02, Video-01, T2V-01, I2V-01, S2V-01). Supports text-to-video, image-to-video, ...

MiniMax Text-to-Speech (T2A) API

Speech synthesis (T2A v2) across the speech-2.8, speech-2.6, speech-02, and speech-01 HD/turbo models, with 100+ voices, emotion and language control, and per-request voice and ...

MiniMax Chat Completions API

OpenAI-compatible chat completions (POST /chat/completions) served by MiniMax's large language models (the MiniMax-M / abab family), with streaming, tool/function calling, and l...

MiniMax Music Generation API

Generates a vocal song from a music-style description (prompt) plus lyrics via POST /music_generation. Endpoint path and payload are modeled from MiniMax's published music API; ...

MiniMax Files API

Retrieves generated assets by file_id (GET /files/retrieve), returning a temporary download URL - video URLs are valid for roughly 9 hours (32,400 seconds). Used to fetch the fi...

Collections

Pricing Plans

Hailuo Ai Plans Pricing

4 plans

PLANS

Rate Limits

Hailuo Ai Rate Limits

5 limits

RATE LIMITS

FinOps

Event Specifications

MiniMax Text-to-Speech (T2A) WebSocket API

MiniMax publishes a documented real-time text-to-speech WebSocket API. A client opens a WebSocket connection to wss://api.minimax.io/ws/v1/t2a_v2 (US West: wss://api-uw.minimax....

ASYNCAPI

API Governance Rules

Hailuo AI / MiniMax API Rules

7 rules · 1 errors 6 warnings

SPECTRAL

Resources

🔗
AgenticAccess
AgenticAccess
🔑
Authentication
Authentication
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
📝
SignUp
SignUp
📰
Blog
Blog

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Hailuo AI / MiniMax API
  version: '1.0'
request:
  auth:
    type: bearer
    token: '{{apiKey}}'
items:
- info:
    name: Video Generation
    type: folder
  items:
  - info:
      name: Create a video generation task.
      type: http
    http:
      method: POST
      url: https://api.minimax.io/v1/video_generation
      body:
        type: json
        data: "{\n  \"model\": \"MiniMax-Hailuo-2.3\",\n  \"prompt\": \"A cinematic drone shot flying over a neon-lit city\
          \ at night.\",\n  \"duration\": 6,\n  \"resolution\": \"1080P\",\n  \"prompt_optimizer\": true\n}"
    docs: Submits a Hailuo video generation request (text-to-video, image-to-video, first-last-frame, or subject-reference)
      and returns a task_id.
  - info:
      name: Query a video generation task.
      type: http
    http:
      method: GET
      url: https://api.minimax.io/v1/query/video_generation?task_id=:task_id
      params:
      - name: task_id
        value: ''
        type: query
        description: The task_id returned when the task was created.
    docs: Polls task status. Returns Queueing/Preparing/Processing, then Success (with file_id) or Fail. Poll about every
      10 seconds.
- info:
    name: Files
    type: folder
  items:
  - info:
      name: Retrieve a generated file.
      type: http
    http:
      method: GET
      url: https://api.minimax.io/v1/files/retrieve?file_id=:file_id
      params:
      - name: file_id
        value: ''
        type: query
        description: The file_id returned by a successful query response.
    docs: Returns a temporary download URL for the finished MP4 (video URLs valid for about 9 hours).
- info:
    name: Text to Speech
    type: folder
  items:
  - info:
      name: Synthesize speech (T2A v2).
      type: http
    http:
      method: POST
      url: https://api.minimax.io/v1/t2a_v2
      body:
        type: json
        data: "{\n  \"model\": \"speech-2.6-hd\",\n  \"text\": \"Welcome to the API Evangelist network.\",\n  \"voice_setting\"\
          : { \"voice_id\": \"male-qn-qingse\", \"speed\": 1.0 },\n  \"audio_setting\": { \"format\": \"mp3\", \"sample_rate\"\
          : 32000 }\n}"
    docs: Synchronous text-to-speech. A real-time WebSocket variant is documented at wss://api.minimax.io/ws/v1/t2a_v2.
- info:
    name: Chat Completions
    type: folder
  items:
  - info:
      name: Create a chat completion.
      type: http
    http:
      method: POST
      url: https://api.minimax.io/v1/chat/completions
      body:
        type: json
        data: "{\n  \"model\": \"MiniMax-M1\",\n  \"messages\": [ { \"role\": \"user\", \"content\": \"Hello!\" } ]\n}"
    docs: OpenAI-compatible chat completions served by MiniMax LLMs.
- info:
    name: Music Generation
    type: folder
  items:
  - info:
      name: Generate a vocal song (modeled).
      type: http
    http:
      method: POST
      url: https://api.minimax.io/v1/music_generation
      body:
        type: json
        data: "{\n  \"model\": \"music-1.5\",\n  \"prompt\": \"Upbeat synthwave with driving drums.\",\n  \"lyrics\": \"[verse]\
          \ Neon lights over the city tonight\"\n}"
    docs: Generates a vocal song from a style prompt plus lyrics. Endpoint payload is modeled; reconcile against the live
      reference.