{"uid":"cap_zzcSJCxoVG91KaV-nihwI","slug":"x402-dev-dopamint-ai-60e56e30","name":"Dopamint AI Image Generation (nano-banana)","description":"Generate image using nano-banana","url":"https://x402-dev.dopamint.ai/api/ai/generations/images/nano-banana","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"seed":{"type":"integer","description":"The same seed and the same prompt given to the same version of the model will output the same image every time.\n        "},"prompt":{"type":"string","description":"The text prompt to generate an image from."},"sync_mode":{"type":"boolean","description":"If set to true, the function will wait for the image to be generated and uploaded before returning the response. This will increase the latency of the function but it allows you to get the image directly in the response without going through the CDN.\n        "},"num_images":{"type":"integer","description":"The number of images 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."},"limit_generations":{"type":"boolean","description":"Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate."}}},"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.0527","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.0527/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0527","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0527","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GXEwZhaKZE2-oDRIhQZfW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0527","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using the nano-banana model, returning a job ID and status URL for async retrieval","exampleAgentPrompt":"Generate an image of a futuristic city at sunset with flying cars, in 16:9 aspect ratio, output as PNG, using seed 42 so I can reproduce it later.","exampleUseCases":null,"resultDescription":"Returns a job ID, a status tracking URL, a human-readable message with the URL, an ISO 8601 timestamp, and an HTTP status code. The image itself must be fetched asynchronously via the returned statusUrl once the job completes.","failureModes":["Missing required 'prompt' field returns a validation error","Invalid aspect_ratio value (not in allowed enum) returns a bad request error","Model unavailability or overload may delay or fail job creation","Payment not completed or insufficient USDC balance returns a payment-required error","Invalid output_format value returns a bad request","Requesting more images than allowed may be silently capped when limit_generations is true"],"whenToPreferThis":"Choose this endpoint when you need fast, cost-effective image generation using the nano-banana model specifically, and you are comfortable with an async job-polling pattern. Prefer nano-banana-pro or stable-diffusion-v35-large siblings if you need higher quality or different stylistic output. This is a good fit for lightweight creative tasks or when cost per generation matters ($0.0527 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:40:26.820Z","isFirstParty":false}