{"uid":"cap_H32-OcbydbHLJxRiERY4k","slug":"x402-dev-dopamint-ai-eb9e03a7","name":"dopamint nano-banana-pro Image Generation","description":"Generate image using nano-banana-pro","url":"https://x402-dev.dopamint.ai/api/ai/generations/images/nano-banana-pro","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"The text prompt to generate an image from."},"sync_mode":{"type":"boolean","description":"If `True`, the media will be returned as a data URI and the output data won't be available in the request history."},"num_images":{"type":"integer","description":"The number of images to generate."},"resolution":{"type":"\"1K\" | \"2K\" | \"4K\"","description":"The resolution of the image to generate."},"aspect_ratio":{"type":"\"21:9\" | \"16:9\" | \"3:2\" | \"4:3\" | \"5:4\" | \"1:1\" | \"4:5\" | \"3:4\" | \"2:3\" | \"9:16\"","description":"The aspect ratio of the generated image."},"output_format":{"type":"\"jpeg\" | \"png\" | \"webp\"","description":"The format of the generated image."}}},"responseSchema":{"jobId":{"type":"string","description":"Unique job identifier"},"message":{"type":"string","description":"Human-readable message with status tracking URL"},"statusUrl":{"type":"string","description":"URL to check job status"},"timestamp":{"type":"string","description":"ISO 8601 timestamp of the response"},"statusCode":{"type":"integer","description":"HTTP status code"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.2025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H1NLXJwLiPKw8LY9fqF3n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2025","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from a text prompt using the nano-banana-pro model, returning a job ID and status URL for async retrieval","exampleAgentPrompt":"Generate an image of a futuristic neon-lit cityscape at night using nano-banana-pro, 2K resolution, 16:9 aspect ratio, PNG format.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a unique jobId, a human-readable message with a status tracking URL, the statusUrl itself for polling job completion, a timestamp, and an HTTP status code. The image is not returned directly — the agent must poll the statusUrl to retrieve the final result.","failureModes":["Missing required 'prompt' field returns a 400 validation error","Invalid resolution value (e.g. '8K') returns a schema validation error","Invalid aspect_ratio value returns a validation error","Payment failure or insufficient USDC balance returns a 402 Payment Required error","Model unavailable or overloaded may return 503 or timeout","Polling statusUrl may return pending status if job is still processing"],"whenToPreferThis":"Choose this endpoint when you need images generated by the nano-banana-pro model specifically, which may differ in style or quality from nano-banana or stable-diffusion-v35-large siblings on the same host. Prefer this when you need async job-based generation with status polling, support for up to 4K resolution, and multiple aspect ratios including portrait and landscape. Use this over the nano-banana variant when you want the pro-tier model quality at the $0.20 price point.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:11.900Z","isFirstParty":false}