{"uid":"cap_RLFy6uRGWTRNLlV0ClrGx","slug":"stability-ai-outpaint-via-locus-x402-5d28b769","name":"Stability AI Outpaint via Locus x402","description":"Generative AI platform for images, 3D models, and audio — text-to-image, editing, upscaling, and more.","url":"https://stability-ai.x402.paywithlocus.com/stability-ai/outpaint","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"up":{"type":"number"},"down":{"type":"number"},"left":{"type":"number"},"seed":{"type":"number"},"image":{"type":"string"},"right":{"type":"number"},"prompt":{"type":"string"},"creativity":{"type":"number"},"output_format":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.046","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":"$0.046/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.046","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.046","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Tq2_tzvdH-FaYdEwpATJC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.046","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extends an existing image outward in any direction (up, down, left, right) using AI-guided outpainting, paid per call via x402 USDC microtransaction.","exampleAgentPrompt":"Take this product photo and extend it 200 pixels on the left and 200 pixels on the right using the prompt 'clean white studio background', with creativity set to 0.5, and return the result as a PNG.","exampleUseCases":[{"title":"Widen a product photo background","prompt":"I have a product shot that's too narrow for our banner ad — can you extend it 300 pixels on each side using the prompt 'seamless white gradient studio background', creativity 0.4, and output as JPEG?"},{"title":"Add sky to a landscape photo","prompt":"Can you outpaint this landscape photo by adding 400 pixels on top with the prompt 'dramatic golden hour sky with clouds', creativity 0.7, and save it as a PNG?"},{"title":"Expand a portrait for a movie poster","prompt":"Take this portrait image and extend it 250 pixels down and 150 pixels on each side using the prompt 'cinematic dark atmospheric background', creativity 0.6, output as PNG."}],"resultDescription":"Returns a JSON object with a 'data' field containing the outpainted image result, a 'request' object with a unique request ID and a status URL for polling, a 'payment' object confirming the settled USDC amount (~$0.046), and a 'success' boolean. The actual image data is accessible via the request status URL.","failureModes":["Invalid or missing source image — returns error if 'image' field is absent or malformed","Pixel expansion values too large or negative — may return validation error","Creativity value outside 0–1 range — rejected with parameter error","Unsupported output format string — returns format validation error","Payment failure or insufficient USDC — x402 payment not settled, request rejected","Seed value out of valid range — may cause generation error","Network timeout on async result — status URL must be polled for completion"],"whenToPreferThis":"Choose this endpoint when you need to expand the borders of an existing image using AI-generated content guided by a text prompt — for example, widening product photos, extending landscape compositions, or adding headroom/legroom to portraits. It is distinct from text-to-image (no source image) or inpainting (filling interior regions); outpaint specifically adds new pixels outside the original canvas boundaries. Prefer this over generic image editors when you need seamless AI-generated fill that matches the original image's style and content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:36.656Z","isFirstParty":false}