Sign in

Edit - Remove Background

documented

Remove the background from an image.

POST /v2beta/stable-image/edit/remove-backgroundStable Imageno implementation yet0 runs
No 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}}"