Stability Search and Replace

Model Information

Display Name: Stability Search and Replace

API Model ID: stability-ai/search-and-replace

Category: Image To Image

Description: Search and Replace is a mask-free inpainting service: instead of drawing a mask, you describe the object to replace via search_prompt. The service automatically segments that object and replaces it with what the prompt requests. **Key Features:** - No mask required — describe the target in words - Automatic object segmentation, output up to 4 megapixels - Style presets and negative prompts **Best For:** - Swapping objects (e.g. 'dog' -> 'golden retriever') - Quick edits without manual masking

How to Use This Model

To use Stability Search and Replace via the HInow.ai API, use the model ID: stability-ai/search-and-replace

API Request Example (Image Generation)


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

{
  "model": "stability-ai/search-and-replace",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0.075

Available Parameters

  • search_prompt: REQUIRED. Short description of the object to find and replace in the image.
  • grow_mask: Grows the auto-generated mask edges outward (0-20 px) and blurs them 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/search-and-replace"

Featured: No

Documentation: https://hinow.ai/models/stability-ai/search-and-replace

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

Back to Models

Stability Search and Replace

stability-ai/search-and-replace

$0.075
per image

About

Search and Replace is a mask-free inpainting service: instead of drawing a mask, you describe the object to replace via search_prompt. The service automatically segments that object and replaces it with what the prompt requests.

Key Features:

  • No mask required — describe the target in words
  • Automatic object segmentation, output up to 4 megapixels
  • Style presets and negative prompts

Best For:

  • Swapping objects (e.g. 'dog' -> 'golden retriever')
  • Quick edits without manual masking

Capabilities

Image To Image

Parameters

search_prompt

REQUIRED. Short description of the object to find and replace in the image.

grow_mask

Grows the auto-generated mask edges outward (0-20 px) and blurs them 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/search-and-replace",
    "prompt": "Transform this image into cyberpunk style",
    "images": [
      "https://example.com/image1.jpg",
      "data:image/png;base64,iVBORw0KGgo..."
    ],
    "parameters": {
      "search_prompt": "",
      "grow_mask": "",
      "negative_prompt": "",
      "style_preset": "3d-model",
      "seed": "",
      "output_format": "jpeg"
    }
  }'