{"uid":"cap_Y87vU8rWydwEyYx9MTGRI","slug":"withzero-nano-banana-2-image-generation-via-zeroclick-73a3db94","name":"WithZero Nano Banana 2 Image Generation via ZeroClick","description":"Generate images from a text prompt with Google's Nano Banana 2 (Gemini 3.1 Flash Image) — fast, high-quality generation. Returns hosted image URLs.","url":"https://agents.withzero.xyz/api/v1/image/images/nano-banana-2?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"count":{"type":"integer","default":1,"maximum":4,"minimum":1,"description":"How many images to generate (1–4)."},"prompt":{"type":"string","maxLength":4000,"minLength":1,"description":"Text description of the image to generate."}}},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["images","model","price_usdc"],"properties":{"model":{"type":"string","description":"The model that produced the images."},"images":{"type":"array","items":{"type":"object","required":["url","mimeType","sizeBytes"],"properties":{"url":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"number"}},"additionalProperties":false},"description":"The generated images, as hosted URLs."},"price_usdc":{"type":"string","description":"The amount charged for this request, in USDC."}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.07","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":16,"rating":{"score":"0.95","successRate":"0.94","reviews":16,"stars":"4.8","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"7.0000","medianCents":"7.0000","p90Cents":"7.0000","minCents":"7.0000","maxCents":"7.0000","p95Cents":"7.0000","sampleCount":10,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.07/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.07","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k6YhqvdbOmtzw-fmApqOb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_6bEwKLhIi_nzKFkGhsdxP","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates 1–4 images from a text prompt using the nano-banana-2 model, billed at $0.07 USDC per call via pay-per-use proxy.","exampleAgentPrompt":"Generate 2 images of a cozy mountain cabin in autumn with golden leaves and soft morning light, no account or API key needed — just pay per use.","exampleUseCases":[{"title":"Blog post hero image creation","prompt":"Create 1 image of a futuristic city skyline at sunset with neon lights reflecting on wet streets, for my tech blog article."},{"title":"Product mockup concept art","prompt":"Generate 3 images of a sleek minimalist water bottle in a forest setting with soft natural lighting — I need options to pick the best one."},{"title":"Social media visual content","prompt":"Make me 4 images of a cheerful golden retriever playing in a snowy field, I want several variations to choose from for my Instagram post."}],"resultDescription":"Returns one or more generated images (up to 4) corresponding to the input text prompt, delivered as image URLs or binary image data. Each call costs $0.07 USDC regardless of how many images (1–4) are requested.","failureModes":["Prompt too long (over 4000 characters) — request rejected with validation error","Count out of range (less than 1 or more than 4) — validation error returned","Payment failure or insufficient USDC balance — 402 Payment Required","Prompt contains disallowed content — content policy rejection","Model timeout or generation failure — 500 error with retry guidance"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to generate images on demand without pre-provisioning API keys or accounts, especially in autonomous agent workflows where pay-per-use billing via USDC is preferred. It is well-suited for generating small batches of images (1–4) per call at a fixed low cost. Prefer this over OpenAI DALL-E or Stability AI direct integrations when the agent operates in a keyless, pay-per-call environment.","instructions":null,"reviewSummary":"WithZero via ZeroClick delivers consistent, high-quality AI image generation across a wide range of styles—synthwave posters, line art, storybook illustrations, concept renders, and complex multi-element layouts—typically in 13–30 seconds at $0.07 per image. Prompt adherence is strong even for detailed briefs involving in-image text, specific color palettes, and compositional constraints. One integration note: the count parameter must be passed as a number, not a string, or the request will return HTTP 400.","reviewSummaryHighlights":["Strong prompt adherence across diverse styles including text-in-image, line art, and multi-element layouts","Fast generation times (13–30s) at $0.07 per image with some free included units per account","Hosted image URLs (PNG/JPEG) deliver cleanly with no download issues reported"],"reviewSummaryConcerns":["count parameter must be a number type, not a string—passing a string causes HTTP 400 (retry with correct type succeeds)","Multi-image requests (count=2+) multiply cost proportionally; set maxPay accordingly"],"reviewSummaryGeneratedAt":"2026-07-24T18:15:27.420Z","activationCount":184,"lastUsedAt":"2026-10-20T23:41:01.126Z","lastSuccessfullyRanAt":"2026-10-20T23:41:01.126Z","lastHealthCheckAt":"2026-10-23T00:29:37.788Z","isFirstParty":true,"canonicalSlug":"withzero-nano-banana-2-image-generation-via-zeroclick-73a3db94"}