gemini-3.1-flash-image-preview API: billing and integration
Compare models, explore supported endpoints and check current pricing before integrating.
Model identifier
gemini-3.1-flash-image-preview Model overview
Gemini 3.1 Flash Image Preview belongs to the Nano Banana 2 image family, oriented toward efficient generation and repeated visual editing.
Tasks to evaluate
- Explore multiple visual directions for a creative brief.
- Iterate on reference images with focused changes.
Integration notes
Confirm output size and billing in GetAPI before batching requests. Flash is not a guaranteed latency level.
Based on provider documentation, not a GetAPI execution test. Supported request fields and limits depend on the selected endpoint.
Official references: Google — Gemini 3 developer guide · Reviewed:
Source description
No model description was supplied. Use the declared endpoint and live model settings instead of assuming capabilities.
Provider: Google
Declared endpoints
Endpoint definitions vary by model; a listed route does not imply support for every parameter or tool.
- image-generation ·
POST /v1/images/generations - openai ·
POST /v1/chat/completions - openai-response ·
POST /v1/responses - openai-response-compact ·
POST /v1/responses/compact - anthropic ·
POST /v1/messages - gemini ·
POST /v1beta/models/{model}:generateContent - openai-alpha-search ·
POST /v1/alpha/search
Billing and groups
Fixed-rate billing
Check the current model, group and billing unit before sending a request.
Enabled groups in snapshot: gemini
Loading...
Before your first request
- Confirm the exact model identifier and supported endpoint.
- Create a server-side API key with the required permissions and quota.
- Match the model endpoint type to a compatible request protocol before sending traffic.
A model listed by the gateway is not automatically compatible with Codex. Use its declared endpoint as a starting point, then confirm request fields and billing before testing.