---
title: "Google's Gemini 3 Pro Image, Generate with prompt"
method: GET
path: "/ai-image/nano-banana"
tags: ["AI Images"]
---

# Google's Gemini 3 Pro Image, Generate with prompt

`GET /ai-image/nano-banana`

## Request

- Base URL: `https://api.paxsenix.org`
- URL: `https://api.paxsenix.org/ai-image/nano-banana`
- Auth: none declared

Text to image with prompt, thanks to Google's Gemini 3 Pro Image Preview (Nano-Banana-Pro) & Gemini 3.1 Flash Image Preview (Nano-Banana-2)

## Query parameters

- `prompt` string, required
- `model` string, required
- `ratio` string, required

## Response `200`

Success - Got the response

- AIImageResponse
  - `creator` string: The creator of the API
  - `message` string: Unnecessary message for the user
  - `ok` boolean: Indicates if the operation was successful
  - `jobId` number: job id that you can use in endpoint /task
  - `task_url` string: Task URL that you'll use for the next request

## Other responses

- `400`: Bad Request
- `500`: Server error

## Changes

- **2025-12-17** `3ea53d4fe769`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paxsenix/apis/paxsenix-api/changes/ai-image/nano-banana/get.md)

---

[API](https://skmtc.dev/paxsenix/apis/paxsenix-api.md) - [All operations](https://skmtc.dev/paxsenix/apis/paxsenix-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paxsenix/apis/paxsenix-api/revisions/f7e5b20bdbdf?raw)
