When to use AI Gateway instead of direct image model APIs?
Signing up for another provider account just to generate or edit images adds a key, a bill, and another dashboard to check. AI Gateway now routes MiniMax H3 Image and its Highspeed variant through one key, with generation and editing in a single API.
What it is
MiniMax H3 Image and MiniMax H3 Image Highspeed are now available on AI Gateway. They support text-to-image generation and image editing with custom dimensions and aspect ratios, including 2K and 4K outputs, and OpenAI-compatible routes.
Applied case
An e-commerce developer building product visuals can generate an illustration from a text prompt, then pass the image back with instructions to change colors, subjects, or composition. Using minimax/minimax-h3-image or minimax/minimax-h3-image-highspeed as the model name, they call it with one AI Gateway API key and no separate MiniMax account. The Highspeed variant gives faster generation with the same options. Usage and cost show up in the dashboard, with provider pricing and no markup or platform fee.
- One API key handles both generation and editing; pass the image back with new instructions to iterate.
When to use it
Use when you want image generation and editing through one unified API with usage tracking and no markup.
Skip when your stack requires a provider-specific feature outside the gateway's supported routes.
Read more
Recommended for you
- WorkflowVercel
How I filter agent tools without burning output tokens
Routing and policy checks with generative models spend tokens on text you never use.
- WorkflowVercel
When to use Muse Ember instead of a big reasoning model?
Agents repeat bounded sub-tasks like tool calls many times per run, and paying heavyweight-model prices for each one drains budget and latency.
- WorkflowVercel
When to use AI Gateway instead of calling model providers directly?
Scattered keys, per-provider billing, and outages on any single provider make direct model calls fragile; AI Gateway fixes this at no markup.
- WorkflowVercel
When to use Token Pass instead of per-model API bills?
Separate provider accounts and surprise API bills for each coding agent quietly drain team budgets; one subscription now covers the lineup.
Enjoyed this article?
Subscribe for new articles. No spam. Unsubscribe anytime.