anotherjesse / sdv2-preview

Stable Diffusion 2.0 Preview

  • Public
  • 28.4K runs
  • A100 (80GB)
  • 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

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

integer

Random seed. Leave blank to randomize the seed

Output

output
Generated in

Run time and cost

This model costs approximately $0.044 to run on Replicate, or 22 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 32 seconds. The predict time for this model varies significantly based on the inputs.

Readme

Model description

This is a first pass at converting the new Stable Diffusion 2.0 released November 23rd to work on replicate.

This is using the Base weights.

Caveats and recommendations

this is a quick hack to see how well the code posted by StableAI works on replicate. This will probably be replaced by an official version by the Replicate team.