Sign in

Edit - Erase

documented

Erase/remove elements from an image.

POST /v2beta/stable-image/edit/eraseStable 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/erase" \
  -X POST \
  -H "Authorization: Bearer {{STABILITY_API_KEY}}" \
  -H "Accept: image/*" \
  -F image=@{{$image_path}} \
  -F mask=@{{$mask_path}} \
  -F output_format={{$output_format}}
Edit - Erase · Stability AI · OpenIntegrations