Replace the image gen model in Huggingchat with Flux

#532
by Someone2077 - opened

Flux dev (better quality, a little slow but number of steps can be turned down):
https://huggingface.co/spaces/black-forest-labs/FLUX.1-dev

Flux schnell (faster, only requires 4 steps):
https://huggingface.co/spaces/black-forest-labs/FLUX.1-schnell

I've provided zero space links of both models. Flux dev is much better at aesthetic and realism, midjourney level. Flux schnell is a distilled model optimised for 4 step image generation, but It's noticeably inferior to the previous one.
These both are 12b parameters models and much better than the current model which is being used in Huggingchat.

Here's a quick comparison:
(Prompt 1: a tiny astronaut hatching from an egg on the moon)
(Prompt 2: a cat holding a sign that says hello world)
(Prompt 3: A young woman taking a boring selfie with her phone in front of a mirror, typical of a 2015 Snapchat post.)

Flux dev:
image (1).webp
image (5).webp
image (7).webp

Flux schnell: (1-2 attempts)
image (3).webp
image (6).webp
image (9).webp

Current model: (2-4 attempts)
f358f8b5de5d351999fb2d4e62fda492c5d7b733999e91f764116abc4de77e34.webp
1e6c54bbaf189cc5e7706472f797c485e71c5c6ec2013633e22147ec6bb4900a.webp
c1a52acad09db79bcd67248cad00aaec315f2e7d5444081cf3557c62f8d64573.webp

Someone2077 changed discussion title from Use Flux for image gen in Huggingchat to Image gen model in Huggingchat with Flux
Someone2077 changed discussion title from Image gen model in Huggingchat with Flux to Replace the image gen model in Huggingchat with Flux
Hugging Chat org

We just switched to flux schnell for imagegen! Let us know how it goes

nsarrazin changed discussion status to closed

Sign up or log in to comment