Back to directory

BentoDiffusion

A collection of example projects for self-hosting Stable Diffusion family models as HTTP services with BentoML, covering image and video generation from text prompts.

BentoDiffusion

BentoDiffusion is a collection of example projects showing how to serve models in the Stable Diffusion family with BentoML, for generating and manipulating images or video clips from text prompts. Each subdirectory covers a different model, such as SDXL Turbo or other Stable Diffusion variants, with its own service definition.

Starting the BentoML service inside a model's directory launches an HTTP service exposing endpoints such as text-to-image generation, reachable through a web UI, curl, or a Python client. A service can also be deployed to BentoCloud with a single command after logging in, or packaged as an OCI-compliant image for custom infrastructure.

Testing locally is recommended on an Nvidia GPU with at least 12 GB of VRAM. It is written in Python under the Apache-2.0 license.

More in Generative media

See all 146
  • Blender Copilot

    github.com

    A Copilot-style AI chat panel inside Blender that runs its agent loop in Blender's own Python process, executes the model's generated code against the live scene, and wraps every conversational turn in a single undo step.

  • A ComfyUI add-on that patches ComfyUI-GGUF so Qwen-Image-2.1 models can run fully as GGUF files, fixing a text-encoder mismatch and missing architecture detection until upstream support arrives.

  • A ComfyUI node that expands a short prompt into a full styled prompt, negative prompt and aspect ratio for Qwen-Image-2.1, using one of 17 photographic styles.