# \[FOSS\] docker-diffusers-api (REST API)

**URL:** <https://discuss.huggingface.co/t/foss-docker-diffusers-api-rest-api/26742>\
**Category:** 🧨 Diffusers\
**Created:** [November 26, 2022, 9:45am UTC](https://discuss.huggingface.co/t/foss-docker-diffusers-api-rest-api/26742 "2022-11-26T09:45:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gadicc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/gadicc/32/12556_2.png) [@gadicc](https://discuss.huggingface.co/u/gadicc)\
**Post date:** [November 26, 2022, 9:45am UTC](https://discuss.huggingface.co/t/foss-docker-diffusers-api-rest-api/26742/1 "2022-11-26T09:45:53Z")

</div>

Hey all! Diffusers is magic ✨

I’m the author of **docker-diffusers-api** , an HTTP REST API around diffusers running in a docker container. You can run it anywhere, but it’s architected to run on banana.dev who offer _serverless_ GPU. It’s used in production for [https://kiri.art/](https://kiri.art/) (which is also open source).

> **[GitHub - kiri-art/docker-diffusers-api: Diffusers / Stable Diffusion in docker with a REST...](https://github.com/kiri-art/docker-diffusers-api)**
>
> Diffusers / Stable Diffusion in docker with a REST API, supporting various models, pipelines & schedulers.

## Features

- Pipelines: txt2img, img2img and inpainting in a single container
- Models: stable-diffusion, waifu-diffusion, and easy to add others (e.g. jp-sd)
- All model inputs supported, including setting nsfw filter per request
- _Permute_ base config to multiple forks based on yaml config with vars
- Optionally send signed event logs / performance data to a REST endpoint
- Can automatically download a checkpoint file and convert to diffusers.

The `dev` branch is a little ahead than `main` for now, with diffusers 0.9.0, SDv2 support, S3 support and dreambooth training.

Maybe it will help others here too.
