PeumeAPI

AI generation · Gemini

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.

$0.051 per lookup, only when foundUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/google-gemini-3-pro-image-nano-banana-pro-3 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "model": "gemini-3-pro-image-preview",
    "prompt": "A clean editorial illustration of a paper airplane.",
    "size": "1:1",
    "resolution": "1K"
  }
}'

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-3.

Parameters

modelRequiredstring

gemini-3-pro-image-preview

Example: gemini-3-pro-image-preview

promptRequiredstring

Example: A clean editorial illustration of a paper airplane.

sizestring

Aspect ratio.

1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 5:4 · 4:5

Example: 1:1

resolutionstring

1K · 2K · 4K

Example: 1K

image_urlsarray

Up to 14 public image URLs for image-to-image. Each URL must answer a plain GET with the raw image bytes and an image/* content-type (signed cloud-storage or CDN links work; file-page hosts such as tmpfiles.org return HTML, and the task then fails unbilled with the vendor's generic upstream error). ` host <file>` prints a URL that satisfies this.

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.