{"uid":"cap_HepBOxvcOCrZ0jv2u95pP","slug":"stability-ai-structure-51594b94","name":"Stability AI Structure Control","description":"Generate an image that preserves the structural layout of a source image.","url":"https://stability-ai.mpp.paywithlocus.com/stability-ai/structure?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["image","prompt"],"properties":{"seed":{"type":"number","description":"Random seed"},"image":{"type":"string","description":"Structure reference image Send a public HTTPS URL (recommended; files up to 10 MiB) or base64/data URI. Hosted MPP JSON requests must stay below 8 KiB, so use a URL for larger files."},"prompt":{"type":"string","description":"Target image description"},"output_format":{"type":"string","description":"jpeg|png|webp"},"negative_prompt":{"type":"string","description":"Things to exclude"},"control_strength":{"type":"number","description":"Structure adherence 0–1 (default 0.7)"}},"additionalProperties":true},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["image-generation","stable-diffusion","upscaling","3d","ai","media"],"displayCostAmount":"0.057","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":2,"rating":{"score":"0.38","successRate":"0.20","reviews":2,"stars":"2.5","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.057/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.057","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.057","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-20JyHP33WKa27rvDO_hA","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.057","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Stability AI","brandSlug":"stability-ai","brandBaseUrl":"https://stability.ai","brandDocsUrl":"https://platform.stability.ai/docs/api-reference","whatItDoes":"Generates a new image that follows the structural layout of a reference image while matching a text prompt description","exampleAgentPrompt":"I have a reference photo of a room layout — use it as a structural guide to generate a new image that looks like a cozy Nordic cabin interior, described as 'warm wooden walls, fireplace, soft ambient lighting', excluding 'modern furniture, dark tones', with control strength set to 0.8, output as PNG.","exampleUseCases":[{"title":"Convert architectural sketches to photorealistic renders","prompt":"I've got rough sketches of a modern office layout — use them as structural guides to generate photorealistic images that look like 'sleek glass partitions, minimalist desks, natural daylight flooding through large windows', but avoid 'cluttered spaces, artificial lighting, traditional cubicles', keeping the composition control at 0.85 so the spatial arrangement stays true to my sketch."},{"title":"Generate fashion poses from reference models","prompt":"I have reference photos of my friend in different poses — use those poses and body positions as structural guides to create new fashion images where they're wearing 'elegant summer linen dress, flowing fabric, beach setting', while excluding 'formal attire, indoor backgrounds, heavy styling', with structural control set to 0.9 to keep the poses identical."},{"title":"Transform product mockup wireframes into lifestyle shots","prompt":"I've got wireframe mockups of how I want to arrange products on a shelf — use that layout structure to generate a beautiful lifestyle image showing 'artfully arranged ceramics, warm wood shelving, botanical plants, golden hour lighting', but don't include 'minimalist aesthetics, cold surfaces, empty spaces', with composition strength at 0.75 for a natural-looking product scene."}],"resultDescription":"Returns a generated image (JPEG, PNG, or WebP) that preserves the structural composition and layout of the reference image while visually matching the provided text prompt description.","failureModes":["Missing required 'image' field returns a 400 validation error","Missing required 'prompt' field returns a 400 validation error","Invalid control_strength value outside 0–1 range may cause a 422 error","Unsupported output_format value returns a validation error","Malformed or non-image input for 'image' field causes a processing error","Service timeout or 5xx error under high load"],"whenToPreferThis":"Use this endpoint when you need to generate a new image that faithfully follows the spatial structure, composition, or layout of an existing reference image while applying a completely different visual style or subject. Ideal for converting sketches, wireframes, pose references, or room layouts into fully realized images. Choose this over style transfer when structural fidelity to the reference is more important than style mimicry.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":5,"lastUsedAt":"2026-06-16T18:15:13.966Z","lastSuccessfullyRanAt":"2026-06-16T18:15:13.966Z","lastHealthCheckAt":"2026-10-13T00:40:10.038Z","isFirstParty":false,"canonicalSlug":"stability-ai-structure-51594b94"}