ToolNavs Find Useful AI Tools
Submit Sign in
Back to AI Q&A
How Do You Use MiniMax H3-Image? Tell Text-to-Image and Editing Apart First, Then Mind the 16 Reference Images and Size Limits

How Do You Use MiniMax H3-Image? Tell Text-to-Image and Editing Apart First, Then Mind the 16 Reference Images and Size Limits

AI Q&A • Admin • • 3 views

Using MiniMax H3-Image starts with one distinction: with no reference images it's text-to-image; with 1 to 16 reference images it's editing and multi-image composition — the same model, the same parameters. The model runs through MiniMax's developer platform API, with two endpoints: POST /v1/images/generations for text-to-image and POST /v1/images/edits for editing. Set the model ID to MiniMax-H3-Image, or switch to MiniMax-H3-Image-Highspeed for roughly double the speed. Output reaches about 20 megapixels, with no extra upscaling pass needed.

Pick the entry point by purpose, then fill in the parameters

Text-to-image needs at minimum the model, a prompt, and a size; prompts run up to 32,000 characters. For editing, put the reference images in the images array and refer to them in the prompt as Image1 through Image16: the first image is usually the one being changed, and the rest supply a face, a product, a material, or a layout. Reference images support JPG, PNG, WebP, HEIC, and more, each up to 64MB with sides between 128 and 8192 pixels; the whole request body must stay under 64MB — if it would exceed that, use public URLs or upload first and take a file ID.

There are two ways to set the size, and only one may be used: write size directly, for example 4096x4096, with total area between 655,360 and 20,000,000 pixels and an aspect ratio between 1:3 and 3:1; or use the aspect_ratio plus area tiers — 1K, 2K, and 4K, with 4K as the default. Each request returns up to 10 images, in jpeg, png, or webp, as image URLs or base64. ComfyUI users don't need to write code: update the client to 0.45.1 or later, search the template library for the MiniMax H3 Image node — connect reference images and it's editing, connect none and it's generation — running on MiniMax's servers, with no weights to download yourself.

Three pitfalls to know before you start

First, insufficient balance fails outright with HTTP 402 and error code 1008 — top up and run again instead of retrying repeatedly. Second, the endpoint isn't idempotent: if the client times out and auto-retries, you can be charged twice, so set a long timeout — 600 seconds, for example — and don't let retry logic run on its own. Third, prompt enhancement is on by default and fills in your description for you, but it also costs extra tokens; if you want precise control, turn it off and write the full prompt yourself.

The H3-Image weights are themselves public — a 33.1-billion-parameter diffusion model — and ComfyUI supports it natively if you'd rather run it locally. If you're still choosing within the H3 family, Too many MiniMax H3 variants — how to choose sorts them by task first, then by name, and MiniMax H3-Image open release has the original launch details: 4K images in 10 seconds and 16 reference images.

Recommended Tools

More