Skip to main content

Unified Stable Diffusion pipeline for diffusers

Project description

diffusion-ui-backend

This repository provides a unified Stable Diffusion pipeline to generate images using the same pipeline with diffusers for:

  • text-to-image
  • image-to-image
  • inpainting

This pipeline cannot be imported directly from diffusers because of the diffusers philosophy.

and a gradio interface to provide an API to this pipeline.

Installation

pip install diffusionui

Usage

from diffusionui import StableDiffusionPipeline

Then use any of the examples from diffusers by replacing StableDiffusionImg2ImgPipeline and StableDiffusionInpaintPipeline by StableDiffusionPipeline.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diffusionui-0.0.1.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

diffusionui-0.0.1-py2.py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page