Nano Banana 2

GoogleAvailable

Google's fast image model for generation and editing, with up to 10 reference images and 1K, 2K or 4K output.

  • Text → image
  • Edit
  • 1K

    52 cr / image

    $0.052

  • 2K

    78 cr / image

    $0.078

  • 4K

    117 cr / image

    $0.117

prompt
Describe the subject, style and light, or the change to make.0 / 20,000
Aspect ratioaspect_ratio
Resolutionresolution
Formatoutput_format
Estimated cost:

52 credits

$0.052 · refunded if it fails

Sign in to generate
No task yet
  1. Queued
  2. Processing
  3. Succeeded

What Nano Banana 2 is good for

  • Marketing images at volume

    Generate product and campaign images per image at 1K, then move up to 2K or 4K for the ones you keep.

  • Wide banners and tall formats

    Use ratios such as 8:1, 4:1, 1:4 and 1:8 alongside the standard sizes.

  • Edits from several references

    Pass up to 10 reference images to edit a picture or combine several into one.

Input parameters

JSON Schema
Input parameters of Nano Banana 2
NameTypeDefaultDescription
prompt (required)string—What to generate, or how to change the input images. Up to 20,000 characters.
image_urlsstring[]—Up to 10 reference or source images, as public HTTPS URLs.
aspect_ratioenum"auto"Output aspect ratio. One of auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1.
resolutionenum"1K"Output resolution. One of 1K, 2K, 4K. Sets the price.
output_formatenum"png"File format of the image. One of png, jpg.

Fields of the input object. Unknown fields are rejected with 400 invalid_request.

curl -X POST https://genkiln.com/v1/tasks \
  -H "Authorization: Bearer $GENKILN_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "nano-banana-2",
  "input": {
    "prompt": "Product photo of a matte ceramic coffee cup on a walnut desk, morning window light",
    "aspect_ratio": "auto",
    "resolution": "1K",
    "output_format": "png"
  }
}'

# 202 Accepted -> { "id": "task_...", "status": "queued", "cost_credits": ... }
curl https://genkiln.com/v1/tasks/task_... \
  -H "Authorization: Bearer $GENKILN_API_KEY"

The samples use the values in the Playground form. Create a task, then poll it until it is final, or add callback_url to get a signed webhook.

Nano Banana 2 API pricing

VariantCreditsUSD100 images
1K52 $0.052$5.200
2K78 $0.078$7.800
4K117 $0.117$11.700

The cost is set by the parameters you send and returned as cost_credits when the task is created. 1 credit = US$0.001. Buy credits

Nano Banana 2 questions

Ship your first generation today.

Create a key, top up from $10, and call any model with the same request.