Edit - Search and Replace
documentedReplace specific content or features within an image.
POST /v2beta/stable-image/edit/search-and-replaceStable Imageno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.stability.ai/v2beta/stable-image/edit/search-and-replace" \
-X POST \
-H "Authorization: Bearer {{STABILITY_API_KEY}}" \
-H "Accept: application/json" \
-F "image=@{{$image_path}};type=image/png" \
-F "prompt=Replace {{$search_prompt}} with {{$replace_prompt}}" \
-F "output_format={{$output_format}}"