AI Nano Banana CreatorAPI

Google's state-of-the-art fast text-to-image generation model. Create stunning images from text prompts with support for extreme aspect ratios and multiple outputs.

image generation~11 credits/callv1.0.0

Endpoint

POST https://backend.aaddyy.com/api/ai/nano-banana-2

Authentication

Authorization: Bearer YOUR_API_KEY

Parameters

Required

promptstringrequired

Optional

num_imagesinteger
seedinteger
aspect_ratiostring
output_formatstring
safety_tolerancestring
sync_mode
limit_generations

Example Request

curl -X POST https://backend.aaddyy.com/api/ai/nano-banana-2 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A serene mountain landscape at sunset",
    "num_images": 1
  }'

Request Body

{
  "prompt": "A serene mountain landscape at sunset",
  "num_images": 1
}

Example Response

{
  "success": true,
  "message": "AI Nano Banana Creator completed successfully",
  "timestamp": "2026-04-01T22:35:47.163Z",
  "requestId": "req_mhic28995",
  "data": {
    "cost": 0.11,
    "remainingCredits": 9.95
  }
}

SDK

import { AADDYY } from 'aaddyy'

const client = new AADDYY()
const result = await client._request('POST', '/api/ai/nano-banana-2', {
  "prompt": "A serene mountain landscape at sunset",
  "num_images": 1
})

Install: npm install aaddyy

Pricing

~11 credits (~$0.11) per request

Rate Limits

10 requests per 1m

Burst: 3