Skip to content
ActionStability AIUpdated May 2026

How do I search-and-replace in an image with Stability AI?

Short answer: Drop the "Stability AIStability 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.

FieldTypeRequiredDescription
Image URL
image_url
urlRequiredA fully qualified URL (https://...) for the image url.
Replacement Prompt
prompt
stringRequiredReplacement Prompt. Example: a red sports car
Search For
search_prompt
stringRequiredSearch For. Example: the blue sedan
Output Format
output_format
optionsOptionalOutput 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.

Send stability ai search and replace from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.