Base URL
All endpoints are served under:
How it works
All generation requests are asynchronous. A successful call returns202 Accepted with a job_id and a status_url. You then poll GET /jobs/{job_id} until the job reaches a terminal state (done or failed).
Models at a glance
| Model | Resolution | Text-to-image | Image-to-image (URLs) |
|---|---|---|---|
| NanoBanana | 1K only | POST /nb/text-generations | POST /nb/url-generations |
| NanoBanana 2 | 1K · 2K · 4K | POST /nb2/text-generations | POST /nb2/url-generations |
| NanoBanana Pro | 1K · 2K · 4K | POST /text-generations | POST /url-generations |
Next steps
Quickstart
Create your first generation end-to-end with cURL.
Authentication
Get your API key and learn about idempotency.
Models
Compare NanoBanana, NanoBanana 2, and Pro.
API Reference
Full request and response schemas.