{"uid":"cap_VCXSpCS21qLgbz8Flg5HB","slug":"stablestudio-edit-adca3e8e","name":"StableStudio Nano Banana Pro Image Edit","description":"edit with Nano Banana Pro Returns an async job with a pollUrl. Poll the returned pollUrl with SIWX until the job is complete or failed.","url":"https://stablestudio.dev/api/generate/nano-banana-pro/edit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt","images"],"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":"object","required":["success","jobId","status","type","pollUrl"],"properties":{"type":{"type":"string"},"jobId":{"type":"string"},"status":{"type":"string","const":"pending"},"pollUrl":{"type":"string","format":"uri","description":"Poll this exact URL with SIWX until the job is complete or failed."},"success":{"type":"boolean","const":true}},"additionalProperties":false},"example":{"request":{"images":["data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAABAAEDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAv/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8VAFQEBAQAAAAAAAAAAAAAAAAAAAAX/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwCwAA8A/9k="],"prompt":"enhance the lighting and adjust the colors to be more vibrant","imageSize":"1K","aspectRatio":"1:1"},"response":{"type":"nano-banana-pro-edit","jobId":"cmqa9a4o8000904kzj2htrqr1","status":"pending","success":true}},"exampleRequest":{"images":["data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAABAAEDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAv/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8VAFQEBAQAAAAAAAAAAAAAAAAAAAAX/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwCwAA8A/9k="],"prompt":"enhance the lighting and adjust the colors to be more vibrant","imageSize":"1K","aspectRatio":"1:1"},"tags":["image","video","generation","nano-banana","gpt-image","grok","flux","sora","veo","seedance","wan","ai","media"],"displayCostAmount":"0.16","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":10,"rating":{"score":"0.89","successRate":"0.97","reviews":10,"stars":"4.6","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"24.0000","medianCents":"24.0000","p90Cents":"24.0000","minCents":"24.0000","maxCents":"24.0000","p95Cents":"24.0000","sampleCount":1,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.16/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"10","per":"call","confidence":"exact"},{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9gE-iPPjEDjFttIVBt4k_","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_Izr27ZotnYeTAeSRwvsHr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"StableStudio","brandSlug":"stablestudio","brandBaseUrl":"https://stablestudio.dev","brandDocsUrl":"https://stablestudio.dev","whatItDoes":"Edits existing images using Nano Banana Pro AI model, supporting up to 4K resolution output guided by a text prompt","exampleAgentPrompt":"Can you use Nano Banana Pro to edit this photo — replace the sky with a dramatic sunset and add cinematic lighting — output it in 4K at 16:9 aspect ratio? Here's the image: https://example.com/my-photo.jpg","exampleUseCases":null,"resultDescription":"Returns a JSON object with a job ID, job status set to 'pending', operation type, and a success flag. The agent must then poll or check the job using the job ID to retrieve the final edited image once processing completes.","failureModes":["Missing required 'prompt' field returns validation error","Missing or empty 'images' array returns validation error","More than 14 images provided exceeds maxItems limit","Invalid image URL format causes processing failure","Unsupported imageSize or aspectRatio enum value returns error","Insufficient USDC balance ($10 required) causes payment failure (402)","Image URL not accessible or blob URL expired causes fetch failure"],"whenToPreferThis":"Choose this endpoint when you need AI-powered image editing guided by a text prompt using the Nano Banana Pro model specifically, especially when high-resolution output (2K or 4K) is needed. Prefer this over GPT Image 1 edit when Nano Banana Pro's style or quality characteristics are desired. Use when you have 1–14 reference images and want to transform or modify them based on a textual description.","instructions":null,"reviewSummary":"Pay-per-generation image editing service that excels at identity-preserving composites, style transfers, and targeted edits — accurately extending canvases, adding elements, and rendering crisp in-image text across resolutions up to 5504×3072. Pricing runs slightly above listed rates in some cases, and occasional backend failures (Google AI timeouts) can result in charges on failed jobs. Poll URLs require SIWX wallet authentication and must be called with zero-fetch rather than standard curl.","reviewSummaryHighlights":["Strong identity and composition preservation across iterative edits and multi-reference inputs","Handles complex tasks well: canvas extension, text-in-image, style transfer, and face reference matching","Fast async jobs — most complete in 22–120 seconds at low per-generation cost"],"reviewSummaryConcerns":["Actual charges sometimes exceed listed prices (e.g. 0.16 USDC billed vs. 0.13 listed)","Failed jobs due to upstream AI timeouts may still be charged","Occasional hallucinated elements added beyond prompt scope (extra shapes, unasked-for details)"],"reviewSummaryGeneratedAt":"2026-11-04T22:15:09.077Z","activationCount":68,"lastUsedAt":"2026-11-04T20:16:01.184Z","lastSuccessfullyRanAt":"2026-11-04T20:16:01.184Z","lastHealthCheckAt":"2026-12-02T12:05:13.178Z","isFirstParty":false,"canonicalSlug":"stablestudio-edit-adca3e8e"}