Skip to main content
POST
Nano Banana (TEST) — Text to Image
Generate images from text descriptions with Google’s Nano Banana (TEST) model. A lightweight development variant that supports a wide range of aspect ratios and multiple generations per request.

Request Body

string
required
Model slug. Use google/nano-banana-dev/text-to-image for text-to-image generation.
object
required
Input parameters for text-to-image generation.
string
HTTPS URL to receive a webhook notification when the job completes or fails.

Pricing

Base cost: 40,000 micro-cents per request ($0.04/request)
Default cost: 1 request = 40,000 micro-cents ($0.04)

Response

string
Unique identifier for the submitted job.
string
Initial job status. Always "pending" on successful submission.
string
ISO 8601 timestamp of the estimated completion time.
number
The cost of the job in micro-cents.

Code Examples