minimax_image-gen_from_text $0.039375 per call
MiniMax: image-01. Generate one or more images synchronously from a text prompt. (MiniMax · Image generation)
For AI agents: call minimax_image-gen_from_text
POST https://toll402.dev/v1/p/minimax.image-gen.from_text
{
"model": "image-01",
"prompt": "A clean editorial illustration of a paper airplane.",
"aspect_ratio": "1:1",
"response_format": "url",
"n": 1
}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": [
"image-01"
],
"examples": [
"image-01"
]
},
"prompt": {
"type": "string",
"examples": [
"A clean editorial illustration of a paper airplane."
]
},
"aspect_ratio": {
"type": "string",
"default": "1:1",
"examples": [
"1:1"
]
},
"response_format": {
"type": "string",
"default": "url",
"examples": [
"url"
]
},
"n": {
"type": "integer",
"default": 1,
"examples": [
1
]
}
},
"additionalProperties": true,
"required": [
"model",
"prompt"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}