Overview
MiniMax Image 01 is an image generation model for text-to-image generation and single-reference image editing. It supports flat per-image pricing, up to 9 generated images per task, flexiblesize input, and preset output sizing through resolution + aspect_ratio.
Endpoint and authentication
Base URL:
All requests require your APIXO API key:
Copy-paste async quickstart
This minimal request submits a text-to-image task and returns ataskId.
taskId; you need it to poll for the final result.
Poll for result
Request body
Text-to-image
Image-to-image
Parameters
string
default:"async"
Result delivery mode. Use
async for polling with statusTask, or callback for webhook delivery.string
Required when
request_type is callback. Must be a public HTTPS URL that can receive the final task payload. See Webhooks.object
required
MiniMax Image 01 input parameters.
Size presets from resolution + aspect_ratio
When resolution + aspect_ratio is provided, APIXO resolves the final output size using these presets:
Response format
Submit task response
POST /generateTask/minimax-image-01 returns a task ID when the task is accepted:
integer
API status code.
200 means the task was accepted.string
Human-readable status message.
string
Unique task identifier used with the status endpoint.
Status response fields
string
Unique task identifier.
string
Current task state:
pending, processing, success, or failed.string
JSON string containing the generated image URLs. Present when
state is success.string
Machine-readable failure code. Present when
state is failed.string
Human-readable failure message. Present when
state is failed.integer
Task creation timestamp in Unix milliseconds.
integer
Task completion timestamp in Unix milliseconds. Present after completion.
integer
Processing duration in milliseconds. Present after successful completion.
Webhook callback mode
Use callback mode when your backend should receive the final result automatically instead of polling.Billing
MiniMax Image 01 is billed per generated image using a flat public APIXO price.
Billing behavior:
Latency and polling
Actual latency may vary by prompt complexity, provider route, and current queue load.Size rules
sizesupports*,x, andXas separators.- Explicit
sizerequires width and height to each stay within512-2048. - If a
sizedimension is not divisible by8, APIXO rounds it to the nearest valid multiple of8. - When both
sizeandresolution + aspect_ratioare provided,resolution + aspect_ratiotakes precedence. - If neither
sizenorresolution + aspect_ratiois provided, the default output size is1024*1024.
429, slow down requests and retry with backoff. For account-level details, see System APIs.
Errors and troubleshooting
HTTP errors
Task failure codes
See Error Codes for the full error reference.