Skip to content

useapi/minimax-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MiniMax (Hailuo) API examples (useapi.net)

Runnable Node.js examples for the MiniMax API by useapi.net — drive your own MiniMax / Hailuo account over a simple REST API. Generate Hailuo 01 / 02 / 2.3 video (plus Veo 3.1 and Sora 2 via MiniMax) and a deep image roster — Midjourney V7 / NiJi 7, Nano Banana 2 / Pro, GPT Image 1.5 / 2.0, Seedream 4.5 / 5.0, image-01 — all from one account with multi-account load balancing and no per-call metering.

Each example reads a list of prompts from a JSON file, submits them through the useapi.net MiniMax API, polls each task until it is final, and downloads every result — so you can queue a batch and come back to the winners.

Example What it does Tutorial
video/ Batch-generate Hailuo 01 / 02 / 2.3 video (plus Veo 3.1, Sora 2 and Seedance 2.0 via MiniMax) from text and/or image prompts, load-balanced across every connected account How to Generate AI Video with the MiniMax (Hailuo) API

Quick start

You need Node.js v21 or newer (no dependencies to install), a useapi.net API token, and a connected MiniMax account (one $15/month subscription covers every useapi.net API):

git clone https://github.com/useapi/minimax-api.git
cd minimax-api/video
node ./videos.mjs <API_TOKEN>

API_TOKEN is your useapi.net token. The video script discovers your connected MiniMax accounts and load-balances the batch automatically — no per-account email argument is needed. Edit videos.json to queue your own prompts. Every supported parameter is documented on the POST /videos/create endpoint page.

Tutorials

Speech 2.5 and Music 2.0 are available via the MiniMax Agent (POST /agent), not scripted in this repo.

About useapi.net

useapi.net is an experimental REST API for AI services. The MiniMax API drives your own MiniMax / Hailuo account, so you spend your plan's credits at consumer rates instead of metered developer-API pricing. See the model matrix and pricing on the API overview.

Visit our Discord Server or Telegram Channel for any support questions and concerns.

We regularly post guides and tutorials on the YouTube Channel.

About

Runnable examples for the MiniMax (Hailuo) API by useapi.net — one account, REST access to Hailuo 01 / 02 / 2.3 video plus the frontier models MiniMax hosts: Midjourney V7, Veo 3.1, Sora 2, Nano Banana, GPT Image and Seedream. Multi-account load-balanced, no per-call metering.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors