tstramer / material-diffusion

Stable diffusion fork for generating tileable outputs using v1.5 model

  • Public
  • 2.3M runs
  • A100 (80GB)

Input

string
Shift + Return to add a new line

Input prompt

Default: ""

integer

Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits

Default: 512

integer

Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits

Default: 512

file

Inital image to generate variations of. Will be resized to the specified width and height

file

Black and white image to use as mask for inpainting over init_image. Black pixels are inpainted and white pixels are preserved. Tends to work better with prompt strength of 0.5-0.7. Consider using https://replicate.com/andreasjansson/stable-diffusion-inpainting instead.

number

Prompt strength when using init image. 1.0 corresponds to full destruction of information in init image

Default: 0.8

integer
(minimum: 1, maximum: 10)

Number of images to output. If the NSFW filter is triggered, you may get fewer outputs than this.

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. If you use an init image, PNDM will be used

Default: "K-LMS"

integer

Random seed. Leave blank to randomize the seed

Output

output
Generated in

Run time and cost

This model costs approximately $0.0042 to run on Replicate, or 238 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 4 seconds.

Readme

Model description

Intended use

Ethical considerations

Caveats and recommendations