← One model. More ways to save.

Apixly · API pricing

gemini-3.1-flash-image

gemini-3.1-flash-image · Image generation. Up to 14 reference images for composition or editing; outputs 1K, 2K or 4K images.

14 reference imagesReference image editing1K / 2K / 4K

Gateway price for gemini-3.1-flash-image ↓

API integration · Image generation

Use an image model for visual content. Required inputs, image sizes, edit support and output formats depend on the exact model; follow its image endpoint guide rather than reusing chat parameters.

Request model ID
gemini-3.1-flash-image
Public groups
image

Create an Apixly API key, bind a group that lists this exact model, and keep the key in a server-side environment variable. Public prices exclude personal discounts; check the selected group before sending a request.

Check model access first

Run this read-only catalog request to inspect the exact model entry visible to your API key. Confirm its group, then follow the operation guide and verify a completed output and actual usage.

curl --fail-with-body --max-time 30 'https://apixly.ai/v1/models' -H "Authorization: Bearer $APIXLY_API_KEY" | python3 -c 'import json, sys
models = json.load(sys.stdin).get("data", [])
wanted = "gemini-3.1-flash-image"
match = next((item for item in models if item.get("id") == wanted), None)
if match is None: raise SystemExit("Model not listed for this key; check its bound groups")
print(json.dumps(match, ensure_ascii=False, indent=2))'

Use the model-specific parameters in the linked guide. For asynchronous jobs, keep the returned task ID, poll that same task to a terminal state and verify the downloadable result. Reconcile a timed-out request before submitting another paid job.

Compare related models

Loading model prices…
Public quotes

Public prices

Providers

image
2K
Media output/ image2K
Official$0.101$0.03/ image
Up to 70.3% off

Channel: image

1K
Media output/ image1K
Official$0.067$0.02/ image
4K
Media output/ image4K
Official$0.151$0.05/ image
Use this provider

Official prices and discounts use the same billing unit and tier.

Each price shows its own billing unit. Input, output, cache and reference media are charged separately where listed.