
GPT Image 2
High-fidelity image generation and editing for product photography, readable text, and detailed creative workflows.
Output
Examples
View more examples ↗Pricing
Choose the same two routing tiers used across MLMux. The selected route is included as route_mode in every request.
Learn more about pricing ↗Token rates
GPT Image 2 is billed on the tokens it returns, per 1M tokens: official at the provider's published rates, official-cheap at 50% of them. If a response carries no usage, the per-image price applies.
| Tokens | official |
|---|---|
| Text input | $5 / 1M tokens |
| Image input | $8 / 1M tokens |
| Image output | $30 / 1M tokens |
Readme
GPT Image 2 is available through MLMux with one request shape and two explicit route tiers.
Generate and edit
Use one endpoint for new images, targeted edits, and iterative creative workflows with up to sixteen references.
Work with text
Describe exact headlines, labels, and layout constraints for posters, packaging, and product compositions.
Choose the output
Select a practical aspect ratio, target resolution, file format, and output count for each request.
Frequently asked questions
What is GPT Image 2?
GPT Image 2 is an image generation model from OpenAI. On MLMux you can run it in the browser or call it through one API. High-fidelity image generation and editing for product photography, readable text, and detailed creative workflows.
How do I use the GPT Image 2 API?
Create an API key in the MLMux Console, then send a POST request to https://api.mlmux.com/v1/images/generations with the key in the Authorization header and model set to openai/gpt-image-2. The generated images are returned in the response.
What can GPT Image 2 do?
Generation modes: Text to image and Image editing. Each request accepts up to 16 reference images and returns 1K, 2K, or 4K images in aspect ratios such as 1:1, 16:9, 9:16, 4:3, and 3:4.
How much does GPT Image 2 cost?
MLMux is pay as you go, with no subscription or monthly fee, and 1 credit equals 1 US dollar. GPT Image 2 runs on the official route, where a 1K image costs about $0.053, billed on the tokens each request actually uses. Rates for every resolution are listed in the pricing section of this page.
Can I try GPT Image 2 without writing code?
Yes. Sign in and use the playground at the top of this page to run GPT Image 2 with the same settings as the API. The API tab shows the matching request in Node.js, Python, and HTTP.










