Identify the stage from what came back
Use H3-Image when you need pixels. H3-Image-PE is the optional prompt expander: for text-to-image work it takes a brief and returns a fuller description together with a suggested aspect ratio. If your program has received a paragraph and a ratio, it has an intermediate result ready for review. Image generation is the next step.
MiniMax’s text-to-image PE example expects two fields. The expanded_caption field carries the visual description, and aspect_ratio carries the composition recommendation. The generator project’s worked example saves a revised prompt and target size before rendering. A team that already has an approved visual description can start at generation.
Editing an existing image introduces a separate input requirement. The PE repository supplies an editing task prompt and an example of assembling the instruction and references for a vision-language model. For a request such as “replace the cup in the first picture with the one in the second,” that stage needs to see the pictures to describe the intended replacement. Text alone leaves the cup’s shape, color and position unresolved.
How much of a 4:3 composition survives a 16:9 crop?
MiniMax saved a target size of 4736 × 3552 in its published text-to-image example. That is exactly 4:3. If an editor keeps the entire width and fills a 16:9 homepage banner, the new height is 4736 × 9 ÷ 16 = 2664 pixels. A centered crop removes 444 pixels from the top and another 444 from the bottom, a quarter of the original height in total.
Picture a desk lamp with the shade near the top of the composition and its base near the bottom. A pleasing 4:3 draft can lose either end of the product when cropped. The PE model card advises carrying an explicit user-selected ratio through to generation. Use the recommendation when the choice is automatic. Describe the full silhouette and the space needed for a headline in words as well: a ratio does not specify where the lamp belongs.
Send the reviewed description to SmarToken
The following original brief is a request body for POST /v1/images/generations on SmarToken. The image model ID is minimax-image-h3. Read or edit the expanded_caption from the PE stage, then put the approved description in prompt and the delivery ratio in aspect_ratio. Text-to-image may expand the prompt again by default. This request sets disable_prompt_enhanced to true to request that expansion be disabled for the reviewed brief. Image-editing prompt handling can differ.[1]
{
"model": "minimax-image-h3",
"prompt": "A matte blue desk lamp on the right half of a pale stone counter. Show the entire shade and base with room above and below. Keep the left half empty for a headline to be added later. Soft window light, plain wall, no lettering.",
"area": "1K",
"aspect_ratio": "16:9",
"n": 1,
"disable_prompt_enhanced": true
}Inspect the result at the dimensions used by the actual banner. Can you see the top of the shade and the bottom of the base? Is there enough clear space on the left for the headline? Did the image invent lettering? If the product fits but the left side is crowded, revise the placement and negative space in the description. Changing the ratio again would leave that instruction unresolved.
We checked the publisher’s example and the request format. The three images compared in the table below were generated in the SmarToken playground, which did not expose a prompt-enhancement switch; they do not test the disable_prompt_enhanced setting in the request above.
Adapt the same brief to three ratios
On December 1, 2026, we used the same lamp brief above with MiniMax Image H3 at 1K, one image per request, for three requested ratios. The table records a manual inspection of those three native outputs. One sample per ratio cannot establish a success rate.
| Requested ratio | Actual dimensions | Observation |
|---|---|---|
| 4:3 | 1184 × 880 | Full lamp visible; ample space on the left |
| 16:9 | 1360 × 768 | Full lamp visible; ample space on the left |
| 1:1 | 1024 × 1024 | Full lamp visible; shade extends left, leaving less headline space |
By actual width divided by height, the 4:3 sample is about 0.91% above its target ratio and the 16:9 sample is about 0.39% below; the 1:1 sample matches exactly. For an exact delivery size, check the target pixels and leave room to crop. Cropping removes edges; outpainting adds content beyond them; a safe area keeps important content away from expected crop boundaries. Check the final placement size and do not label a cropped export as native model output.


