Stability Inpaint

Model Information

Display Name: Stability Inpaint

API Model ID: stability-ai/inpaint

Category: Image To Image

Description: The Inpaint service intelligently fills or replaces masked areas of an image with new content driven by a prompt. The mask is supplied as a separate image or derived from the input's alpha channel. **Key Features:** - Prompt-driven fill/replace at up to 4 megapixels - Explicit mask or alpha-channel mask support - grow_mask, style presets and negative prompts **Best For:** - Replacing or adding objects within a scene - Localized edits that must blend seamlessly

How to Use This Model

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

API Request Example (Image Generation)


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

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

Pricing

  • total: $0.075

Available Parameters

  • grow_mask: Grows the mask edges outward (0-100 px) and blurs the expanded area to smooth transitions.
  • negative_prompt: Keywords describing what you do NOT wish to see in the output image. Advanced feature.
  • style_preset: Guides the image model towards a particular visual style. (Options: 3d-model, analog-film, anime, cinematic, comic-book, digital-art, enhance, fantasy-art, isometric, line-art, low-poly, modeling-compound, neon-punk, origami, photographic, pixel-art, tile-texture)
  • 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/inpaint"

Featured: No

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

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

Back to Models

Stability Inpaint

stability-ai/inpaint

$0.075
per image

About

The Inpaint service intelligently fills or replaces masked areas of an image with new content driven by a prompt. The mask is supplied as a separate image or derived from the input's alpha channel.

Key Features:

  • Prompt-driven fill/replace at up to 4 megapixels
  • Explicit mask or alpha-channel mask support
  • grow_mask, style presets and negative prompts

Best For:

  • Replacing or adding objects within a scene
  • Localized edits that must blend seamlessly

Capabilities

Image To Image

Parameters

grow_mask

Grows the mask edges outward (0-100 px) and blurs the expanded area to smooth transitions.

negative_prompt

Keywords describing what you do NOT wish to see in the output image. Advanced feature.

style_preset

Guides the image model towards a particular visual style.

3d-modelanalog-filmanimecinematiccomic-bookdigital-artenhancefantasy-artisometricline-artlow-polymodeling-compoundneon-punkorigamiphotographicpixel-arttile-texture
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/inpaint",
    "prompt": "Transform this image into cyberpunk style",
    "images": [
      "https://example.com/image1.jpg",
      "data:image/png;base64,iVBORw0KGgo..."
    ],
    "parameters": {
      "grow_mask": "",
      "negative_prompt": "",
      "style_preset": "3d-model",
      "seed": "",
      "output_format": "jpeg"
    }
  }'