---
title: "Nano Banana"
method: POST
path: "/generate/image/google/nano-banana"
tags: ["Image"]
---

# Nano Banana

`POST /generate/image/google/nano-banana`

Most versatile intelligent model.

## Headers

- `X-Webhook-URL` string, uri

## Request body

- object
  - `prompt` string, required
  - `width` number — Width of the generated image.
  - `height` number — Height of the generated image.
  - `image_urls` string[] — Image prompts to use for the generation. If provided, style images are ignored.
  - `aspect_ratio` '21:9' | '1:1' | '4:3' | '3:2' | '2:3' | '5:4' | '4:5' | '3:4' | '16:9' | '9:16'
  - `style_images` object[] — Image prompts to use for the generation
    - `strength` number, required
    - `url` string, uri — Can be an external URL, base64 data URI, or uploaded asset URL.

## Response `200`

The resulting job data. This will be returned in a pending state until the job is completed. See [`/jobs/{id}`](#tag/default/get/jobs/{id}) for retrieving the results.

- object
  - `job_id` string, uuid, required
  - `status` 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `completed_at` unknown, required
  - `result` unknown, required
  - `error` object
    - `code` string, required
    - `message` string

## Other responses

- `400` — The request body is invalid.
- `401` — You are not authenticated.
- `402` — You have run out of credits.
- `429` — You have reached the maximum number of concurrent jobs.

---

[API](https://skmtc.net/krea/apis/krea-api.md) · [All operations](https://skmtc.net/krea/apis/krea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/krea/krea-api/versions/8797ce75a9d3/schema)
