Skip to main content

Diffusion WebUI: Stable Diffusion + ControlNet + Inpaint

teaser

Installation

git clone https://github.com/kadirnar/dress_diff
cd dress_diff
pip install -r requirements.txt
pip install -e.

Web Demo Usage

from dress_diff import app

app()

Text2Image API Usage

from dress_diff import StableDiffusionText2ImageGenerator, get_scheduler_list, scheduler_list

generate = StableDiffusionText2ImageGenerator().generate_image(
    model_path="dress_diff",
    prompt="dress",
    negative_prompt="bad,ugly",
    num_images_per_prompt=1,
    scheduler=scheduler_list[0],
    guidance_scale=7.5,
    num_inference_steps=50,
    height=512,
    width=512,
    seed_generator=0 # 0 for random seed
)

Metadata

Release files for dress-diff 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dress-diff 0.1.0
File Size Uploaded
dress_diff-0.1.0.tar.gz 15.5 kB Details

Release files / dress_diff-0.1.0.tar.gz

Download URL dress_diff-0.1.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
52c22bad020c5c2dd384c59440096392f4b4c95f8a04764fa93f75381832a666
BLAKE2b-256 checksum
How to use checksums
d020cf04e7e309da9b7bde1e5cbf3e385dcce6fea25e6d8b8507e4cd4470ccd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page