Official

anhappdev / test

Image Inpainting

  • Public
  • 4K runs
  • A100 (80GB)

Input

string

The method to use

Default: "remove"

string
Shift + Return to add a new line

The prompt to guide the image generation. Use ++ to emphasize and -- to de-emphasize parts of the sentence

Default: "a photo of an astronaut++ riding a horse on mars"

string
Shift + Return to add a new line

Specify things to not see in the output

Default: ""

*file
Preview
image

The image which will be inpainted.Parts of the image will be masked out with `mask_image` and repainted according to `prompt`.

*file
Preview
mask_image

A black and white image to use as mask for inpainting over the image provided. White pixels in the mask will be repainted, while black pixels will be preserved

integer
(minimum: 1, maximum: 8)

Number of images to output. Higher number of outputs may cause OOM.

Default: 3

integer
(minimum: 1, maximum: 50)

The number of denoising steps. More denoising steps usually lead to a higher quality image at the expense of slower inference

Default: 30

number
(minimum: 1, maximum: 20)

Scale for classifier-free guidance

Default: 5

integer

Random seed. Leave blank to randomize the seed

boolean

Include the input image with mask overlay in the output

Default: false

Output

outputoutputoutputoutput
Generated in

This output was created using a different version of the model, anhappdev/test:c72d8651.

Run time and cost

This model costs approximately $0.023 to run on Replicate, or 43 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia A100 (80GB) GPU hardware. Predictions typically complete within 17 seconds.

Readme

Image inpaiting using Stable Diffusion