Gemini 3 Pro Image API
Call Gemini 3 Pro Image (Nano Banana Pro) by Google from your own code with one GluonArt API key. OpenAI-compatible requests, 170 credits per image, paid from a credit balance with no subscription.
Gemini 3 Pro Image API example
Copy, set GLUONART_API_KEY, run.
curl https://api.gluonart.com/v1/images/generations \
-H "Authorization: Bearer $GLUONART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-pro-image",
"prompt": "A lighthouse on a cliff at dawn, soft mist",
"aspect_ratio": "16:9"
}'import base64
from openai import OpenAI
client = OpenAI(base_url="https://api.gluonart.com/v1", api_key=GLUONART_API_KEY)
result = client.images.generate(
model="gemini-3-pro-image",
prompt="A lighthouse on a cliff at dawn, soft mist",
extra_body={"aspect_ratio": "16:9"},
)
with open("image.png", "wb") as file:
file.write(base64.b64decode(result.data[0].b64_json))curl https://api.gluonart.com/v1/images/edits \
-H "Authorization: Bearer $GLUONART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-pro-image",
"prompt": "Turn this into a watercolor painting",
"images": [{ "image_url": "data:image/png;base64,iVBORw0KGgo..." }]
}'Parameters and price
Live values from the GluonArt catalogue. 1,000 credits = $1.
- Model id
- gemini-3-pro-image
- Price
- 170 credits ($0.17) per image
- Endpoint
- POST /v1/images/generations and /v1/images/edits
- Aspect ratios
- 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
- Reference images
- Up to 4 per request
- Response
- OpenAI images format, base64 (b64_json)
Questions
How much does the Gemini 3 Pro Image API cost?
170 credits ($0.17) per image. You pay from a prepaid credit balance (1,000 credits = $1), with no subscription and no monthly minimum. Credits never expire.
Can I use the OpenAI SDK with Gemini 3 Pro Image?
Yes. Set the base URL to https://api.gluonart.com/v1, use your GluonArt API key, and pass "gemini-3-pro-image" as the model. Images come back in OpenAI's images format, base64-encoded.
Do I need a separate account with Google?
No. One GluonArt API key and one credit balance cover Gemini 3 Pro Image and every other image and video model on the API.
Can I try Gemini 3 Pro Image before writing code?
Yes. The GluonArt studio runs the same model at the same price, so you can test prompts there and then call it from your app.
Other image model APIs
Qwen Image 3.0 ProAlibaba · 50 credits per image
Qwen Image 3.0Alibaba · 40 credits per image
Qwen Image 2.1 ProAlibaba · 50 credits per image
Qwen Image 2.1 TurboAlibaba · 20 credits per image
GPT Image 2OpenAI · 80 credits per image
GPT Image 2.5 SunburstOpenAI · 80 credits per image
GPT Image 2.5 FlareOpenAI · 80 credits per image
GPT Image 2.6 SunburstOpenAI · 80 credits per imageAll models and prices: GluonArt API for developers.
Start building with Gemini 3 Pro Image
Create a key in your dashboard and start calling the API. You pay only for what you generate.