# Diffusers

Framework · https://godooo.ai/en/framework/diffusers

> Diffusers is an open-source AI framework from Hugging Face, launched in 2022, made for developers.

A PyTorch library of pretrained diffusion pipelines for generating images, video and audio.

Main jobs: Text to image. It is open source and free to use. You can use it on your own server, offline on your own machine and through an API.

## At a glance

- **Type:** [Framework](https://godooo.ai/en/browse#framework)
- **Made by:** [Hugging Face](https://godooo.ai/en/org/hugging-face)
- **Launched:** 2022
- **Galaxy:** [Image](https://godooo.ai/en/galaxy/image)
- **Open source:** Yes · Apache-2.0
- **Source code:** [github.com/huggingface/diffusers](https://github.com/huggingface/diffusers)
- **GitHub stars:** 34,595
- **How you run it:** Self-host · Runs offline · API
- **Made for:** Developers
- **Website:** [huggingface.co](https://huggingface.co/docs/diffusers)

## What it can do

- **[Text to image](https://godooo.ai/en/capability/text-to-image)** — main job, _proposed by a machine, awaiting calibration_. “Diffusers is a library of state-of-the-art pretrained diffusion models for generating videos, images, and audio.” (read on [huggingface.co](https://huggingface.co/docs/diffusers/index), 2026-09-24)
- **[Image editing](https://godooo.ai/en/capability/image-editing)** — supported, _proposed by a machine, awaiting calibration_. “Text-guided Image-to-Image ControlNet lllyasviel/sd-controlnet-canny Text-guided Image-to-Image InstructPix2Pix timbrooks/instruct-pix2pix” (read on [github.com](https://github.com/huggingface/diffusers), 2026-09-24)
- **[Model training](https://godooo.ai/en/capability/model-training)** — supported, _proposed by a machine, awaiting calibration_. “Whether you're looking for a simple inference solution or training your own diffusion models, 🤗 Diffusers is a modular toolbox that supports both.” (read on [github.com](https://github.com/huggingface/diffusers), 2026-09-24)
- **[Text to video](https://godooo.ai/en/capability/text-to-video)** — supported, _proposed by a machine, awaiting calibration_. “Diffusers is a library of state-of-the-art pretrained diffusion models for generating videos, images, and audio.” (read on [huggingface.co](https://huggingface.co/docs/diffusers/index), 2026-09-24)
- **[Upscaling and enhancement](https://godooo.ai/en/capability/upscaling)** — supported, _proposed by a machine, awaiting calibration_. “Super Resolution Stable Diffusion Upscale stabilityai/stable-diffusion-x4-upscaler” (read on [github.com](https://github.com/huggingface/diffusers), 2026-09-24)

## Alternatives

- **[Jimeng 即梦](https://godooo.ai/en/product/jimeng)** (Free plan + paid upgrades): Also does: Text to image, Text to video, Image editing; no code needed
- **[Krea](https://godooo.ai/en/product/krea)** (Free plan + paid upgrades): Also does: Text to image, Upscaling and enhancement, Image editing; no code needed
- **[Stable Diffusion WebUI](https://godooo.ai/en/product/stable-diffusion-webui)** (Open source, free): Also does: Image editing, Text to image, Upscaling and enhancement; no code needed
- **[Invoke](https://godooo.ai/en/product/invoke)** (Open source, free): Also does: Image editing, Text to image, Upscaling and enhancement; no code needed
- **[Adobe Firefly](https://godooo.ai/en/product/firefly)** (Free plan + paid upgrades): Also does: Text to image, Image editing, Text to video; no code needed
- **[ComfyUI](https://godooo.ai/en/product/comfyui)** (Open source, free): Also does: Text to image, Text to video, Upscaling and enhancement; no code needed
- **[Nano Banana](https://godooo.ai/en/model/nano-banana)**: Also does: Image editing, Text to image; no code needed
- **[Fooocus](https://godooo.ai/en/product/fooocus)** (Open source, free): Also does: Text to image, Image editing, Upscaling and enhancement; no code needed
- **[Leonardo.Ai](https://godooo.ai/en/product/leonardo)** (Free plan + paid upgrades): Also does: Text to image, Image editing, Upscaling and enhancement; no code needed
- **[Midjourney](https://godooo.ai/en/product/midjourney)** (Paid): Also does: Text to image, Image editing; no code needed
- **[DALL·E](https://godooo.ai/en/model/dall-e)**: Also does: Text to image, Image editing; no code needed
- **[FLUX](https://godooo.ai/en/model/flux)** (Open source, free): Also does: Text to image, Image editing; no code needed

## Connections

- **Applies:** [Diffusion Model](https://godooo.ai/en/concept/diffusion-model)
- **Built with:** [PyTorch](https://godooo.ai/en/framework/pytorch)

## Questions

### What is Diffusers?

Diffusers is an open-source AI framework from Hugging Face, launched in 2022, made for developers. A PyTorch library of pretrained diffusion pipelines for generating images, video and audio.

### Is Diffusers free?

Yes. Diffusers is open source (Apache-2.0) and free to use.

### Is Diffusers open source?

Yes, under the Apache-2.0 license. The source code is at https://github.com/huggingface/diffusers.

### Can Diffusers run locally?

Yes. Diffusers can run offline on your own machine. It can also be self-hosted on your own server.

### What can Diffusers do?

Main jobs: Text to image. It can also do: Image editing, Model training, Text to video, Upscaling and enhancement.

### Who makes Diffusers?

Diffusers is made by Hugging Face.

### What are open-source alternatives to Diffusers?

Open-source ones: Stable Diffusion WebUI, Invoke, ComfyUI, Fooocus and FLUX. Others: Jimeng 即梦, Krea, Adobe Firefly, Nano Banana, Leonardo.Ai and Midjourney.

## Sources

- [huggingface.co](https://huggingface.co/docs/diffusers/index) — checked 2026-09-24
- [github.com](https://github.com/huggingface/diffusers) — checked 2026-09-24
- [huggingface.co](https://huggingface.co/docs/diffusers)

---

Last updated 2026-09-24 · sources checked 2026-09-24 · Markdown version of https://godooo.ai/en/framework/diffusers. Every page on this site has one: add .md to its address.
