{"uid":"cap_UOtoCq2uqdbTVCRmRGtYr","slug":"glianaai-nano-banana-2-1-text-to-image-generation-0fa982f0","name":"GlianaAI nano-banana-2.1 Text-to-Image Generation","description":"One endpoint for 120+ generative AI models plus market data, SEC filings and identity APIs. Pay per request in USDC, no signup, or top up a balance in rupiah.","url":"https://api.glianalabs.com/x402/nano-banana-2.1?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"model":"nano-banana-2.1","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.057","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.057/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.057","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.057","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_voVyI6sXtUNPSz0wb15ZX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.057","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an image from a text prompt using GlianaAI's nano-banana-2.1 model, returning a hosted media URL, paid per-call in USDC via x402","exampleAgentPrompt":"Use GlianaAI's nano-banana-2.1 model to generate an image of a futuristic cyberpunk cityscape at night with neon reflections on rain-soaked streets — pay with USDC and give me back the image URL.","exampleUseCases":[{"title":"One-off AI illustration for blog post","prompt":"Generate an image of a cozy autumn cabin in the woods at sunset using GlianaAI's nano-banana-2.1 model and give me the URL so I can drop it into my article."},{"title":"Rapid concept art for product pitch","prompt":"I need a quick AI-generated image of a sleek smartwatch floating in zero gravity for my pitch deck — use GlianaAI's nano-banana model and pay per call, no account needed."},{"title":"Social media visual on demand","prompt":"Create an image of a minimalist Japanese tea ceremony scene for my Instagram post using the nano-banana-2.1 model on GlianaAI and return the hosted image link."}],"resultDescription":"Returns a JSON object containing the model identifier ('nano-banana-2.1') and an output object with a 'url' field pointing to the hosted generated image at https://api.glianalabs.com/v1/media/<id>. The agent can use this URL directly to display, download, or embed the image.","failureModes":["Insufficient USDC balance or failed x402 payment — request rejected before processing","Invalid or missing 'input' body — returns schema validation error","Model overload or upstream inference failure — may return 5xx error with no image URL","Malformed bodyType enum value — request rejected at input validation","Generated image ID expires or media endpoint becomes unavailable after a period"],"whenToPreferThis":"Choose this endpoint when you need a single, on-demand text-to-image generation with no account setup, subscription, or API key — just a USDC micropayment via x402. It is ideal for agents orchestrating one-off creative tasks, prototyping visuals, or operating in environments where traditional API key management is impractical. Prefer nano-banana-2.1 specifically when the sibling model nano-banana-2 is insufficient or when you want the latest revision of this model family on GlianaAI.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T23:29:34.719Z","isFirstParty":false,"canonicalSlug":"glianaai-nano-banana-2-1-text-to-image-generation-0fa982f0"}