Basic request shape

POST /v1/images
{
  "model": "nano-banana-lite",
  "prompt": "A clean product photo of a ceramic mug...",
  "size": "1024x1024"
}

Production checklist

Cost planning

Use the calculator on this site for a first estimate, then verify with the official Gemini API pricing page before launch because pricing can change.

Open API cost calculator