PeumeAPI

AI generation

MiniMax: Hailuo (text-to-video)

Create a Hailuo video generation task from a text prompt.

$0.84 per lookup, only when foundUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/minimax-hailuo-text-to-video \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "model": "MiniMax-Hailuo-2.3",
    "prompt": "A paper boat drifts across a quiet pond at sunrise.",
    "duration": 6,
    "resolution": "768P",
    "prompt_optimizer": true
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: minimax-hailuo-text-to-video.

Parameters

modelRequiredstring

MiniMax-Hailuo-2.3 · MiniMax-Hailuo-02

Example: MiniMax-Hailuo-2.3

promptRequiredstring

Example: A paper boat drifts across a quiet pond at sunrise.

durationinteger

Example: 6

resolutionstring

1080P is 6 seconds only; see the price table for valid model-resolution-duration combinations.

768P · 1080P

Example: 768P

prompt_optimizerboolean

Example: true

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.