{"uid":"cap_h4kfCwss9SL5LV7irsqiB","slug":"stablestudio-gpt-image-1-5-edit-5672b272","name":"StableStudio GPT-Image-1.5 Edit","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.io/api/generate/gpt-image-1.5/edit","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":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_MPUNRPfO0ywZm6tQrKlla","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":"Generates or edits AI images using the GPT-Image-1.5 model with configurable resolution, aspect ratio, and safety settings, billed per generation via x402 micropayment.","exampleAgentPrompt":"Generate a photorealistic image of a misty mountain lake at sunrise using StableStudio — make it 4MP resolution in a 16:9 landscape ratio, output as a PNG, and use seed 42 so it's reproducible.","exampleUseCases":null,"resultDescription":"A JSON object with a job ID, generation status ('pending'), type identifier ('gpt-image-1.5-edit'), and a success flag. The agent must poll or await the job to retrieve the final image URL once generation is complete.","failureModes":["Missing or empty prompt — returns validation error (prompt is required, minLength 1)","Payment failure — x402 payment of $10 USDC not fulfilled, generation not started","Invalid resolution enum value — must be one of '0.5 MP', '1 MP', '2 MP', '4 MP'","Invalid aspect_ratio enum — must match one of the nine supported ratios","Safety tolerance out of range — must be integer 1–5","Output quality out of range — must be integer 0–100","Prompt exceeds maxLength of 10,000 characters","Job creation succeeds but asynchronous generation fails — jobId returned but image never produced"],"whenToPreferThis":"Choose this endpoint when you need on-demand AI image generation powered by GPT-Image-1.5 without a subscription — ideal for agents that generate images infrequently or at variable volumes. Prefer it when fine control over resolution (up to 4MP), aspect ratio, seed reproducibility, and output format is needed. The x402 pay-per-call model ($10 USDC) makes it suitable for sporadic or bursty workloads without commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:47:52.844Z","isFirstParty":false}