Stability Erase

Model Information

Display Name: Stability Erase

API Model ID: stability-ai/erase

Category: Image To Image

Description: The Erase service removes unwanted objects — blemishes on portraits, items on desks — using an image mask. The mask is supplied either as a separate black-and-white image or derived from the alpha channel of the input image. **Key Features:** - Clean object/blemish removal at up to 4 megapixels - Explicit mask or alpha-channel mask support - grow_mask control to soften edges **Best For:** - Portrait retouching and product clean-up - Removing distractions from photos

How to Use This Model

To use Stability Erase via the HInow.ai API, use the model ID: stability-ai/erase

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "stability-ai/erase",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0.075

Available Parameters

  • grow_mask: Grows the mask edges outward (0-20 px) and blurs the expanded area to smooth transitions. Try this if you see seams.
  • seed: Random seed for reproducibility. Use -1 (or omit) for a random seed.
  • output_format: Output image format. (Options: jpeg, png, webp)

Quick Reference

To use this model, set: "model": "stability-ai/erase"

Featured: No

Documentation: https://hinow.ai/models/stability-ai/erase

API Endpoint: https://api.hinow.ai/v1

Back to Models

Stability Erase

stability-ai/erase

$0.075
per image

About

The Erase service removes unwanted objects — blemishes on portraits, items on desks — using an image mask. The mask is supplied either as a separate black-and-white image or derived from the alpha channel of the input image.

Key Features:

  • Clean object/blemish removal at up to 4 megapixels
  • Explicit mask or alpha-channel mask support
  • grow_mask control to soften edges

Best For:

  • Portrait retouching and product clean-up
  • Removing distractions from photos

Capabilities

Image To Image

Parameters

grow_mask

Grows the mask edges outward (0-20 px) and blurs the expanded area to smooth transitions. Try this if you see seams.

seed

Random seed for reproducibility. Use -1 (or omit) for a random seed.

output_format

Output image format.

jpegpngwebp

Code Examples

curl -X POST https://api.hinow.ai/v1/images \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "stability-ai/erase",
    "prompt": "Transform this image into cyberpunk style",
    "images": [
      "https://example.com/image1.jpg",
      "data:image/png;base64,iVBORw0KGgo..."
    ],
    "parameters": {
      "grow_mask": "",
      "seed": "",
      "output_format": "jpeg"
    }
  }'