Nano Banana
Nano Banana
Nano Banana
Generate and edit images using Google’s Nano Banana model via PixelByte API
POST
Nano Banana
Generate images from text descriptions with Google’s fast and affordable Nano Banana model. Supports multiple aspect ratios and resolution tiers.
| Property | Value |
|---|---|
| Provider | |
| Model | Nano Banana |
| Capability | Text to Image |
| Base Cost | 40,000 micro-cents/request ($0.04) |
| Processing Time | ~30 seconds |
Request Body
Model slug. Use
google/nano-banana for text-to-image generation.Input parameters for text-to-image generation.
HTTPS URL to receive a webhook notification when the job completes or fails.
Pricing
Base cost: 40,000 micro-cents per request ($0.04)| Factor | Option | Multiplier |
|---|---|---|
| Resolution | 1k | 1x |
2k | 1x | |
4k | 2x |
Response
Unique identifier for the submitted job.
Initial job status. Always
"pending" on successful submission.ISO 8601 timestamp of the estimated completion time.
The cost of the job in micro-cents.
Code Examples
Edit Image
Edit and transform existing images using Google’s Nano Banana model. Provide reference images along with a text prompt to guide the editing process.| Property | Value |
|---|---|
| Provider | |
| Model | Nano Banana |
| Capability | Edit Image |
| Category | Image to Image |
| Base Cost | 40,000 micro-cents/request ($0.04) |
| Processing Time | ~30 seconds |
Request Body
Model slug. Use
google/nano-banana/edit-image for image editing.Input parameters for image editing.
HTTPS URL to receive a webhook notification when the job completes or fails.
Pricing
Base cost: 40,000 micro-cents per request ($0.04)| Factor | Option | Multiplier |
|---|---|---|
| Resolution | 1k | 1x |
2k | 1x | |
4k | 2x |