PeumeAPI

AI generation

MiniMax: Hailuo (image-to-video)

Animate a first-frame image into a Hailuo video, optionally guided by a prompt.

$0.84 per lookup, only when found

Call it

curl https://api.peume.com/v1/call/minimax-hailuo-image-to-video \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "model": "MiniMax-Hailuo-02",
    "first_frame_image": "https://example.com/first-frame.png",
    "prompt": "The camera slowly pulls back.",
    "duration": 6,
    "resolution": "512P",
    "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-image-to-video.

Parameters

modelRequiredstring

MiniMax-Hailuo-2.3 · MiniMax-Hailuo-2.3-Fast · MiniMax-Hailuo-02

Example: MiniMax-Hailuo-02

first_frame_imageRequiredstring

A public image URL or a data URL.

Example: https://example.com/first-frame.png

promptstring

Example: The camera slowly pulls back.

durationinteger

Example: 6

resolutionstring

512P is Hailuo-02 only; see the price table for valid model-resolution-duration combinations.

512P · 768P · 1080P

Example: 512P

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.