- Integrations
- /
- Stability AI
- /
- Actions
- /
- Stability AI Search and Replace
ActionStability AIUpdated May 2026
How do I search-and-replace in an image with Stability AI?
Short answer: Drop the "Stability AI → Stability AI Search and Replace" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Image URL image_url | url | Required | A fully qualified URL (https://...) for the image url. |
Replacement Prompt prompt | string | Required | Replacement Prompt. Example: a red sports car |
Search For search_prompt | string | Required | Search For. Example: the blue sedan |
Output Format output_format | options | Optional | Output Format. Options: PNG, JPEG, WebP |
Sample request
{"image_url": "e.g. https://example.com/path","prompt": "e.g. a red sports car","search_prompt": "e.g. the blue sedan","output_format": "{{trigger.output_format}}"}
Returns
{"seed": 42,"image": "base64_encoded_image_data","finish_reason": "SUCCESS"}
Use these fields in downstream nodes for routing, logging, or error handling.
Triggered by
Apps that pair well as the trigger for Stability AI Search and Replace.
Any of these apps can fire this action as part of a workflow.
FAQ
Questions about Stability AI Search and Replace.
What does the Stability AI Search and Replace action do in Stability AI?
Finds described objects in the image and replaces them with the prompted alternative. For "change the car to a bicycle" editing workflows.
What inputs does Stability AI Search and Replace require?
Required: Image URL, Replacement Prompt, Search For. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Stability AI returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Stability AI Search and Replace support batch operations?
Yes. Run Stability AI Search and Replace inside a Loop node to process arrays. Tiny Command handles Stability AI's rate limits automatically so you don't have to throttle manually.
More actions
Other Stability AI actions.
Action
Stable Image Ultra
Highest-quality Stable Diffusion variant. For hero marketing imagery and premium image-generation workflows that need peak quality.
ActionStability AI Generate Audio
Generates audio (music, sound effects) from text prompts via Stable Audio. For video production workflows that need sound design alongside imagery.
ActionStability AI Generate Image
Generates images using Stable Diffusion models (SD3.5, SDXL variants). For workflows that want first-party Stability access with their full feature set.
ActionStability AI Image to Video
Generates a short video from a static image using Stable Video Diffusion. For "still photo → animated reel" social content workflows.
ActionStability AI Inpaint
Mask-driven regeneration — replace masked region with new content matching a prompt. For "remove this object, replace with that" editing workflows.
ActionStability AI Remove Background
Strips background from an image. Alternative to Remove.bg with Stability's pricing/quality tradeoff.
Send stability ai search and replace from your workflows.
Triggered by anything in the catalog. Free tier available. No credit card.