Stability AI Search and Replace via Locus x402 is a paid API for AI agents from stability-ai.x402.paywithlocus.com, paid per call via x402, $0.057/call, status unknown (last checked 2026-09-15).
Finds a specific object in an image using a text search prompt and replaces it with a new AI-generated element described by a replacement prompt.
Generative AI platform for images, 3D models, and audio — text-to-image, editing, upscaling, and more.
Returns a JSON response with a success flag, a payment settlement record showing the USDC amount paid, and a request object containing a unique request ID and a status URL for tracking the async image processing result. The actual edited image data is nested within the data field.
POSThttps://stability-ai.x402.paywithlocus.com/stability-ai/search-and-replaceChoose this endpoint when you need to semantically find and replace a specific named object within an existing image without manual masking. It is ideal for e-commerce, real estate, fashion, or product photography workflows where targeted in-image object substitution is required. Prefer this over inpainting endpoints when you want the model to automatically detect the region to edit based on a text description rather than supplying a manual mask.
| Field | Type | Description |
|---|---|---|
| seed | number | |
| image | string | |
| prompt | string | |
| grow_mask | number | |
| output_format | string | |
| search_prompt | string | |
| negative_prompt | string |
{
"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
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"