Edit - Remove Background
documentedRemove the background from an image.
POST /v2beta/stable-image/edit/remove-backgroundStable 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/remove-background" \
-X POST \
-H "Authorization: Bearer {{STABILITY_API_KEY}}" \
-H "Accept: image/*" \
-F "image=@{{$image_path}};type={{$image_mime_type}}" \
-F "output_format={{$output_format}}"