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
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try 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