---
title: "Generate Image (Pro)"
method: POST
path: "/api/v1/nanobanana/generate-pro"
---

# Generate Image (Pro)

`POST /api/v1/nanobanana/generate-pro`

Submit NanoBanana Pro image generation task using the nano-banana-pro model.

### Model Information
The nano-banana-pro model supports:
- High-quality text-to-image generation
- Image-to-image transformation
- Multiple aspect ratios and resolutions
- Batch image processing (up to 10 input images)

## Request body

- object
  - `prompt` string, required — A text description of the image you want to generate
  - `imageUrls` string[] — Input images to transform or use as reference (supports up to 8 images)
  - `resolution` '1K' | '2K' | '4K' — Resolution of the generated image
  - `callBackUrl` string, uri — Callback URL to receive task completion notifications (required)
  - `aspectRatio` '1:1' | '2:3' | '3:2' | '3:4' | '4:3' | '4:5' | '5:4' | '9:16' | '16:9' | '21:9' | 'auto' — Aspect ratio of the generated image

## Response `200`

Request successful

- object
  - `code` integer — Response status code
  - `message` string — Response message
  - `data` object
    - `taskId` string — Task ID for querying task status

---

[API](https://skmtc.dev/nanobananaapi/apis/common-api.md) · [All operations](https://skmtc.dev/nanobananaapi/apis/common-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nanobananaapi/common-api/revisions/83dd71119edc/schema)
