{"uid":"cap_z8OrMmdBZh5mnDCGsxXsf","slug":"stablestudio-edit-3c888c8f","name":"StableStudio GPT Image 1.5 Edit","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.dev/api/generate/gpt-image-1.5/edit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"enum":["1024x1024","1536x1024","1024x1536","auto"],"type":"string","description":"Image dimensions (square, landscape, portrait, or auto)"},"images":{"type":"array","items":{"type":"string","format":"uri","description":"Image URL"},"minItems":1,"description":"Array of image URLs to edit"},"prompt":{"type":"string","minLength":1,"description":"A detailed description of the image you want to generate"},"quality":{"enum":["low","medium","high"],"type":"string","default":"high","description":"Output quality level (affects cost and detail)"},"background":{"enum":["transparent","opaque","auto"],"type":"string","default":"auto","description":"Background transparency for PNG output"},"moderation":{"enum":["low","auto"],"type":"string","default":"low","description":"Content moderation strictness"},"output_format":{"enum":["png","jpeg","webp"],"type":"string","default":"png","description":"Output image format"},"input_fidelity":{"enum":["high","low"],"type":"string","default":"high","description":"Fidelity to input images (high preserves more details)"},"output_compression":{"type":"number","default":0,"maximum":100,"minimum":0,"description":"Compression level (0-100, higher = smaller file)"}}},"responseSchema":{"type":"json","example":{"type":"gpt-image-1.5-edit","jobId":"cmpbmzaee000j04jrzx4f43tw","status":"pending","pollUrl":"https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw","success":true}},"example":{"request":{"size":"1024x1024","images":["https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/1280px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg"],"prompt":"add a warm sunset glow to the landscape and enhance the colors","quality":"medium","background":"opaque","output_format":"png","input_fidelity":"high"},"response":{"type":"gpt-image-1.5-edit","jobId":"cmpyyy6pl000904l925va4i2m","status":"pending","success":true}},"exampleRequest":{"size":"1024x1024","images":["https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/1280px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg"],"prompt":"add a warm sunset glow to the landscape and enhance the colors","quality":"medium","background":"opaque","output_format":"png","input_fidelity":"high"},"tags":["image","video","generation","nano-banana","gpt-image","grok","flux","sora","veo","seedance","wan","ai","media","x402"],"displayCostAmount":"10","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10/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_VaaMXGaToCqN01Qbwy4Mi","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_WxxIciHinntly-ryrS0TQ","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":"Edit existing images using GPT Image 1.5 with a text prompt, returning an async job for the edited result","exampleAgentPrompt":"Edit this product photo (https://example.com/shoe.png) using GPT Image 1.5 — remove the background so it's transparent, keep high fidelity to the original shoe, and output a square 1024x1024 PNG at high quality with the prompt: 'place the shoe on a clean white studio surface with soft shadows'.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a jobId (string), status set to 'pending', success flag true, and a type field. The agent must poll a separate job-status endpoint using the jobId to retrieve the final edited image URL once processing completes.","failureModes":["Missing required 'prompt' or 'images' fields returns a validation error","Invalid image URLs that cannot be fetched cause job failure","Prompt violates content moderation policy and is rejected","Unsupported image format or corrupted image URL","Payment of $10 USDC not fulfilled results in 402 response","Size or quality enum value not recognized returns 400"],"whenToPreferThis":"Choose this endpoint when you need to edit or modify one or more existing images using GPT Image 1.5's capabilities, especially when you want high fidelity to the source image, control over background transparency, or specific output formats like PNG with adjustable compression. Prefer this over generation endpoints when the user has a source image they want transformed rather than created from scratch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-06-02T23:07:08.676Z","lastSuccessfullyRanAt":"2026-06-02T23:07:08.676Z","lastHealthCheckAt":"2026-10-09T23:32:50.511Z","isFirstParty":false,"canonicalSlug":"stablestudio-edit-3c888c8f"}