{"version":"2.0.0","service":{"name":"nanobanana-x402","description":"Paid Gemini image generation and image editing API. Pay USDC on Base and receive base64 PNG output.","contact":"jadedfocus@gmail.com","operator":"Royal Agentic Enterprises"},"endpoints":{"/api/generate-image":{"method":"POST","accepts":{"scheme":"exact","price":"$0.01","network":"eip155:8453","payTo":"0x9b8a2786a3df7a7837ccfc4e792e9eb90a36f72f"},"description":"Generate an AI image from a text prompt using Google Gemini 3.1 Flash Image. Returns base64-encoded PNG. Optional aspectRatio (1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 4:5, 5:4, 21:9). Backed by Google's Gemini image preview model — fast, high-quality, supports text rendering inside images.","mimeType":"application/json"},"/api/edit-image":{"method":"POST","accepts":{"scheme":"exact","price":"$0.01","network":"eip155:8453","payTo":"0x9b8a2786a3df7a7837ccfc4e792e9eb90a36f72f"},"description":"Edit an existing image with a natural-language prompt using Google Gemini. Send the source image as base64 + a prompt describing the edit. Returns the edited image as base64-encoded PNG. Supports style transfer, object addition/removal, color shifts, scene modifications.","mimeType":"application/json"}}}