{"uid":"cap_wySbQ8wBGIKEjxGYZmetC","slug":"stablestudio-nano-banana-pro-edit-25277880","name":"StableStudio Nano Banana Pro Edit","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.io/api/generate/nano-banana-pro/edit","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string","format":"uri","description":"URL of an image"},"maxItems":14,"minItems":1,"description":"Array of image URLs to use as reference for editing (1-14 images)"},"prompt":{"type":"string","minLength":1,"description":"A detailed description of the image you want to generate"},"imageSize":{"enum":["1K","2K","4K"],"type":"string","default":"1K","description":"The resolution of the generated image"},"aspectRatio":{"enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"type":"string","default":"1:1","description":"The aspect ratio of the generated image"}}},"responseSchema":{"type":"json","example":{"type":"nano-banana-pro-edit","jobId":"cmpbmzaee000j04jrzx4f43tw","status":"pending","pollUrl":"https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw","success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","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":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0axhO1avw9OZcEHVJPh5c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Asynchronously generates an edited AI image using the nano-banana-pro model, returning a job ID for polling the result.","exampleAgentPrompt":"Generate a 4MP photo-realistic image of a misty mountain forest at sunrise in 16:9 widescreen format as a PNG, with prompt upsampling turned on so the model can enhance the description.","exampleUseCases":null,"resultDescription":"A JSON object containing: a job type identifier ('nano-banana-pro-edit'), a jobId string for polling the result, a status field (initially 'pending'), and a success boolean. The agent must use the jobId to retrieve the final generated image once processing completes.","failureModes":["Missing required 'prompt' field returns a 400 validation error","Prompt exceeding 10,000 characters is rejected","Invalid enum value for resolution, aspect_ratio, or output_format returns a schema validation error","output_quality outside 0-100 range is rejected","safety_tolerance outside 1-5 range is rejected","Insufficient USDC balance or failed x402 payment causes a 402 Payment Required error","Model overload or service unavailability returns a 503 or timeout","Job ID polling may be required before the image is ready; status remains 'pending' for variable durations"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use AI image generation without a subscription, specifically using the nano-banana-pro edit model. It is well-suited for agents that generate images on demand, need fine control over resolution (up to 4MP), aspect ratio, format, and safety settings, and want deterministic outputs via seed. Prefer this over subscription-based image APIs when cost predictability per generation is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:07:04.158Z","isFirstParty":false}