daanelson / speedy-stable-diffusion-inpainting

Filling in images quickly with Stable Diffusion and AITemplate

  • Public
  • 324 runs
  • A100 (80GB)
  • License

Input

string
Shift + Return to add a new line

Input prompt

Default: "a vision of paradise. unreal engine"

*file
Preview
image

Initial image to generate variations of. Will be resized to height x width

*file
Preview
mask

Black and white image to use as mask for inpainting over the image provided. White pixels are inpainted and black pixels are preserved.

integer
(minimum: 64, maximum: 1024)

Height of generated image in pixels. Needs to be a multiple of 64

Default: 512

integer
(minimum: 64, maximum: 1024)

Width of generated image in pixels. Needs to be a multiple of 64

Default: 512

string
Shift + Return to add a new line

Specify things to not see in the output

integer
(minimum: 1, maximum: 4)

Number of images to generate.

Default: 1

integer
(minimum: 1, maximum: 500)

Number of denoising steps

Default: 50

number
(minimum: 1, maximum: 20)

Scale for classifier-free guidance

Default: 7.5

string

Choose a scheduler.

Default: "DPMSolverMultistep"

integer

Random seed. Leave blank to randomize the seed

Output

output
Generated in

Run time and cost

This model costs approximately $0.0035 to run on Replicate, or 285 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 3 seconds.

Readme

This is an accelerated version of Stable-Diffusion-Inpainting, compiled using AITemplate. For more details about the model, see the original version on Replicate.