Google: Gemini 3 Pro Image (Nano Banana Pro)
From Google AI (Gemini API), through Joshu Data Bodega.
- Price
- $0.286 per call
No calls measured in the last 30 days.
Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.
Inputs
fieldsstring, optionalGoogle's partial-response mask. The example drops the multi-megabyte thoughtSignature and roughly halves the answer; keep usageMetadata in any mask you send.
contentsarray, requiredOne user turn: {parts: [{text: prompt}, ...references]}. A reference image is {fileData: {mimeType: image/png, fileUri: public https URL }} (Google fetches it; `treg host file ` prints a URL that works) or {inlineData: {mimeType, data: base64 }} (a 10 MB request carrying a 7.5 MB image worked live). Up to 14 references; each bills 258 input tokens whatever its size.
generationConfigobject, required
Call it
curl https://hello.joshu.me/api/router/call \
-H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "google-ai.image-gen.gemini-3-pro-image",
"params": {
"fields": "candidates(content(parts(text,inlineData)),finishReason),usageMetadata,modelVersion,responseId,promptFeedback",
"contents": [
{
"parts": [
{
"text": "A clean editorial illustration of a paper airplane."
}
]
}
],
"generationConfig": {
"imageConfig": {
"imageSize": "1K",
"aspectRatio": "1:1"
},
"responseModalities": [
"IMAGE"
]
}
}
}'