Skip to main content
POST
Image to Image

Models

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

Body Parameters

string
required
Model to use: minimax-h3/image-edit.
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

Each request is billed for the output image plus every reference image: With width / height, the output tier is chosen from width × height; otherwise from resolution (default 2K). For example, a 2K edit with 3 reference images costs $0.02179 + 3 × $0.0065 = $0.04129. Failed tasks are refunded. Prices are in USD and current as of November 23, 2026.

Example