--- pipeline_tag: text-to-image license: other license_name: minimax-h3-image-community-license-agreement license_link: LICENSE library_name: minimax-h3 language: - en tags: - text-to-image - image-to-image - image-editing - image-generation - minimax-h3 - diffusers base_model: - MiniMaxAI/MiniMax-H3 ---
| Stage | Request | Result | |
|---|---|---|---|
| Prompt Enhancement | H3-Image-Context-IR (MiniMax API) | python3 context_ir.py t2i (script) | revised_prompt.txt, revised_size.txt; our run: revised_prompt.t2i.txt, revised_size.t2i.txt (4736x3552) |
| local alternative: MiniMax-H3-Image-PE | scripts/expand_prompt.py in the PE repository | Save expanded_caption as revised_prompt.txt and the size for aspect_ratio as revised_size.txt | |
| MiniMax-H3-Image generation: local SGLang | python3 t2i.py --prompt revised_prompt.txt --size $(cat revised_size.txt) (script) | t2i.png | |
| E2E API Reference: text-to-image by directly calling the MiniMax API | python3 api_generate.py t2i (script) | api_t2i.png | |
t2i.png from local SGLang (left) and api_t2i.png from the MiniMax API (right), 4736x3552 (4:3 picked by H3-Image-Context-IR)
#### case-Edit [`instruction.edit.txt`](https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/blob/main/examples/instruction.edit.txt) with the reference image [`reference1.png`](https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/blob/main/examples/reference1.png) as `
Reference image reference1.png (left), edit.png from local SGLang (middle) and api_edit.png from the MiniMax API (right), 4096x4096 (1:1 picked by H3-Image-Context-IR)
## Showcase Text-to-image and image editing results, shown downscaled.
Photorealistic photography
Surreal editorial photography
Environment concepts
Characters, creatures and props
Painting and illustration styles
Text rendering with reasoning: logic puzzles in Chinese and English, solved correctly on the board
Image editing, one reference: an untextured 3D render (left) turned into a film still of a lunar research base (right)
Image editing, one reference: a game map (left) turned into a first-person 3D game view from the red arrow's position, with the map as a minimap (right)
Image editing, ten references: an empty room and nine pieces of furniture (top) composed into one living room (bottom)
## License - MiniMax-H3-Image is released under the [MiniMax-H3-Image Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/blob/main/LICENSE). - The T2I PE Model ([MiniMax-H3-Image-PE](https://huggingface.co/MiniMaxAI/MiniMax-H3-Image-PE)) is part of MiniMax-H3-Image and is accordingly subject to [MiniMax-H3-Image Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/blob/main/LICENSE). - The separate written authorization described in Section IV of the license is requested through [Application form](https://platform.minimax.io/console/license) ## Contact Us Contact us at [model@minimax.io](mailto:model@minimax.io).