{"uid":"cap_PEYHYZHwmEhf_Nny1o_fJ","slug":"stability-ai-search-and-recolor-via-locus-x402-3f484bb5","name":"Stability AI Search and Recolor 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/search-and-recolor","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"number"},"image":{"type":"string"},"prompt":{"type":"string"},"output_format":{"type":"string"},"select_prompt":{"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.057","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.057/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.057","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.057","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PWgNYz4X7J3HXyDD1sqlE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.057","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Recolors or changes the appearance of a specific object in an image using text prompts, powered by Stability AI.","exampleAgentPrompt":"Take this product photo and recolor just the jacket — I want it to look forest green instead of black. Output as a PNG and exclude any changes to the background.","exampleUseCases":[{"title":"E-commerce product color variants","prompt":"I have a product photo of a sneaker and I need to show it in three color options. Can you recolor just the shoe body to bright red while keeping the sole and laces the same? Output it as a PNG."},{"title":"Interior design furniture recoloring","prompt":"Take this living room photo and change the sofa color to navy blue — leave everything else in the room the same. Avoid making it look washed out. Save as JPEG."},{"title":"Fashion lookbook color exploration","prompt":"I want to see how this dress looks in emerald green instead of the current beige — can you recolor just the dress in this image and give it back as a webp?"}],"resultDescription":"Returns a JSON response containing the recolored image data (in the requested format: jpeg, png, or webp), a success flag, payment settlement details in USDC, and a request ID with a status URL for tracking the async result.","failureModes":["Invalid or unreadable source image returns an error","select_prompt too vague — fails to isolate the target object correctly","prompt and select_prompt conflict, leading to unexpected recoloring results","Unsupported output_format value causes validation error","Payment failure due to insufficient USDC balance blocks the request","Rate limiting or Stability AI upstream errors cause transient failures"],"whenToPreferThis":"Choose this endpoint when you need to change the color or appearance of a specific object within an existing image using natural language descriptions, rather than regenerating the entire image. It is ideal for product photography color variants, fashion/design iteration, or any scenario where the composition should remain intact but an object's color needs to change. Prefer it over full image generation when you have a real source photo and want surgical edits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:01:49.063Z","isFirstParty":false}