Skip to main content

STABILITY_AI_SEARCH_AND_REPLACE

Search and replace regions or objects within an image using StabilityAI. Provide a prompt and a search_prompt to locate and replace visual elements.

At a glance

  • Category LLM
  • Aliases SERVICE_STABILITY_AI_SEARCH_AND_REPLACE
  • Version: 1.0.4
  • Applications: all
  • Scope: all
  • Default Service: STABILITY_AI

Config Options

NameDescriptionDefaultRequiredResolvedConstraintsConditional Rules
promptPrompt describing replacement target or desired resultNonefalsetrueNoneNone
search_promptPrompt describing what to search for in the imageNonefalsetrueNoneNone

Inputs

TypeDescriptionDefaultRequiredResolved
blobInput image blob to processNonetruefalse
imageNameInput image nameNonefalsefalse

Outputs

TypeDescriptionOptional
blobProcessed image blobfalse

Examples

Search and replace in an image

- step: STABILITY_AI_SEARCH_AND_REPLACE
search_prompt: "replace red car"
prompt: "a blue car instead"

See Also

General Resources: