The currently available python code for stable diffusion and its various samplers can be overwhelming. To facilitate faster integration for developers, a straight forward and simple to use api (python library) is needed.
Additionally, there are features that the native stable diffusion implementation does not have, but are great to have. We propose a library that both simplifies and adds valuable extensions. Such as masking and custom samplers.
pip install diffusionkit
then
@dataclass
class DiffuseParams:
prompt: str
width: int = 512
height: int = 512
ddim_steps: int = 50
sampler_name: str = 'lms'
cfg_scale: float = 5.0
denoising_strength: float = 0.75
seed: int = 0
count: int = 1
diffuse(params: DiffuseParams, image: Image = None, mask: Image = None)
enhance(...)
...
Your funding will allow us to expand on this, implement more features, and write solid documentation.