MiniMax H3 Image

MiniMax H3 Image is an open-weights image generation and editing model from MiniMax. It creates images from text or edits and combines up to 16 reference images, at 1K, 2K or 4K, or at a custom width and height up to 20 megapixels. It follows counts, positions and layouts closely and renders long, dense text, which suits product and marketing visuals, posters and infographics, concept art, and compositions that merge several subjects.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
text-to-image
Championship Pigeon Racer Portrait$0.0176~16s
Create a finished landscape editorial photoshoot portrait of one championship pigeon racer on the rooftop of her urban pigeon loft. Compose her three-quarter length in the center-right of the frame, looking directly into the camera with quiet confidence. She is a stylish British-Caribbean woman in her late 50s with short silver curls, a weathered burgundy waxed field jacket, mustard silk blouse, tailored charcoal trousers, fine gold hoop earrings, and a vintage brass racing timer hanging from a narrow leather strap. Her left forearm is raised in a thick falconry-style glove. Include exactly six pigeons in the entire image, all fully visible and clearly separated: one blue-bar racing pigeon perched on her raised glove; two pigeons spaced apart on the rooftop railing at far left; and three pigeons spaced apart along the pitched roof of the wooden loft at upper right. No other birds anywhere, including in the sky, shadows, reflections, background, or decorative imagery. The loft has small geometric entry openings, but no birds inside them. Keep the woman's face and all six pigeons sharply legible. Frame the scene as a sophisticated personal profile photograph with useful negative space in the upper-left sky for optional editorial cropping, but include no typography, captions, logos, borders, or watermarks. Show a dense London roofline softly out of focus behind her, with chimney pots, old brick, and distant apartment towers. Use a low eye-level camera angle and natural 55mm portrait perspective, realistic anatomy, authentic fabric texture, detailed feathers, and restrained depth of field. Art direction: contemporary British sporting portrait with subtle 1970s editorial character. Palette of burgundy, mustard, weathered teal, slate blue, warm brick, and silver gray. Late-afternoon sunlight breaks through after rain, creating a warm rim light around her hair and the pigeons while cool storm clouds remain in the distance. Slightly damp rooftop surfaces catch soft reflections. Mood is dignified, resilient, intimate, and quietly triumphant rather than whimsical. Photorealistic high-end magazine photography, fine natural grain, nuanced skin texture, controlled contrast, polished color grade.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'minimax:h3@image',
positivePrompt: 'Create a finished landscape editorial photoshoot portrait of one championship pigeon racer on the rooftop of her urban pigeon loft. Compose her three-quarter length in the center-right of the frame, looking directly into the camera with quiet confidence. She is a stylish British-Caribbean woman in her late 50s with short silver curls, a weathered burgundy waxed field jacket, mustard silk blouse, tailored charcoal trousers, fine gold hoop earrings, and a vintage brass racing timer hanging from a narrow leather strap. Her left forearm is raised in a thick falconry-style glove.\n\nInclude exactly six pigeons in the entire image, all fully visible and clearly separated: one blue-bar racing pigeon perched on her raised glove; two pigeons spaced apart on the rooftop railing at far left; and three pigeons spaced apart along the pitched roof of the wooden loft at upper right. No other birds anywhere, including in the sky, shadows, reflections, background, or decorative imagery. The loft has small geometric entry openings, but no birds inside them. Keep the woman\'s face and all six pigeons sharply legible.\n\nFrame the scene as a sophisticated personal profile photograph with useful negative space in the upper-left sky for optional editorial cropping, but include no typography, captions, logos, borders, or watermarks. Show a dense London roofline softly out of focus behind her, with chimney pots, old brick, and distant apartment towers. Use a low eye-level camera angle and natural 55mm portrait perspective, realistic anatomy, authentic fabric texture, detailed feathers, and restrained depth of field.\n\nArt direction: contemporary British sporting portrait with subtle 1970s editorial character. Palette of burgundy, mustard, weathered teal, slate blue, warm brick, and silver gray. Late-afternoon sunlight breaks through after rain, creating a warm rim light around her hair and the pigeons while cool storm clouds remain in the distance. Slightly damp rooftop surfaces catch soft reflections. Mood is dignified, resilient, intimate, and quietly triumphant rather than whimsical. Photorealistic high-end magazine photography, fine natural grain, nuanced skin texture, controlled contrast, polished color grade.',
width: 1280,
height: 1024
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "minimax:h3@image",
"positivePrompt": "Create a finished landscape editorial photoshoot portrait of one championship pigeon racer on the rooftop of her urban pigeon loft. Compose her three-quarter length in the center-right of the frame, looking directly into the camera with quiet confidence. She is a stylish British-Caribbean woman in her late 50s with short silver curls, a weathered burgundy waxed field jacket, mustard silk blouse, tailored charcoal trousers, fine gold hoop earrings, and a vintage brass racing timer hanging from a narrow leather strap. Her left forearm is raised in a thick falconry-style glove.\n\nInclude exactly six pigeons in the entire image, all fully visible and clearly separated: one blue-bar racing pigeon perched on her raised glove; two pigeons spaced apart on the rooftop railing at far left; and three pigeons spaced apart along the pitched roof of the wooden loft at upper right. No other birds anywhere, including in the sky, shadows, reflections, background, or decorative imagery. The loft has small geometric entry openings, but no birds inside them. Keep the woman's face and all six pigeons sharply legible.\n\nFrame the scene as a sophisticated personal profile photograph with useful negative space in the upper-left sky for optional editorial cropping, but include no typography, captions, logos, borders, or watermarks. Show a dense London roofline softly out of focus behind her, with chimney pots, old brick, and distant apartment towers. Use a low eye-level camera angle and natural 55mm portrait perspective, realistic anatomy, authentic fabric texture, detailed feathers, and restrained depth of field.\n\nArt direction: contemporary British sporting portrait with subtle 1970s editorial character. Palette of burgundy, mustard, weathered teal, slate blue, warm brick, and silver gray. Late-afternoon sunlight breaks through after rain, creating a warm rim light around her hair and the pigeons while cool storm clouds remain in the distance. Slightly damp rooftop surfaces catch soft reflections. Mood is dignified, resilient, intimate, and quietly triumphant rather than whimsical. Photorealistic high-end magazine photography, fine natural grain, nuanced skin texture, controlled contrast, polished color grade.",
"width": 1280,
"height": 1024
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "92fe548f-683c-48c7-a17c-08e4c15c1873",
"model": "minimax:h3@image",
"positivePrompt": "Create a finished landscape editorial photoshoot portrait of one championship pigeon racer on the rooftop of her urban pigeon loft. Compose her three-quarter length in the center-right of the frame, looking directly into the camera with quiet confidence. She is a stylish British-Caribbean woman in her late 50s with short silver curls, a weathered burgundy waxed field jacket, mustard silk blouse, tailored charcoal trousers, fine gold hoop earrings, and a vintage brass racing timer hanging from a narrow leather strap. Her left forearm is raised in a thick falconry-style glove.\n\nInclude exactly six pigeons in the entire image, all fully visible and clearly separated: one blue-bar racing pigeon perched on her raised glove; two pigeons spaced apart on the rooftop railing at far left; and three pigeons spaced apart along the pitched roof of the wooden loft at upper right. No other birds anywhere, including in the sky, shadows, reflections, background, or decorative imagery. The loft has small geometric entry openings, but no birds inside them. Keep the woman'\''s face and all six pigeons sharply legible.\n\nFrame the scene as a sophisticated personal profile photograph with useful negative space in the upper-left sky for optional editorial cropping, but include no typography, captions, logos, borders, or watermarks. Show a dense London roofline softly out of focus behind her, with chimney pots, old brick, and distant apartment towers. Use a low eye-level camera angle and natural 55mm portrait perspective, realistic anatomy, authentic fabric texture, detailed feathers, and restrained depth of field.\n\nArt direction: contemporary British sporting portrait with subtle 1970s editorial character. Palette of burgundy, mustard, weathered teal, slate blue, warm brick, and silver gray. Late-afternoon sunlight breaks through after rain, creating a warm rim light around her hair and the pigeons while cool storm clouds remain in the distance. Slightly damp rooftop surfaces catch soft reflections. Mood is dignified, resilient, intimate, and quietly triumphant rather than whimsical. Photorealistic high-end magazine photography, fine natural grain, nuanced skin texture, controlled contrast, polished color grade.",
"width": 1280,
"height": 1024
}
]'runware run minimax:h3@image \
positivePrompt="Create a finished landscape editorial photoshoot portrait of one championship pigeon racer on the rooftop of her urban pigeon loft. Compose her three-quarter length in the center-right of the frame, looking directly into the camera with quiet confidence. She is a stylish British-Caribbean woman in her late 50s with short silver curls, a weathered burgundy waxed field jacket, mustard silk blouse, tailored charcoal trousers, fine gold hoop earrings, and a vintage brass racing timer hanging from a narrow leather strap. Her left forearm is raised in a thick falconry-style glove.
Include exactly six pigeons in the entire image, all fully visible and clearly separated: one blue-bar racing pigeon perched on her raised glove; two pigeons spaced apart on the rooftop railing at far left; and three pigeons spaced apart along the pitched roof of the wooden loft at upper right. No other birds anywhere, including in the sky, shadows, reflections, background, or decorative imagery. The loft has small geometric entry openings, but no birds inside them. Keep the woman's face and all six pigeons sharply legible.
Frame the scene as a sophisticated personal profile photograph with useful negative space in the upper-left sky for optional editorial cropping, but include no typography, captions, logos, borders, or watermarks. Show a dense London roofline softly out of focus behind her, with chimney pots, old brick, and distant apartment towers. Use a low eye-level camera angle and natural 55mm portrait perspective, realistic anatomy, authentic fabric texture, detailed feathers, and restrained depth of field.
Art direction: contemporary British sporting portrait with subtle 1970s editorial character. Palette of burgundy, mustard, weathered teal, slate blue, warm brick, and silver gray. Late-afternoon sunlight breaks through after rain, creating a warm rim light around her hair and the pigeons while cool storm clouds remain in the distance. Slightly damp rooftop surfaces catch soft reflections. Mood is dignified, resilient, intimate, and quietly triumphant rather than whimsical. Photorealistic high-end magazine photography, fine natural grain, nuanced skin texture, controlled contrast, polished color grade." \
width=1280 \
height=1024{
"taskType": "imageInference",
"taskUUID": "92fe548f-683c-48c7-a17c-08e4c15c1873",
"model": "minimax:h3@image",
"positivePrompt": "Create a finished landscape editorial photoshoot portrait of one championship pigeon racer on the rooftop of her urban pigeon loft. Compose her three-quarter length in the center-right of the frame, looking directly into the camera with quiet confidence. She is a stylish British-Caribbean woman in her late 50s with short silver curls, a weathered burgundy waxed field jacket, mustard silk blouse, tailored charcoal trousers, fine gold hoop earrings, and a vintage brass racing timer hanging from a narrow leather strap. Her left forearm is raised in a thick falconry-style glove.\n\nInclude exactly six pigeons in the entire image, all fully visible and clearly separated: one blue-bar racing pigeon perched on her raised glove; two pigeons spaced apart on the rooftop railing at far left; and three pigeons spaced apart along the pitched roof of the wooden loft at upper right. No other birds anywhere, including in the sky, shadows, reflections, background, or decorative imagery. The loft has small geometric entry openings, but no birds inside them. Keep the woman's face and all six pigeons sharply legible.\n\nFrame the scene as a sophisticated personal profile photograph with useful negative space in the upper-left sky for optional editorial cropping, but include no typography, captions, logos, borders, or watermarks. Show a dense London roofline softly out of focus behind her, with chimney pots, old brick, and distant apartment towers. Use a low eye-level camera angle and natural 55mm portrait perspective, realistic anatomy, authentic fabric texture, detailed feathers, and restrained depth of field.\n\nArt direction: contemporary British sporting portrait with subtle 1970s editorial character. Palette of burgundy, mustard, weathered teal, slate blue, warm brick, and silver gray. Late-afternoon sunlight breaks through after rain, creating a warm rim light around her hair and the pigeons while cool storm clouds remain in the distance. Slightly damp rooftop surfaces catch soft reflections. Mood is dignified, resilient, intimate, and quietly triumphant rather than whimsical. Photorealistic high-end magazine photography, fine natural grain, nuanced skin texture, controlled contrast, polished color grade.",
"width": 1280,
"height": 1024
}Response
{
"taskType": "imageInference",
"taskUUID": "92fe548f-683c-48c7-a17c-08e4c15c1873",
"imageUUID": "c402b780-e2ca-4ac1-8cbb-3ac636a45ce5",
"imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/3/ii/c402b780-e2ca-4ac1-8cbb-3ac636a45ce5.jpg",
"cost": 0.017645
}API Options
Platform-level options for task execution and delivery.
taskType
stringrequiredvalue: imageInferenceIdentifier for the type of task being performed.
taskUUID
stringrequiredUUID v4UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
outputType
stringdefault: URLImage output type.
Allowed values3 values
outputFormat
stringdefault: JPGSpecifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.
JPG: Best for photorealistic images with smaller file sizes (no transparency).PNG: Lossless compression, supports high quality and transparency (alpha channel).WEBP: Modern format providing superior compression and transparency support.
Transparency: Output that needs transparency must use a format with an alpha channel:PNG,WEBP.JPGdoes not support transparency.Allowed values3 values
outputQuality
integermin: 20max: 99default: 95Compression quality of the output. Higher values preserve quality but increase file size.
webhookURL
stringuriWebhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more1 resource
- WebhooksPLATFORM
- Webhooks
deliveryMethod
stringdefault: syncDetermines how the API delivers task results.
Allowed values2 values
- Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more1 resource
- Task PollingPLATFORM
uploadEndpoint
stringuriSpecifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.
Common use cases:
- Cloud storage: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- CDN integration: Upload to content delivery networks for immediate distribution.
// S3 presigned URL for secure upload https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600 // Google Cloud Storage presigned URL https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789 // Custom storage endpoint https://storage.example.com/uploads/generated-image.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
safety
objectContent safety checking configuration for image generation.
Properties2 properties
safety»checkContentcheckContent
booleanEnable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.
safety»blockContentblockContent
booleanContent blocking before generation. Moderates the request's text and input images, and rejects the request when they are flagged, so nothing is generated or charged. Input videos, audio and documents are not moderated. Adds a short delay before generation starts.
ttl
integermin: 60Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
includeCost
booleanInclude task cost in the response.
numberResults
integermin: 1max: 20default: 1Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object.inputs»referenceImagesreferenceImages
array of stringsmin items: 1max items: 163 limitsList of reference images (UUID, URL, Data URI, or Base64).
Core Parameters
Primary parameters that define the task output.
model
stringrequiredvalue: minimax:h3@imageSend
autoinstead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See Model Router.
positivePrompt
stringrequiredmin: 1max: 32000Text prompt describing elements to include in the generated output.
Learn more1 resource
- PromptsLEARN
- Prompts
width
integermin: 468max: 7745Width of the generated media in pixels.
Learn more2 resources
height
integermin: 468max: 7745Height of the generated media in pixels.
Learn more2 resources
resolution
stringResolution preset for the output. When used with input media, automatically matches the aspect ratio from the input. Without reference images, the model picks the aspect ratio from the prompt.
Allowed values3 values
Settings
Technical parameters to fine-tune the inference process. These must be nested inside the settings object.
settings object.settings»promptOptimizerpromptOptimizer
booleandefault: trueAutomatic prompt optimization. Affects reproducibility.
Features
Standalone addons and post-processing features.
advancedFeatures»watermarkwatermark
objectConfiguration object for adding watermarks to generated images. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either
textorimagecontent for the watermark, but not both."advancedFeatures": { "watermark": { "text": "© 2025 Company", "displayPosition": "bottom-right", "opacity": 0.6, "fontColor": "#ffffff", "bgColor": "#000000" } }"advancedFeatures": { "watermark": { "image": "c64351d5-4c59-42f7-95e1-eace013eddab", "displayPosition": "top-left", "opacity": 0.6 } }"advancedFeatures": { "watermark": { "text": "PREVIEW", "tiled": true, "opacity": 0.4, "fontColor": "#cccccc" } }Properties6 properties
advancedFeatures»watermark»texttext
stringmin: 2max: 32Watermark text.
advancedFeatures»watermark»imageimage
stringWatermark image (UUID, URL, Data URI, or Base64).
advancedFeatures»watermark»displayPositiondisplayPosition
stringWatermark position.
Allowed values10 values
advancedFeatures»watermark»opacityopacity
floatmin: 0.1max: 1step: 0.01Watermark opacity.
advancedFeatures»watermark»fontColorfontColor
stringText color in hex format.
advancedFeatures»watermark»bgColorbgColor
stringBackground color in hex format.