minimax_video-gen_h3_generate $2.45 per call

MiniMax: H3. Create a Hailuo 3 (H3 / H3-Max) video task from a multimodal content array: one text item is required, with up to two optional first/last-frame images. The v2 API serves only the H3 family; Hailuo 2.x models use /v1/video_generation. (MiniMax · Video generation) Async task: answers 202 with a job id; poll GET /v1/jobs/<id>. Price depends on the options ($0.3125 to $2.45); refunded if the task fails. Prepaid credits only.

For AI agents: call minimax_video-gen_h3_generate
POST https://toll402.dev/v1/p/minimax.video-gen.h3.generate
{
 "model": "MiniMax-H3-Max",
 "content": [
  {
   "type": "text",
   "text": "A paper boat drifts across a quiet pond at sunrise."
  }
 ],
 "resolution": "480P",
 "duration": 5,
 "ratio": "16:9"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "enum": [
    "MiniMax-H3",
    "MiniMax-H3-Max"
   ],
   "examples": [
    "MiniMax-H3-Max"
   ]
  },
  "content": {
   "type": "array",
   "description": "Items of type text / image_url. One non-empty text item is required (max 7000 chars); up to two images (JPG/PNG/WEBP, <=30MB) set the first and last frame."
  },
  "resolution": {
   "type": "string",
   "description": "H3 supports 768P and 2K; H3-Max supports 480P and 768P.",
   "enum": [
    "480P",
    "768P",
    "2K"
   ],
   "examples": [
    "480P"
   ]
  },
  "duration": {
   "type": "integer",
   "description": "H3 accepts 4-15 seconds; H3-Max accepts 5-15.",
   "examples": [
    5
   ]
  },
  "ratio": {
   "type": "string",
   "description": "Required for text-only tasks, where adaptive is rejected; adaptive suits image-led tasks.",
   "enum": [
    "adaptive",
    "21:9",
    "16:9",
    "4:3",
    "1:1",
    "3:4",
    "9:16"
   ],
   "examples": [
    "16:9"
   ]
  }
 },
 "additionalProperties": true,
 "required": [
  "model",
  "content",
  "resolution",
  "duration"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI