Skip to main content
Create an asynchronous text-to-image generation with NanoBanana Pro (top tier). Returns 202 Accepted with a job_id — poll GET /jobs/{job_id} until the job is done or failed.
NanoBanana Pro supports selectable resolution (1K, 2K, 4K) and the full aspect-ratio set. It uses the unprefixed endpoint path.

Headers

string
required
Bearer <YOUR_API_KEY>. See Authentication.
string
Optional. Replaying the same key returns the original job_id without creating a duplicate job or charging again.

Body

string
required
Generation prompt. Minimum length 1. Null bytes are stripped.
string
required
Output aspect ratio. See Aspect ratios for the full set.
string
1K, 2K, or 4K. See Resolutions.

Response

Returns 202 Accepted.
string
UUID of the created job.
string
Always queued on creation.
string
Relative path to poll for status and result.
See Errors for 401, 402, 403, 422, and 503 responses.