huggingface / huggingface/diffusers

SANARubber a flexible version of SANA with i2i and multidiffusion/regional diffusion

Open
#10,803 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Python
Stars
34.5k
Forks
7.3k
Avg merge
3d 3h
Merged PRs (30d)
91

Description

### Model/Pipeline/Scheduler description

I made a pipeline that is as reliable as the basic SANA pipeline but more flexible by making it run an array of functions which runs everything the og pipeline does. this can make easy combinations if necessary.

here's the link, enjoy
https://github.com/alexblattner/SANARubber

example of multidiffusion in sana:
['bright moon','red','blue','green','black'] (first prompt is applied in the background
["0:0-512:512","512:0-1024:512","512:1024-1024:1024","0:512-512:1024"] those are the areas of the rest of the prompts
[.7,.7,.7,.7] those are the strengths of the areas applied with their prompts

![Image](https://github.com/user-attachments/assets/98e207f5-a229-4a91-9349-6824095bc50c)

again with i2i at stength .5 and the same settings as before (mild changes only):

![Image](https://github.com/user-attachments/assets/65329495-ea25-42e4-b8f7-d4fbc4be8a19)

ENJOY!

### Open source status

- [x] The model implementation is available.
- [ ] The model weights are available (Only relevant if addition is not a scheduler).

### Provide useful links for the implementation

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.