Skip to main content
POST
Text to Image

Models

This endpoint only accepts minimax-h3/text-to-image. Any other model returns a 400 “Invalid route” error.

Body Parameters

string
required
Model to use: minimax-h3/text-to-image.
object
required
Input parameters for the generation.
string
URL to receive a webhook when the task completes.
object
Custom key-value metadata to attach to the task.

Pricing

Billed per generated image: With width / height, the tier is chosen from width × height; otherwise from resolution (default 2K). Failed tasks are refunded. Prices are in USD and current as of November 23, 2026.

Example