tommoore515 / material_stable_diffusion

Stable diffusion fork for generating tileable outputs

  • Public
  • 389.6K runs
  • L40S
  • GitHub
  • License

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. Experimental feature, tends to work better with prompt strength of 0.5-0.7

number

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

Default: 0.8

integer

Number of images to output

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

integer

Random seed. Leave blank to randomize the seed

Output

output
Generated in

This example was created by a different version, tommoore515/material_stable_diffusion:56f26876.

Run time and cost

This model costs approximately $0.043 to run on Replicate, or 23 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 L40S GPU hardware. Predictions typically complete within 44 seconds. The predict time for this model varies significantly based on the inputs.

Readme

Stable diffusion fork for generating tileable outputs.

The model uses a circular convolution, so the model sees the image as if all the parallel edges were connected. Like a tube, but in both directions to form a torus:

diagram