{"uid":"cap_S52pNAEn1nNhYOf4qpPfp","slug":"stablestudio-gpt-image-1-5-generate-6e476f97","name":"StableStudio GPT-Image-1.5 Generate","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.io/api/generate/gpt-image-1.5/generate","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":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_fihznVJ7aCocdFVwsUhK-","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 a single AI image from a text prompt using GPT-Image-1.5, with configurable resolution, aspect ratio, format, and safety tolerance, billed per generation.","exampleAgentPrompt":"Generate an image of a futuristic cityscape at sunset with flying cars and neon lights, in 16:9 widescreen format at 2MP resolution, PNG format, with strict safety settings — use StableStudio's pay-per-generation GPT-Image-1.5 model.","exampleUseCases":[{"title":"Create product mockup images for e-commerce","prompt":"I need you to generate 3 product images for my online store — a minimalist wooden desk lamp in studio lighting, a leather crossbody bag in natural daylight, and the same bag displayed on a model. Use 1MP square format for consistency with our website gallery, and keep safety settings moderate."},{"title":"Generate custom artwork for marketing campaigns","prompt":"Make me a vibrant illustration of a coffee shop scene with people working on laptops, outdoor seating, and lush plants. I want it in 16:9 landscape format at 2MP so we can use it as a website banner. Keep the style modern and slightly whimsical, with strict content filtering."},{"title":"Produce reference images for design brainstorming","prompt":"Generate 2 different concept images for a sci-fi video game environment — one showing an alien forest with bioluminescent plants, another showing a futuristic underground city. Both in 4MP high resolution, square format, so our design team can use them as detailed reference material during prototyping."}],"resultDescription":"Returns a JSON object with a jobId, status ('pending'), and success flag. The generation is asynchronous — the agent must poll or retrieve the result using the jobId to get the final image.","failureModes":["Invalid or empty prompt returns validation error","Unsupported resolution or aspect ratio enum value returns 400","Safety tolerance out of range (outside 1-5) returns validation error","Payment of $10 USDC not completed or rejected causes request to fail","Output quality outside 0-100 range causes validation error","Server-side generation failure may return error status on job polling"],"whenToPreferThis":"Choose this endpoint when you need high-quality AI image generation using OpenAI's GPT-Image-1.5 model with flexible resolution (up to 4MP), multiple aspect ratios, and no subscription commitment — ideal for one-off or low-volume image creation tasks billed at $10 USDC per image.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:39:41.517Z","isFirstParty":false}