# MiniMax H3 Image Overview > Platform endpoints, parameter limits, and billing rules for minimax-h3-image The ToAPIs model ID is `minimax-h3-image`. Both text-to-image generation and reference-image editing use the same model ID and submit asynchronous image tasks. **Note:** Availability and pricing are subject to the console of your current site and account. Interface documentation does not guarantee that the model is enabled for all accounts or regions. ## Endpoints | Use case | Platform endpoint | Documentation | | --- | --- | --- | | Text-to-image | `POST /v1/images/generations` | [Image Generation](/docs/en/api-reference/images/minimax-h3-image/generation) | | URL reference-image editing | `POST /v1/images/generations` or `POST /v1/images/edits` (pass `image_urls`) | [Image Generation](/docs/en/api-reference/images/minimax-h3-image/generation) | | Result query | `GET /v1/images/generations/{task_id}` | [Image task status](/docs/en/api-reference/tasks/image-status) | | Completion notification | Set `callback_url` when creating the task | [Task Webhooks](/docs/en/api-reference/webhooks/task-webhooks) | Use `https://toapis.com` as the API base URL, or `https://toapis.cn` for users in mainland China. Save the returned task `id` after submission and fetch results via status polling or a Webhook; do not treat task submission success as image completion. ## Parameter summary - `prompt` must contain 1-32000 Unicode characters after trimming leading and trailing whitespace; `n` is 1-10 and defaults to 1. - Automatic sizing supports `resolution=1K/2K/4K` (defaults to `4K`) and can be paired with `aspect_ratio`. - Explicit pixel `size` requires total pixels in the range 655360-20000000 and an aspect ratio between 1:3 and 3:1, and cannot be combined with `resolution` or `aspect_ratio`. - Reference images use `image_urls` with up to 16 HTTP(S) URLs. Editing requires at least 1 reference image and keeping prompt optimization enabled. - Supported output formats are JPEG, PNG, and WebP (default JPEG); `response_format` only supports `url`. - Base64 input or output, multipart file uploads, streaming output, and mask editing are not supported. See [Image Generation](/docs/en/api-reference/images/minimax-h3-image/generation) for full field constraints. ## Billing Charges are calculated separately from actual text input tokens, image input tokens, and image output tokens rather than a fixed per-image price. All three rates are priced per million tokens of their respective type. All three rates are queried from the console quotes of your site and account; this page does not list fixed prices. Do not infer prices across regions or accounts, and if no valid quote is shown, do not assume free usage or estimate using another model's rates. Read the final charge from `billing.cost_usd` or `billing.credits` in the task response and confirm `billing.status=settled`. Pre-authorization holds are not final charges, and `n` is not the final billed image count. See [Pricing and Actual Charges](../../account/pricing) for details. ## Integration notes This page documents the platform scope of `minimax-h3-image`: JSON text-to-image, URL reference-image editing, asynchronous status polling, and itemized token billing. On partial success, only successful images are returned in `result.data`, while failed items are reported in `result.failed_images`. This model does not have a separate pricing document or changelog directory, so this page archives the capability summary, the image series directory provides the endpoint reference, and pricing is checked via console quotes. This note does not constitute a regional or account enablement notice. See the [Public Model Catalog](/docs/en/api-reference/models) for the listed models; actual availability and pricing remain subject to your site and account console.