Run the Stable Diffusion releases in a Docker container with txt2img, img2img, depth2img, pix2pix, upscale4x, and inpaint. Run the Stable Diffusion releases on Huggingface in a GPU-accelerated Docker container. By default, the pipeline uses the full model and weights which requires a CUDA capable GPU with 8GB+ of VRAM. It should take a few seconds to create one image. On less powerful GPUs you may need to modify some of the options; see the Examples section for more details. If you lack a suitable GPU you can set the options --device cpu and --onnx instead. Since it uses the model, you will need to create a user access token in your Huggingface account. Save the user access token in a file called token.txt and make sure it is available when building the container. Create an image from an existing image and a text prompt. Modify an existing image with its depth map and a text prompt.

Features

  • Text-to-Image (txt2img)
  • Depth-Guided Diffusion (depth2img)
  • Image-to-Image (img2img)
  • Instruct Pix2Pix (pix2pix)
  • Image Upscaling (upscale4x)
  • Diffusion Inpainting (inpaint)

Project Samples

Project Activity

See All Activity >

License

Affero GNU Public License

Follow Stable Diffusion in Docker

Stable Diffusion in Docker Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Stable Diffusion in Docker!

Additional Project Details

Operating Systems

Windows

Programming Language

Python

Related Categories

Python AI Image Generators, Python Generative AI, Python Inpainting Tool

Registered

2023-03-22