{"uid":"cap_jBUpLbA8TkQviWFoprpyH","slug":"x402-cloud-ai-nano-banana-image-generation-ceeef941","name":"X402 Cloud AI Nano Banana Image Generation","description":"X402 Cloud AI Inference Endpoints is an agent-ready x402 API provider for Gemini, image, audio, video, realtime, and specialized AI inference workflows. We expose pay-per-call USDC endpoints designed for autonomous AI agents, application backends, trading bots, creative automation, and RAG systems with some of the lowest x402 AI inference prices available in the market.","url":"https://api.x402cloud.space/nano-banana-3","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"candidates":[{"content":{"parts":[{"inlineData":{"fileUri":"https://...","mimeType":"image/png"}}]}}]},"outputSchema":{"type":"object","properties":{"candidates":{"type":"array"}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gX3On9x-HhBscOAP3VA9o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates one to four images from a text prompt using AI inference, returning inline PNG data, with pay-per-call USDC pricing via x402","exampleAgentPrompt":"Generate 2 images of a neon-lit cyberpunk cityscape at night in 16:9 widescreen format using x402 Cloud's nano-banana image endpoint.","exampleUseCases":null,"resultDescription":"A JSON object with a 'candidates' array where each candidate contains content parts with inlineData including a fileUri (URL to the generated PNG image) and mimeType of 'image/png'. Up to 4 candidate images can be returned depending on the numberOfImages requested.","failureModes":["Invalid or missing prompt returns 400 bad request","Aspect ratio value not in allowed enum returns validation error","numberOfImages outside 1-4 range returns validation error","Insufficient USDC balance or x402 payment failure blocks the request","Prompt too long (over 4000 characters) triggers maxLength validation error","Service unavailability or upstream Gemini inference failure returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call AI image generation without a subscription, especially in autonomous agent pipelines, RAG systems, or creative automation workflows that require USDC micropayments via the x402 protocol. It is well-suited for applications needing Gemini-quality image generation at low per-call cost with support for multiple aspect ratios and batch image generation up to 4 images per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:58.542Z","isFirstParty":false}