We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
minimax/minimax-h3-imageRuns on your balance at the prices above.
Settings
MiniMax H3 Image is an image generation and editing model from MiniMax. It sits in the image category, and its job is to produce images rather than text, which makes it a different kind of tool from the chat and completion models you may already route through the same gateway. If your application needs to create or modify visual assets, this is the model to consider.
The model accepts text and image inputs and returns images. Text prompts drive generation, while image inputs act as references for editing or composition. You can supply anywhere from 0 to 16 reference images in a single request, which covers plain text to image work as well as multi reference editing and composition. The context window is 4096 tokens, and the maximum output is 3686. Output images can be requested at 1K, 2K or 4K resolution, in jpeg, png or webp format, and with an aspect ratio chosen from a long list of presets (including square, portrait, landscape, wide cinematic ratios such as 2.35:1 and 21:9, and an auto option). A single request can return between 1 and 10 images.
Those capabilities point to a fairly wide set of practical uses. Text to image generation covers concept art, marketing visuals, illustrations and placeholder assets during development. Because the model also takes reference images, it fits editing and composition workflows: restyling an existing image, combining elements from several references into one scene, or producing variations on a product shot. The range of aspect ratios makes it straightforward to target specific placements, such as vertical formats for stories or wide formats for banners, without post processing crops. Requesting multiple images per call (up to 10) is useful when you want a set of options to choose from, and the resolution and format options let you match the output to the destination, whether that is a web page or a print oriented asset.
You call the model through api14's OpenAI compatible API using the model id "minimax/minimax-h3-image". Because the interface follows the OpenAI convention, you can point an existing OpenAI client at the gateway and send requests in the usual shape, with the model id in the request body. The supported parameters are max_tokens, temperature and top_p. Alongside those, the model exposes image specific parameters: resolution (1K, 2K or 4K), aspect_ratio (one of the listed presets or auto), output_format (jpeg, png or webp), n (1 to 10 images), input_references (0 to 16) and size.
Keep the context window in mind when designing prompts, since 4096 tokens is modest and long, detailed instructions plus reference material will consume it quickly. If your task is text generation, reasoning or conversation rather than image work, a text model on the platform will fit better; H3 Image is built for visual output.
Written by an AI model from our catalog data and translated automatically. The prices and limits in the tables come straight from the catalog. How we make content
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.images.generate({
"model": "minimax/minimax-h3-image",
"prompt": "A minimalist product photo of a ceramic mug on a wooden table",
"n": 1,
"aspect_ratio": "1:1"
});
import { writeFile } from "node:fs/promises";
await writeFile("image.png", Buffer.from(result.data[0].b64_json, "base64"));
max_tokenstemperaturetop_pThis community has no topics yet. Open the first one about MiniMax: MiniMax H3 Image.