Gemini 3 Pro Image Preview Beta API on MaxAPI
Gemini 3 Pro Image Preview Beta is the MaxAPI fixed-price route family for the corresponding Google Gemini image model. It accepts the same OpenAI-compatible JSON shape as the non-beta route and also exposes Google's native v1beta/models/<id>:generateContent format for SDK parity.
Common use cases
- Generate new marketing, editorial, or product imagery from a text prompt
- Edit or recompose an existing image with one or more reference images
- Iterate quickly between aspect ratios and resolutions for the same prompt
- Mix multiple reference images to compose a new scene
Endpoints
Image generation is synchronous by default. Set "async": true to queue and poll, or pass X-MaxAPI-Async: true on the Gemini-native endpoint.
- POST /v1/images/generations
- POST /v1/images/edits
- GET /v1/images/generations/{task_id}
- GET /v1/images/edits/{task_id}
- POST /v1beta/models/gemini-3-pro-image-preview-beta:generateContent (Gemini-native)
- GET /v1beta/operations/{task_id} (async polling for the Gemini-native endpoint)
Lineage
Source family: Google Gemini image generation. MaxAPI exposes it through the OpenAI-compatible /v1/images/* endpoints and the Gemini-native /v1beta/models/<id>:generateContent format.
Dimensions and sizing
Supports aspect_ratio values 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, and imageSize tiers 1K, 2K, 4K. Output pixel dimensions follow Google's preset table — for example, 9:16 + 2K returns 1536×2752 pixels (24:43 numerically), not a mathematically exact 9:16.
Available routes
Pass route_mode in the request body (or X-MaxAPI-Route-Mode on the Gemini-native endpoint) to select. If you don't pass one, MaxAPI follows the API key's configured order.
- official-cheap — lower-cost MaxAPI-configured route on the same upstream model, billed at a reduced rate.
- mix — blended route that may switch between configured providers for cost, availability, and fallback coverage; billing follows the published entry for this model.
Pricing
Pricing is per route mode. Failed requests are not charged. 1 credit = 1 USD.
- official-cheap: $0.085 per output image
- mix: $0.065 per output image
Quick example
curl -X POST "https://api.maxapi.dev/v1/images/generations" \
-H "Authorization: Bearer $MAXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3-pro-image-preview-beta",
"prompt": "a clean product photo of a glass cube",
"aspect_ratio": "1:1",
"resolution": "1K",
"n": 1
}'
FAQ
How do I call Gemini 3 Pro Image Preview Beta on MaxAPI?
Send requests to POST /v1/images/generations or POST /v1/images/edits with an Authorization: Bearer header. The body shape follows MaxAPI's OpenAI-compatible image API.
How do I switch between route_mode options?
Pass "route_mode": "official" / "official-cheap" / "mix" in the JSON body, or set X-MaxAPI-Route-Mode on the Gemini-native endpoint. Defaults to the API key's configured order.
How is billing handled?
Failed requests don't charge credits. Per-image, per-call, and per-generation pricing is billed on completion; token-priced routes settle from upstream usage. 1 credit = 1 USD.
Where does the returned media URL live?
Generated media is normally stored on MaxAPI's CDN for seven days. Pass "asset_delivery": "mirror" on supported generation endpoints to receive URLs on the configured alias domain instead.
Provider source: Google Gemini image generation documentation
Full API reference