{"uid":"cap_aC3LyvgdDav93J6B4jX9K","slug":"stablestudio-generate-e6a3f170","name":"StableStudio GPT Image 1.5 Generate","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.dev/api/generate/gpt-image-1.5/generate?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)"},"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"},"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-generate","jobId":"cmpbmzaee000j04jrzx4f43tw","status":"pending","pollUrl":"https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw","success":true}},"example":{"request":{"size":"1024x1024","prompt":"A serene landscape with rolling green hills, a clear blue sky, and wildflowers in the foreground during golden hour","quality":"high","background":"opaque","moderation":"low","output_format":"png","output_compression":0},"response":{"type":"gpt-image-1.5-generate","jobId":"cmpq8z6x8000h04k0r59mq7as","status":"pending","success":true}},"exampleRequest":{"size":"1024x1024","prompt":"A serene landscape with rolling green hills, a clear blue sky, and wildflowers in the foreground during golden hour","quality":"high","background":"opaque","moderation":"low","output_format":"png","output_compression":0},"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_EFA1S4HB1Av6B6129BiTM","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_avY9bJZt7q9xHUDIw-ykH","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":"Generates a new image from a text prompt using GPT Image 1.5, returning a job ID for async result retrieval","exampleAgentPrompt":"Generate a high-quality 1024x1536 portrait image of a misty forest at sunrise with golden light filtering through ancient redwood trees — use PNG format with an opaque background and no compression.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success:true, a jobId string, status:'pending', and a type field. The agent must poll a separate job-status endpoint using the jobId to retrieve the final generated image once processing completes.","failureModes":["Invalid or empty prompt returns validation error","Unsupported size/quality/format enum value causes 400 bad request","Payment not provided or insufficient USDC balance returns 402 Payment Required","Job creation fails server-side, returning success:false","Rate limiting or capacity issues may cause 429 or 503 responses","Moderation rejection if prompt violates content policy even at low moderation setting"],"whenToPreferThis":"Choose this endpoint when you need GPT Image 1.5 quality specifically — it offers improved fidelity over GPT Image 1.0. Prefer over Flux 2 Pro when OpenAI's photorealistic style is desired. Use when transparent backgrounds, flexible output formats (PNG/JPEG/WebP), or variable compression are needed. Best for high-detail, prompt-faithful image generation with async job delivery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":6,"lastUsedAt":"2026-07-17T22:52:20.641Z","lastSuccessfullyRanAt":"2026-07-17T22:52:20.641Z","lastHealthCheckAt":"2026-10-11T04:29:40.517Z","isFirstParty":false,"canonicalSlug":"stablestudio-generate-e6a3f170"}