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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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