{"uid":"cap_oEfRiJ49ClikWZFo8ZkNj","slug":"stability-ai-sd3-image-generation-via-locus-x402-13ebeaee","name":"Stability AI SD3 Image Generation 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/generate-sd3","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"type":"string"},"seed":{"type":"number"},"image":{"type":"string"},"model":{"type":"string"},"prompt":{"type":"string"},"strength":{"type":"number"},"cfg_scale":{"type":"number"},"aspect_ratio":{"type":"string"},"output_format":{"type":"string"},"negative_prompt":{"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.029","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.029/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.029","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.029","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O5jbhTLyemALK_03yXQpg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.029","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts or transforms existing images using Stability AI's Stable Diffusion 3.x models, paid per-call via USDC micro-payment.","exampleAgentPrompt":"Generate a photorealistic image of a golden retriever running on a sunny beach at sunset, square format, in JPEG — use the sd3.5-large model and exclude any people from the image.","exampleUseCases":[{"title":"Blog post hero image generation","prompt":"Create a high-quality image for my tech blog post about quantum computing — something abstract and futuristic with glowing circuits and deep blue tones, 16:9 aspect ratio, PNG format, using the sd3.5-large model."},{"title":"Product concept art from description","prompt":"Generate a concept art image of a sleek minimalist coffee maker in matte black on a marble countertop, photorealistic style, square format, JPEG — I want it to look like a product ad, exclude clutter or text."},{"title":"Style-transfer from existing photo","prompt":"Take this photo I'm uploading and transform it into an oil painting style landscape, use image-to-image mode with strength 0.7, prompt 'impressionist oil painting, vivid colors, textured brushstrokes', PNG output."}],"resultDescription":"Returns a JSON object with a `data` field containing the generated image output, a `request` object with a UUID and a status polling URL, a `payment` object confirming the USDC amount settled, and a `success` boolean. The image data itself is accessible via the request or embedded in `data`.","failureModes":["Invalid or missing prompt — returns error indicating required field","Unsupported model identifier — returns validation error","Image-to-image mode called without providing an input image — returns parameter error","Insufficient USDC payment or payment failure — returns 402 Payment Required","Aspect ratio or output format value not recognized — returns validation error","Seed or cfg_scale out of valid range — returns parameter error","Content policy violation in prompt — returns moderation rejection"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call access to Stability AI's SD3.x family (including sd3.5-large, sd3.5-large-turbo, sd3.5-medium, sd3.5-flash) without managing API keys — the x402 USDC micro-payment model makes it ideal for agents that need to generate images on demand with crypto-native billing. Prefer this over direct Stability AI API calls when operating in a USDC/x402 payment context or when orchestrating multi-step agent workflows that need per-call cost accountability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:49.815Z","isFirstParty":false}