Call it
curl https://api.peume.com/v1/call/google-gemini-3-pro-image-nano-banana-pro-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"model": "gemini",
"task_type": "nano-banana-pro",
"input": "your input"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-gemini-3-pro-image-nano-banana-pro-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"model": "gemini",
"task_type": "nano-banana-pro",
"input": "your input"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-gemini-3-pro-image-nano-banana-pro-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"model": "gemini",
"task_type": "nano-banana-pro",
"input": "your input"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-gemini-3-pro-image-nano-banana-pro-2.
Parameters
modelRequiredstringgemini
Example: gemini
task_typeRequiredstringnano-banana-pro
Example: nano-banana-pro
inputRequiredobjectOther ways to do it
Same job, other sources, cheapest first.
Google: Gemini 3 Pro Image (Nano Banana Pro)Generate or edit one image with Gemini 3 Pro Image at 1K, 2K or 4K, from a prompt and up to 14 reference images.Google: Gemini 3 Pro Image (Nano Banana Pro)Generate or edit one image with Gemini 3 Pro Image at 1K, 2K or 4K on Google's own API, from a prompt and optional reference image URLs; the image returns inline as base64.google/nano-banana-proGenerate or edit one image with Gemini 3 Pro Image (Nano Banana Pro) at 1K, 2K or 4K through official model.
