Gemini
Gemini Image

wowztools/nano-banana-2-square

Model ID: wowztools/nano-banana-2-square
Family
Gemini
Context
Not specified
Per request
0.00129 USD
Requests
0
Success
Tokens
0
Uptime
24h agoNow
7 days agoNow

Pricing

Per request
0.00129 USD
Supported endpoints
https://api.xah.io/v1/images/generations
Method POST · application/json
Auth Bearer token (API key)
Rate limit 60 req/min
API kinds Image

Share

curl 'https://api.xah.io/v1/images/generations' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "gemini-3.1-flash-image-square",
    "prompt": "a red apple on a wooden table, studio light, minimal background",
    "has_images": false
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/images/generations', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "gemini-3.1-flash-image-square",
    "prompt": "a red apple on a wooden table, studio light, minimal background",
    "has_images": false
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/images/generations'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "gemini-3.1-flash-image-square",
    "prompt": "a red apple on a wooden table, studio light, minimal background",
    "has_images": false
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "gemini-3.1-flash-image-square",
    "prompt": "a red apple on a wooden table, studio light, minimal background",
    "has_images": false
}
Reviews & comments
0.0 / 0 reviews
Loading reviews...
Contact Support
We are always ready to help you