stability-ai/stable-diffusion-inpainting 🖼️🔢❓📝✓ → 🖼️
About
Fill in masked parts of images with Stable Diffusion

Example Output
Prompt:
"Face of a yellow cat, high resolution, sitting on a park bench"
Output

Performance Metrics
2.71s
Prediction Time
2.75s
Total Time
All Input Parameters
{ "mask": "https://replicate.delivery/pbxt/HtGQBqO9MtVbPm0G0K43nsvvjBB0E0PaWOhuNRrRBBT4ttbf/mask.png", "image": "https://replicate.delivery/pbxt/HtGQBfA5TrqFYZBf0UL18NTqHrzt8UiSIsAkUuMHtjvFDO6p/overture-creations-5sI6fQgYIuo.png", "prompt": "Face of a yellow cat, high resolution, sitting on a park bench", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 25 }
Input Parameters
- mask (required)
- Black and white image to use as mask for inpainting over the image provided. White pixels are inpainted and black pixels are preserved.
- seed
- Random seed. Leave blank to randomize the seed
- image (required)
- Initial image to generate variations of. Will be resized to height x width
- width
- Width of generated image in pixels. Needs to be a multiple of 64
- height
- Height of generated image in pixels. Needs to be a multiple of 64
- prompt
- Input prompt
- scheduler
- Choose a scheduler.
- num_outputs
- Number of images to generate.
- guidance_scale
- Scale for classifier-free guidance
- negative_prompt
- Specify things to not see in the output
- num_inference_steps
- Number of denoising steps
- disable_safety_checker
- Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)
Output Schema
Output
Example Execution Logs
Using seed: 62372 0%| | 0/26 [00:00<?, ?it/s] 8%|▊ | 2/26 [00:00<00:01, 14.22it/s] 15%|█▌ | 4/26 [00:00<00:01, 15.62it/s] 23%|██▎ | 6/26 [00:00<00:01, 15.98it/s] 31%|███ | 8/26 [00:00<00:01, 16.07it/s] 38%|███▊ | 10/26 [00:00<00:00, 16.14it/s] 46%|████▌ | 12/26 [00:00<00:00, 16.29it/s] 54%|█████▍ | 14/26 [00:00<00:00, 16.39it/s] 62%|██████▏ | 16/26 [00:00<00:00, 16.40it/s] 69%|██████▉ | 18/26 [00:01<00:00, 16.42it/s] 77%|███████▋ | 20/26 [00:01<00:00, 16.49it/s] 85%|████████▍ | 22/26 [00:01<00:00, 16.31it/s] 92%|█████████▏| 24/26 [00:01<00:00, 16.37it/s] 100%|██████████| 26/26 [00:01<00:00, 16.47it/s] 100%|██████████| 26/26 [00:01<00:00, 16.26it/s]
Version Details
- Version ID
95b7223104132402a9ae91cc677285bc5eb997834bd2349fa486f53910fd68b3
- Version Created
- February 14, 2024