AI Images

Google's Gemini 3 Pro Image, Generate with prompt

Changed on

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)

get/ai-image/nano-banana

Request

  • Base URL
    https://api.paxsenix.org
  • Auth
    none declared

Query parameters

promptstring required

Prompt to manipulate the image

modelstring required

Generation model, nano-banana-2-lite, nano-banana-pro, nano-banana-2 is available.

ratiostring required

Available ratios: 16:9, 9:16, 1:1.

Response

Success - Got the response

creatorstring

The creator of the API

messagestring

Unnecessary message for the user

okboolean

Indicates if the operation was successful

jobIdnumber

job id that you can use in endpoint /task

task_urlstring

Task URL that you'll use for the next request

Example response

{
  "creator": "@PaxSenix",
  "message": "Here is your job id and task url!",
  "ok": true,
  "jobId": 183829,
  "task_url": "https://example.com/task/19299"
}

Changes