Call it from your code
Submit a task to get its ID. Poll for the result, or pass a webhook URL to receive the finished task.
curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "google/nano-banana-2",
"input": {
"prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
"resolution": "1K"
}
}'Example response
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "google/nano-banana-2",
"status": "processing"
}What you can send
Every parameter uses the unified names, the same across models.
| Parameter | Type | Required | Default | Values | What it does |
|---|---|---|---|---|---|
prompt | string | Required | — | — | Prompt |
images | string | string[] | — | — | — | Reference images |
aspect_ratio | string | — | "1:1" | 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 21:9, 1:4, 4:1, 1:8, 8:1 | Aspect ratio |
resolution | string | — | "1K" | 1K, 2K, 4K | Resolution |
n | integer | — | 1 | 1 | Number of outputs |
Not supported yet: seed, output_format, n
Pricing
1 image · 1K
$0.0250
$0.067062% below official price1 image · 2K
$0.0300
$0.101070% below official price1 image · 4K
$0.0400
$0.151073% below official price
Common usage
| Output | Official price | Kerox | You save |
|---|---|---|---|
| 1 image · 1K | $0.0250 | 62% | |
| 1 image · 2K | $0.0300 | 70% | |
| 1 image · 4K | $0.0400 | 73% | |
| $10 gets you | 400 1K images | ||
| Tier | Official price | Kerox |
|---|---|---|
| 1K | $0.0250 | |
| 2K | $0.0300 | |
| 4K | $0.0400 |
Use POST /v1/estimate for a quote before submitting a task.
Made with Nano Banana 2

Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.

Editorial photograph of a yellow tram winding through a coastal village, square composition, natural light, no lettering.

Editorial photograph of a ceramic teapot on an oak table, morning light, square composition, natural light, no lettering.
About Nano Banana 2
Generate one image from a prompt or edit up to 14 reference images. Choose 1K, 2K, or 4K output.
FAQ
How much does Nano Banana 2 cost?
Nano Banana 2 on Kerox starts from $0.0250 / image, 62% below the official price. You pay per generation, and failed generations are not charged. The price table on this page lists every option.
Does Nano Banana 2 have an API?
Yes. Submit a task to the Kerox API with the model ID google/nano-banana-2, then poll the task or receive a webhook when it finishes. The API docs for Nano Banana 2 list every parameter with code examples.
Can I use Nano Banana 2 online without writing code?
Yes. Choose your settings in the generation panel on this page to see the price. Sign in to generate. Try it
Do I need a subscription to use Nano Banana 2?
No. There are no plans and no monthly fees. Top up from $5 and pay only for what you generate.
How do I use Nano Banana 2?
Sign in to Kerox, open Nano Banana 2 in Studio, write a prompt and generate in your browser. To use it from code, create an API key and send a task with the model ID google/nano-banana-2.
Is Nano Banana 2 free to use?
Nano Banana 2 is a paid model on Kerox: each successful generation is charged at the price on this page, and failed generations cost nothing. There is no monthly fee, and you can start with a $5 top-up.
