Skip to content

hackclub/simple-stable-diffusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

simple stable diffusion ๐ŸŒ„

get stable diffusion running in <10 minutes in colab:

Open In Colab

this notebook contains:

  1. the absolute minimum code needed to generate images with stable diffusion
  2. tips for writing good prompts

currently this notebook only works on colab and not when run locally; a pr changing this would be appreciated

what is stable diffusion?

stable diffusion is a text-to-image model similar to dallยทe 2; that is, it inputs a text description and uses ai to output a matching image

for instance, the following image was generated with stable diffusion using the prompt gallant thoroughbred, a surrealist painting by Andy Warhol, mystical, ominous:

gallant thoroughbred, a surrealist painting by Andy Warhol, mystical, ominous

it is generally considered to be of similar quality to dallยทe, but is:

  1. more computationally efficient
  2. available to the public (ie can be run locally, not just through openai's playground)

a more in-depth explanation of stable diffusion's architecture can be found in this notebook or here

About

๐ŸŒ„ Get Stable Diffusion running in less than 10 minutes in Colab!

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published