Back

Flux: Open-source text-to-image model with 12B parameters

683 points3 monthsblog.fal.ai
burkaygur3 months ago

hi friends! burkay from fal.ai here. would like to clarify that the model is NOT built by fal. all credit should go to Black Forest Labs (https://blackforestlabs.ai/) which is a new co by the OG stable diffusion team.

what we did at fal is take the model and run it on our inference engine optimized to run these kinds of models really really fast. feel free to give it a shot on the playgrounds. https://fal.ai/models/fal-ai/flux/dev

metadat3 months ago

The playground is a drag. After accepting being forced to sign up, attach my GitHub, and hand over my email address, I entered the desired prompt and waited with anticipation.. Only to see a black screen and how much it's going to cost per megapixel.

Bummer. After seeing what was generated in the blog post I was excited to try it! Now feeling disappointed.

I was hoping it'd be more like https://play.go.dev.

Good luck.

mft_3 months ago

https://replicate.com/black-forest-labs/flux-dev is working very nicely. No sign-up.

TheAceOfHearts3 months ago

My go-to test for these tools so far has been the seven horned, seven eyed lamb mentioned in the Book of Revelation. Every tool I've tried has failed at this task.

+3
cpfohl3 months ago
+1
conception3 months ago
+1
tiborsaas3 months ago
+1
CGamesPlay3 months ago
Tepix3 months ago

I was inspired by the SD3 problems to use this prompt:

"a woman lying on her back wearing a blouse and shorts."

But it wouldn't render the image - i instead got a NSFW warning. That's one way to hide the fact that it cannot render it properly i guess...

PS: after a few tries it rendered "a woman lying on her back" correctly.

metadat3 months ago

Thanks this one actually works, pretty amazing.

Remarkably better than the "DrawThings" iPhone app (my only reference point).

liuliu3 months ago

You should expect Flux model support in the next a few days coming to the app.

bbkane3 months ago

Thanks for the link, and this model looks really good! I think I can tweak the output to make a nice logo [0] for my project!

[0] https://github.com/bbkane/envelope/issues/44

gorkemyurt3 months ago

also no signup for the optimized endpoint on fal https://fal.ai/models/fal-ai/flux/schnell

sylware3 months ago

Is there a noscript/basic (x)html prompt?

Hizonner3 months ago

You also might want to "clarify" that it is not open source (and neither are any of the other "open source" models). If you want to call it something, try "open weights", although the usage restrictions make even that a HUGE FUCKING STRETCH.

Also, everybody should remember that these models are not copyrightable and you should never agree to any license for them...

DHolzer3 months ago

When I read "open source" i thought they actually are doing open source instead of "open weights" this time. Surely they would expect to be called out on hackernews if they label it incorrectly...

Thanks for pointing that out @Hizonener

Morphiak3 months ago

A personal bugbear is the AI fascination with calling themselves open source, virtue signalling I guess. Open weights is exactly right. Source code and arguably more important datasets are both required to replicate the work, which is more in the spirit of open source (and science). I think Meta is especially egregious here, given their history.

Never underestimate the value of getting hordes of unpaid workers to refine your product. (See also React, others)

andybak3 months ago

> virtue signalling

I'd prefer "false advertising" - it's more direct and without the culture war baggage.

seanw4443 months ago

"Open source" is perceived as a virtue, and their claim is false. Thus false virtue claim. Or... virtue signaling.

HPsquared3 months ago

Indeed. The data is the main "information source" from which the model is trained.

astrange3 months ago

It's certainly not true that models are not copyrightable; databases have copyright protection if creativity was involved in creating them.

That said, I don't think outputs of the model are derivative works of it, any more than the model is a derivative of its training data, so it's not clear to me they can actually enforce what you do with them.

filleokus3 months ago

> It's certainly not true that models are not copyrightable; databases have copyright protection if creativity was involved in creating them.

Are you talking about https://en.wikipedia.org/wiki/Database_right or plain old copyright?

I'm no IP lawyer, but I've always thought that copyright put "requirements" on the artefact (i.e the threshold of originality), not the process.

In my jurisdiction we have database rights, meaning that you get IP protections for the artefact based on the work put into the process. For example a database of distances between adress pairs or something is probably not copyrightable, but can be protected under database rights if enough work was done to compile the data.

EDIT: Saw in another place in thread speaking about the https://en.wikipedia.org/wiki/Sweat_of_the_brow doctrine, relates to Database rights. (Neither of which notably are not applicable in the U.S)

+1
kube-system3 months ago
andymcsherry3 months ago

I get the sentiment, but one of their models, albeit the worst one, is licensed under Apache without usage restrictions. The source to run the models is also open source.

astromaniak3 months ago

> it is not open source

It would be nice here if you give some examples of what you call open source model. Please ;) Because the impression is that these things do not exist, it's just a dream which does not deserve such a nice term..

Hizonner3 months ago

As far as I know, none have been released. And it doesn't even really make sense, because, as I said, the models aren't copyrightable to begin with and therefore aren't licensable either.

However, plenty of open source software exists. The fact that open source models don't exist doesn't excuse attempts to falsely claim the prestige of the phrase "open source".

kube-system3 months ago

> the models aren't copyrightable to begin with

What criteria for copyright protection are they missing?

astromaniak3 months ago

> As far as I know, none have been released.

I can tell you a secret. What you call 'open source' models are impossible. Because massive randomness is a part of training process. They are not reproducible. Having everything you cannot even tell if the given model was trained on the given dataset. Copyright is a different thing.

And a bad news, what's coming is even worst. Those will be the whole things with self awareness and personal experience. They can be copied, but not reproduced. More over, it's hard or almost impossible to detect if something undeclared was planted in their 'minds'.

All together means 'open source' model in strict interpretation is a myth, great idea which happen to be not. Like Turing test.

> However, plenty of open source software exists.

Attempt to switch topic detected.

PS: as for that massive downvote, I even wasn't rude, don't care. This account will be abandoned soon regardless, like all before and after.

+2
jillesvangurp3 months ago
simonw3 months ago

I'm personally comfortable calling a model "open source" if the license is compatible with the https://opensource.org/ definition.

The Llama models aren't. Some of the Mistral models are (the Apache 2 ones). Microsoft Phi-3 is - it's MIT.

+1
dagaci3 months ago
tikkun3 months ago

> We are excited to introduce Flux

I'd suggest re-wording the blog post intro, it reads as if it was created by Fal.

Specific phrases to change:

> Announcing Flux

(from the title)

> We are excited to introduce Flux

> Flux comes in three powerful variations:

This section also comes across as if you created it

> We invite you to try Flux for yourself.

Reads as if you're the creator

burkaygur3 months ago

Thanks for the feedback! Made some updates.

tikkun3 months ago

Way better, nice

nextos3 months ago

The name is a bit unfortunate given that Julia's most popular ML library is called Flux. See: https://fluxml.ai.

This library is quite well known, 3rd most starred project in Julia: https://juliapackages.com/packages?sort=stars.

It has been around since, at least, 2016: https://github.com/FluxML/Flux.jl/graphs/code-frequency.

refulgentis3 months ago

There was a looong distracting thread a month ago about something similar, niche language, might have been Julia, had a package with the same name as $NEW_THING.

I hope this one doesn't stir as much discussion. It has 4000 stars, there isnt a large mass of people who view the world through the lens of "Flux is ML library". No one will end up in a "who is on first?" discussion because of it. If this line of argument is held sacrosanct, it ends up in an infinite loop until everyone gives up and starts using UUIDs.

jachee3 months ago

Eagerly waiting for this to happen in the medication names space. :)

djbusby3 months ago

Like the Go language that existed before Google Go.

Thorrez3 months ago

It's named "Go!".

https://en.wikipedia.org/wiki/Go!_(programming_language)

Disclosure: I work at Google but not on the Go team.

dheera3 months ago

I think we've generally run out of names to give projects and need to start reusing names. Maybe use letters to disambiguate them.

Flux A is the ML library

Flux B is the T2I model

Flux C is the React library

Flux D is the physics concept of power per unit area

Flux E is the goo you put on solder

sebastiennight3 months ago

Don't forget Fl.ux, which was a very popular way to make "night shift" happen for more than a decade

flurdy3 months ago
imp0cat3 months ago

f.lux

temp_account_323 months ago

i would give them a break, so many things exist in the tech sector that being completely original is basically impossible, unless you name your thing something nonsensical

also search engines are context aware, if your search history is full of julia questions, it will know what you're searching for

msikora3 months ago

Also Flux is a now obsolete application architecture for ReactJS.

frognumber3 months ago

It would be nice to understand limits of the free tier. I couldn't find that anywhere. I see pricing, but I'm generating images without swiping my credit card.

If it's unlimited or "throttled for abuse," say that. Right now, I don't know if I can try it six times or experiment to my heart's desire.

vessenes3 months ago

Congrats Burkay - the model is very impressive. One area I’d like to see improved in a flux v2 is knowledge of artist styles. Flux cannot respond to requests asking for paintings in the style of David Hockney, Norman Rockwell, Edgar Degas, — it seems to have no fine art training at all.

I’d bet that fine art training would further improve the compositional skills of the model, plus it would open up a range of uses that are (to me at least) a bit more interesting than just illustrations.

astrange3 months ago

It's "just" another diffusion model, although a very good one. Those people are probably in there even if its text encoder doesn't know about them. So you can find them with textual inversion.

whywhywhywhy3 months ago

>Flux cannot respond to requests asking for paintings in the style of David Hockney, Norman Rockwell

Does it respond to any names? I noticed SD3 removed all names to prevent recreating famous people but as a side effect lost the very powerful ability to infer styles from artist names too.

warkdarrior3 months ago

Have those artists given permission for their styles to be slurped up into a model?

vessenes3 months ago

Florentine art schools would like a word - they’ve been teaching painters by having them copy masters since the 16th century.

GaggiX3 months ago

Give me a sec, I will contact Edgar Degas with my telegraph.

vessenes3 months ago

Truly an API call I would pay for

dabeeeenster3 months ago

The unsubscribe links in your emails don't work

shubik223 months ago

thanks for hosting the model! i created an account to try it out, you started emailing me with “important notice: low account balance - action required” and now it seems like there’s no way for me to unsubscribe or delete my account. is that the case? thanks!

RobotToaster3 months ago

If you are using the dev model, the licence isn't open source.

minimaxir3 months ago

The [schnell] model variant is Apache-licensed and is open sourced on Hugging Face: https://huggingface.co/black-forest-labs/FLUX.1-schnell

It is very fast and very good at rendering text, and appears to have a text encoder such that the model can handle both text and positioning much better: https://x.com/minimaxir/status/1819041076872908894

A fun consequence of better text rendering is that it means text watermarks from its training data appear more clearly: https://x.com/minimaxir/status/1819045012166127921

nwoli3 months ago

That’s not really fair to conclude that the training data contains vanity fair images since the prompt includes “by Vanity Fair”.

I could write “with text that says Shutterstock” in the prompt but that doesn’t necessairly mean the dataset contains that

minimaxir3 months ago

The logo has the same exact copyrighted typography as the real Vanity Fair logo. I've also reproduced the same-copyrighted-typography with other brands with identical composition as copyrighted images. Just asking it "Vanity Fair cover story about Shrek" at a 3:2 ratio gives it a composition identical to a Vanity Fair cover very consistently (subject is in front of logo typography partially obscuring it)

The image linked has a traditional www watermark in the lower-left as well. Even something innocous as a "Super Mario 64" prompt shows a copyright watermark: https://x.com/minimaxir/status/1819093418246631855

fennecbutt3 months ago

If the training data includes a public blog post which has a screenshot of a vanity fair piece?

It's like GRRM complaining that LLMs can reproduce chunks of text from his books "they fed my novels into it" Oh yeah? It's definitely not all the parts of your book quoted in millions of places online, including several dedicated wiki style sites? That wouldn't be it, right?

Carrok3 months ago

On my list of AI concerns, whether or not Vanity Fair has it’s copyright infringed does not appear.

+3
minitoar3 months ago
smith70183 months ago

Are you suggesting that the model independently came up with Vanity Fair's logo, including font and kerning?

https://www.vanityfair.com/verso/static/vanity-fair/assets/l...

RobotToaster3 months ago

How does the licence work when there's a bunch of restrictions at the bottom of that page that seem to contradict the licence?

minimaxir3 months ago

IANAL but I suspect that "Out-of-Scope Use" has no legal authority.

dheera3 months ago

Thank you. Their website is super hard to navigate and I can't find a "DOWNLOAD" button.

minimaxir3 months ago

Note that actually running the model without a A100 GPU or better will be tricker than usual given its size (12B parameters, 24GB on disk).

There is a PR to that repo for a diffusers implementation, which may run on a cheap L4 GPU w/ enable_model_cpu_offload(): https://huggingface.co/black-forest-labs/FLUX.1-schnell/comm...

dheera3 months ago

You don't need an A100, you can get a used 32GB V100 for $2K-$3K. It's probably the absolute best bang-for-buck inference GPU at the moment. Not for speed but just the fact that there are models you can actually fit on it that you can't fit on a gaming card, and as long as you can fit the model, it is still lightyears better than CPU inference.

Morphiak3 months ago

Why this versus the 2 3090s (with nvlink for marginal gains) and 48GB for 2$K ?

CuriouslyC3 months ago

3090 TIs should be able to handle it without much in the way of tricks for a "reasonable" (for the HN crowd) price.

fl0id3 months ago

higher ram apple silicon should be able to run it too. if they don't use some ancient pytorch version or something.

+2
phkahler3 months ago
s-macke3 months ago

Got it running. But it is a special setup.

* NVIDIA Jetson AGX Orin Dev. Kit with 64 GB shared RAM.

* Default configuration for flux-dev. (FP16, 50 steps)

* 33GB GPU RAM usage.

* 4 minutes 20 seconds per image at around 50 Watt power usage.

treesciencebot3 months ago

You can try the models here:

(available without sign-in) FLUX.1 [schnell] (Apache 2.0, open weights, step distilled): https://fal.ai/models/fal-ai/flux/schnell

(requires sign-in) FLUX.1 [dev] (non-commercial, open weights, guidance distilled): https://fal.ai/models/fal-ai/flux/dev

FLUX.1 [pro] (closed source [only available thru APIs], SOTA, raw): https://fal.ai/models/fal-ai/flux-pro

Vinnl3 months ago

> (available without sign-in) FLUX.1 [schnell] (Apache 2.0, open weights, step distilled): https://fal.ai/models/fal-ai/flux/schnell

Well, I was wondering about bias in the model, so I entered "a president" as the prompt. Looks like it has a bias alright, but it's even more specific than I expected...

teamspirit3 months ago

You weren’t kidding. Tried three times and all three were variations of the same[0].

[0] https://fal.media/files/elephant/gu3ZQ46_53BUV6lptexEh.png

thequadehunter3 months ago

The interesting part is that it does a good Joe Biden, but Trump always looks weird and alien.

https://imgur.com/a/fgf6Jt3

shiroiushi3 months ago

[flagged]

RobotToaster3 months ago

What is the difference between schnell and dev? Just the kind of distillation?

weberer3 months ago

>FLUX.1 [dev]: The base model

>FLUX.1 [schnell]: A distilled version of the base model that operates up to 10 times faster

It should also be noted that "schnell" is the German word for "fast".

Kerbonut3 months ago

Not quite right, per their github repo:

> Models

> We are offering three models:

> FLUX.1 [pro] the base model, available via API

> FLUX.1 [dev] guidance-distilled variant

> FLUX.1 [schnell] guidance and step-distilled variant

schleck83 months ago

Schnell is definitely worse in quality, although still impressive (it gets text right). Dev is the really good one that arguably outperforms the new Midjourney 6.1

ilkke3 months ago

Also worth mentioning schnell is a 4-step model, so comparable to SD lightning in that regard

Aardwolf3 months ago

What's the difference between pro and dev? Is the pro one also 12B parameters? Are the example images on the site (the patagonia guy, lego and the beach potato) generated with dev or pro?

treesciencebot3 months ago

I think they are mainly -dev and -schnell. Both models are 12B. -pro is the most powerful and raw, -dev is guidance distilled version of it and -schnell is step distilled version (where you can get pretty good results with 2-8 steps).

Aardwolf3 months ago

what does guidance distilled mean?

something about pro must be better than dev or it wouldn't be made API-only, but what exactly, how does guidance distilling affect pro it and what quality remains in dev?

layer83 months ago

Requires sign-in with a GitHub account, unfortunately.

wavemode3 months ago

I think they may have turned on the gating some time after this was submitted to HackerNews. Earlier this morning I definitely ran the model several times without signing in at all (not via GitHub, not via anything). But now it says "Sign in to run".

treesciencebot3 months ago

i just updated the links to clarify which models require sign-in and which doesn't!

smusamashah3 months ago

Tested it using prompts from ideogram (login walled) which has great prompt adherence. Flux generated very very good images. I have been playing with ideogram but i don't want their filters and want to have a similar powerful system running locally.

If this runs locally, this is very very close to that in terms of both image quality and prompt adherence.

I did fail at writing text clearly when text was a bit complicated. This ideogram image's prompt for example https://ideogram.ai/g/GUw6Vo-tQ8eRWp9x2HONdA/0

> A captivating and artistic illustration of four distinct creative quarters, each representing a unique aspect of creativity. In the top left, a writer with a quill and inkpot is depicted, showcasing their struggle with the text "THE STRUGGLE IS NOT REAL 1: WRITER". The scene is comically portrayed, highlighting the writer's creative challenges. In the top right, a figure labeled "THE STRUGGLE IS NOT REAL 2: COPY ||PASTER" is accompanied by a humorous comic drawing that satirically demonstrates their approach. In the bottom left, "THE STRUGGLE IS NOT REAL 3: THE RETRIER" features a character retrieving items, complete with an entertaining comic illustration. Lastly, in the bottom right, a remixer, identified as "THE STRUGGLE IS NOT REAL 4: THE REMI

Otherwise, the quality is great. I stopped using stable diffusion long time ago, the tools and tech around it became very messy, its not fun anymore. Been using ideogram for fun but I want something like ideogram that I can run locally without any filters. This is looking perfect so far.

This is not ideogram, but its very very good.

benreesman3 months ago

Ideogram handles text really well but I don’t want to be on some weird social network.

If this thing can mint memes with captions in it on a single node I guess that’s the weekend gone.

Thanks for the useful review.

smusamashah3 months ago

Flux is amazing actually. See my other comment where I verified a prompt on their fastest model. Check the linked reddit thread too.

https://news.ycombinator.com/item?id=41132515

dagaci3 months ago

If you have the hardware (24GB VRAM plus 32GB) the easiest way to run locally seems to be SwarmUI

See: https://www.reddit.com/r/StableSwarmUI/comments/1ei86ar/flux... (SwarmUI is cross platform and runs on macs, and linux)

ilkke3 months ago

You can run it locally in ComfyUI. I was able to run it with 12GB of vram and reportedly even 8GB is doable, albeit very slow.

seveibar3 months ago

whenever I see a new model I always see if it can do engineering diagrams (e.g. "two square boxes at a distance of 3.5mm"), still no dice on this one. https://x.com/seveibar/status/1819081632575611279

Would love to see an AI company attack engineering diagrams head on, my current hunch is that they just aren't in the training dataset (I'm very tempted to make a synthetic dataset/benchmark)

roenxi3 months ago

It'll probably come suddenly. It has been fascinating to me watching the journey from Stable Diffusion 1 to 3. SD1 was a very crude model, where putting a word in the prompt might or might not add representations of the word to the image. Eg, using the word "hat" somewhere in the prompt might do literally nothing or suddenly there were hats everywhere. The context of the word didn't mean much to SD1.

SD2 was more consistent about the word appearing in the image. "hat" would add hats more reliably. Context started to matter a little bit.

SD3 seems to be getting a lot better at the idea of scene composition, so now specific entities can be prompted to wear hats. Not perfect, but noticeably improved from SD2.

Extrapolating from that, we're still a few generations from being able to describe things with the precision of an engineering diagram - but we're heading in the right direction at a rapid clip. I doubt there needs to be any specialist work yet, just time and the improvement of general purpose models.

fennecbutt3 months ago

At a rapid clip is a great unintentional pun here.

napoleongl3 months ago

Can’t you get this done via an LLM and have it generate code for mermaid or D2 or something? I’ve been fiddling around with that a bit in order to create flowcharts and datamodels, and I’m pretty sure I’ve seen at least one of those languages handle absolute positioning of object.

seveibar3 months ago

it usually isn't accurate. LLMs generally have very little spatial awareness.

zellyn3 months ago

I have likewise been utterly unable to get it to generate images that look like preliminary rapid pencil sketches. Suggestions by experienced prompters welcome!

phkahler3 months ago

>> Would love to see an AI company attack engineering diagrams head on, my current hunch is that they just aren't in the training dataset (I'm very tempted to make a synthetic dataset/benchmark)

That seems like a good use for a speech driven assistant that know how to use PC desktop software. Just talk to a CAD program and say what you want. This seems like a long way off but could be very useful.

csomar3 months ago

> https://fal.media/files/kangaroo/FwO3j7xFIgpIXepqKDj6h.png

Prompt: two square boxes at a distance of 3.5mm. Both boxes have the same size, 10cm.

9dev3 months ago

It’s like spelling out wishes for a djinn—better be crystal clear what you’re thinking of…

lovethevoid3 months ago

I hope you find manual tagging of diagrams interesting, as that is what you'll be doing a lot of!

tantalor3 months ago

Seems to do pretty poorly with spatial relationships.

"An upside down house" -> regular old house

"A horse sitting on a dog" -> horse and dog next to eachother

"An inverted Lockheed Martin F-22 Raptor" -> yikes https://fal.media/files/koala/zgPYG6SqhD4Y3y_E9MONu.png

minimaxir3 months ago

It appears the model does have some "sanity" restrictions from whatever its training process is that limits some of the super weird outputs.

"A horse sitting on a dog" doesn't work but "A dog sitting on a horse" works perfectly.

bboygravity3 months ago

a zebra on top of an elephant worked fine for me

PoignardAzur3 months ago

Am I missing something? The beach image they give still fails to follow the prompt in major ways.

swatcoder3 months ago

You're not. I'm surprised at their selections because neither the cooking one nor the beach one adhere to the prompt in very well, and that first one only does because it prompt largely avoids much detail altogether. Overall, the announcement gives the sense that it can make pretty pictures but not very precise ones.

astrange3 months ago

Well, that's nothing new, but it doesn't matter to dedicated users because they don't control it just by typing in text prompts. They use ComfyUI, which is a node editor.

fennecbutt3 months ago

I'd say automatic1111 is more popular. Comfy seems like a rat's nest, unreal shader node flashbacks.

ilkke3 months ago

Does this afford better prompt adherence control in some way?

spywaregorilla3 months ago

No directly. but it encourages iteration on the same seed and then on specific details rather than just trying different prompts on different seeds from scratch over and over

Jackson__3 months ago

Sounds to me like it's an issue with their VLM captions creating very "pretty" but not actually useful captions. Like one of the example image prompts includes this absolute garbage:

> Convey compassion and altruism through scene details.

perstablintome3 months ago

The quality is difficult to judge consistently as there's variants among seed with the same prompt. And then there's the problem of cherry picked examples making the news. So I'm building a community gallery to generate Pro images for free, hope this at least increases the sample size https://fluxpro.art/

SV_BubbleTime3 months ago

Wow.

I have seen a lot of promises made by diffusion models.

This is in a whole different world. I legitimately feel bad for the people still a StabilityAI.

The playground testing is really something else!

The licensing model isn’t bad, although I would like to see them promise to open up their old closed source models under Apache when they release new API versions.

The prompt adherence and the breadth of topics it seems to know without a finetune and without any LORAs, is really amazing.

Havoc3 months ago

Bit annoying signup...Github only...and github account creation is currently broken "Something went wrong". Took two tries and two browsers...

fernly3 months ago

I had the same "something went wrong" experience, but on retrying the "sign in to run" button, it was fine and had logged me in.

Gave me a credit of 2USD to play with.

vunderba3 months ago

Vast majority of comparisons aren't really putting these new models through their paces.

The best prompt adherence on the market right now BY FAR is DALL-E 3 but it still falls down on more complicated concepts and obviously is hugely censored - though weirdly significantly less censored if you hit their API directly.

I quickly mocked up a few weird/complex prompts and did some side-by-side comparisons with Flux and DALL-E 3. Flux is impressive and significantly performant particularly since both the dev/shnell models have been confirmed by Black Forest to be runnable via ComfyUI.

https://mordenstar.com/blog/flux-comparisons

harrisonjackson3 months ago

Your comparisons are all with the flux shnell model

> The fastest image generation model tailored for local development and personal use

Versus flux pro or dev models

vunderba3 months ago

I did put them through pro/dev as well just to be safe. The quality changes and you can play with guidance (cranking it all the way to 10) but it doesn't make a significant difference for these prompts from what I could tell.

Several iterations and these were the best I got out of schnell, dev and pro respectively for the following prompt:

"a fantasy creature with the body of a dragon and a beachball for a head, hybrid, best quality, shadows and lighting, fantasy illustration muted"

https://gondolaprime.pw/pictures/schnell-dev-pro.jpg

Der_Einzige3 months ago

How long until nsfw fine tunes? Don’t pretend like it’s not on all of y’all’s minds, since over half of all the models on Civit.ai are NSFW. That’s what folks in the real world actually do with these models.

throwoutway3 months ago

> Nearby, anthropomorphic fruits play beach volleyball.

This is missing from the image. The generated image looks well, but while reading the prompt I was surpised it was missing

fl0id3 months ago

Mmmh, trying my recent test prompts, still pretty shit. F.e. whereas midjourney or SD do not have a problem to create a pencil sketch, with this model (pro), it always looks more like a black and white photograph or digital illustration or render. It is also like all the others apparently not able to follow instructions on the position of characters. (i.e. X and Y are turned away from each other).

viraptor3 months ago

Censored a bit, but not completely. I can get occasional boobs out of it, but sometimes it just gives the black output.

refulgentis3 months ago

This gives you no info on how the model works. what is being applied is fal's post-inference "is this NSFW?" filter model

So your censorship investigation (via boobs) is testing a completely different, unrelated, model.

viraptor3 months ago

It does provide information. Regardless of whether they use a post-inference filter, we now know that the model itself was trained on and can produce NSFW content. Compare this to SD3 which produces a noise pattern if you request naked bodies.

(Also you can download the model itself to check the local behaviour without extra filters. Unfortunately I don't have time to do it right now, but I'd love to know)

refulgentis3 months ago

Right, that (the black bars) gives no info on how the model works. Thus, you'd love to "know more". ;)

Rest is groping for a reason to make "model is censored [classifier made POST return black image instead of boobs]" something sensical.

yjftsjthsd-h3 months ago

> FLUX.1 [dev]: The base model, open-sourced with a non-commercial license

...then it's not open source. At least the others are Apache 2.0 (real open source) and correctly labeled proprietary, respectively.

UncleOxidant3 months ago

Other flux ai things: https://fluxml.ai/ , https://www.flux.ai

cwoolfe3 months ago

Hey, great work over at fal.ai to run this on your infrastructure and for building in a free $2 in credits to try before buying. For those thinking of running this at home, I'll save you the trouble. Black Forest Flux did not run easily on my Apple Silicon MacBook at this time. (Please let me know if you have gotten this to run for you on similar hardware.) Specifically, it falls back to using CPU which is very slow. Changing device to 'mps' causes error "BFloat16 is not supported on MPS"

zarmin3 months ago

WILD

Photo of teen girl in a ski mask making an origami swan in a barn. There is caption on the bottom of the image: "EAT DRUGS" in yellow font. In the background there is a framed photo of obama

https://i.imgur.com/RifcWZc.png

Donald Trump on the cover of "Leopards Ate My Face" magazine

https://i.imgur.com/6HdBJkr.png

viraptor3 months ago

It got confused with the mask and origami unfortunately.

kevin_thibedeau3 months ago

DT coverlines are very authentic. Garbled just like the real thing.

TechDebtDevin3 months ago

Damn this is actually really good.

CuriouslyC3 months ago
ZoomerCretin3 months ago

Anyone know why text-to-image models have so many fewer parameters than text models? Are there any large image models (>70b, 400b, etc)?

Sohcahtoa823 months ago

The way someone explained it to me is that text-to-image models are essentially just de-noisers.

They train them by taking an image with a label, ie, "cat", and then adding some noise to it, run a training step, add more noise, run another step, and so on until the image is total (or near total) noise and still being told it's a cat.

Then, when you want to generate "cat", you start with noise, and it finds a cat in the noise and cancels some of the noise repeatedly. If you're able to watch an image get generated, sometimes you'll even see two cats on top of each other, but one ends up fading away.

Turns out, these denoisers don't require that many parameters, and if your resulting image has a few pixels that are just a tiny bit off color, you won't even notice.

minimaxir3 months ago

Diffusion is very efficient encoding/decoding.

The only reason that diffusion isn't used for text is because text requires discrete outputs.

astrange3 months ago
ZoomerCretin3 months ago

Thank you for the explanation!

fennecbutt3 months ago

If a wurd is misspelt then you notis right away.

If a pixel is just slightly the wrong shade of green, nobody really cares.

dinobones3 months ago

I wonder if the key behind the quality of the MidJourney models, and this models, is less about size + architecture and more about the quality of images trained on.

It looks like this is the case for LLMs, that the training quality of the data has a significant impact on the output quality of the model, which makes sense.

So the real magic is in designing a system to curate that high quality data.

CuriouslyC3 months ago

Midjourney unquestionably has heavy data set curation and uses RLHF from users.

You don't have to speculate on this as you can see that custom models for SDXL for instance perform vastly better than vanilla SDXL at the same number of parameters. It's all data set and tagging.

spywaregorilla3 months ago

custom models perform vastly better at the tasks they are finetuned to do

CuriouslyC3 months ago

That is technically true, but when the base model is wasting parameter information on poorly tagged, watermarked stock art and other garbage images, it's not really a meaningful distinction. Better data makes for better models, nobody cares about how well a model outputs trash.

spywaregorilla3 months ago

Ok, but you're severely misrepresenting the importance of things. Base SDXL is a fine model. Base SDXL is going to be much better than a materially smaller model that you've retrained with "good data".

cma3 months ago

SDXL used RLHF too

42lux3 months ago

It's the quality of the image text pair not the image alone but midjourney is not a model it's a suite of models that work in conjunction. They have an llm in the front to optimize the user prompts, they use SAM models, controlnet models for poses that are in high demand and so much more. That's why you can't really compare foundation models anymore because there are none.

jncfhnb3 months ago

No, it’s definitely the size. Tiny LLMs are shit. Stable Diffusion 3’s problem is not that that its training set was wildly different, it’s that it’s just too small (because the one released so far is not the full size).

You can get better results with better data, for sure. And better architecture, for sure. But raw size is really important the difference in quality for models, all else held equal, is HUGE and obvious if you play with them.

pzo3 months ago

I would agree - midjourney is getting a free labour since many of their generations are not in secret mode (require pro/mega subscription) so prompts and outputs are visible to everyone. Midjourney rewards users to rating those generations. I wouldn't be surprised if there are some bots on their discord that are scraping those data for training their own models.

ilkke3 months ago

Are the prompts of pro users secret to Midjourney?

astrange3 months ago

Flux-schnell is still incapable of generating "horse riding an astronaut" or "upside-down mini cooper".

sztanko3 months ago

I don't think any of them can.

virtualritz3 months ago

I enter an elaborate prompt, press "Sign in to Run", sign in with my GH, get taken back to the previous page and my prompt text has reset to some default with no way to get back what I entered before.

Complete and utter UX/first impression fail. I had no desire to actualy try the model after this.

fngjdflmdflg3 months ago

Is the architecture outlined anywhere? Any publications or word on if they will publish something in the future? To be fair to them, they seemed to have launched this company today so I doubt they have a lot of time right now. Or maybe I just missed it?

minimaxir3 months ago

You can look at the model config params for diffusers, e.g.: https://huggingface.co/black-forest-labs/FLUX.1-schnell/comm...

fngjdflmdflg3 months ago

I don't have anything to compare it to as I'm not that familiar with other diffusion models in the first place. I was kind of hoping to read the key changes they made to the diffusion architecture and how they collected and curated their dataset. I'd assume their are also using LAION but I wonder if they are doing anything to filter out low quality images (separate from what LAION atheistic already does). Or maybe if they have their own dataset.

Oras3 months ago

This is great and unbelievably fast! I noticed a small note saying how much this would cost and how many images you can create for $1.

I assume you’re offering this as an API? Would be nice to have pricing page as I didn’t see one on your website.

smusamashah3 months ago

Holy crap this is amazing. I saw an image with a prompt on reddit and didn't believe it was generated imaged. I thought it must be joke that people are sharing non-generated images in the thread.

Reddit message: https://www.reddit.com/r/StableDiffusion/comments/1ehh1hx/an...

Linked image: https://preview.redd.it/dz3djnish2gd1.png?width=1024&format=...

The prompt:

> Photo of Criminal in a ski mask making a phone call in front of a store. There is caption on the bottom of the image: "It's time to Counter the Strike...". There is a red arrow pointing towards the caption. The red arrow is from a Red circle which has an image of Halo Master Chief in it.

Some of the images I generated using schnell model with 8-10 steps using this prompt. https://imgur.com/a/3mM9tKf

codezero3 months ago

[dead]

j1mmie3 months ago

I'm really impressed at its ability to output pixel art sprites. Maybe the best general-purpose model I've seen capable of that. In many cases its better than purpose-built models.

ilkke3 months ago

Any examples? I wasn't able to get any good results

mlboss3 months ago

These venture funded startups keep releasing models for free without a business model in sight. I am all for open source but worry it is not sustainable long term.

qball3 months ago

At this point the only thing an AI startup has to do to get people to spend money on the model is to:

-not censor it

-not be doing prompt injection

It's very easy, which is why no other firm is capable of it.

wmf3 months ago

The free models are for practice and advertising. Once they get good they start charging. We've already seen this with Mistral and Stability.

djbusby3 months ago

It's not. These VC firms currently just blasting money+AI at lots of things. Exploring to find what sticks. Expensive discovery.

NeckBeardPrince3 months ago

I think we have enough stuff out there called flux.

rty323 months ago

Just came to say I didn't see the "for homeless" part in that LEGO example. The prompt is a bit funny, almost ridiculous.

julienlafond3 months ago

Same with the potato example, no "Nearby, anthropomorphic fruits play beach volleyball."

kennethwolters3 months ago

It is very good at "non-human subjects in photos with shallow focus".

Really curious to see what other low-hanging fruits people are finding.

CuriouslyC3 months ago

Check out reddit.com/r/stablediffusion, it's been handling everything people have thrown at it so far.

robotnikman3 months ago

This is amazing! I thought it would be a few more years before we would have a such high quality model we could run locally.

SirMaster3 months ago

I tried: "Moe from The Simpsons, waving" several times. But it only ever drew Lisa from The Simpsons waving.

Noam453 months ago

I recently heard of FLUX and began reading about this. It's a remarkable technology

seu3 months ago

So I'm forced to signup and give my email for a supposed trial, only to be immediately told by email that I have a "Low Account Balance - Action Required"? Seriously?

xmly3 months ago

Nice one. Will it plan to support both text and image to image?

ilkke3 months ago

Someone on Reddit did promptless img2img in comfy by passing an image into vae decode and then thru the schnell model for a kind of a refiner, with great results

asadm3 months ago

This is actually really good! I fear much better than SD3 even!

vishalk_33 months ago

Great product. BTW I am new to this technology can you please tell me what is the parameter given to Model to make it look like real life image ?

ilkke3 months ago

Try something like "Photo of...", "as photography" or "photorealistic". You can even specify the camera model and lens/exposure settings. You can find these in metadata of your phone photos for example.

vishalk_32 months ago

Thanks for the reply buddy. But I am still not able to understand how camera model and lens/exposure settings can be used to make the photo real.

Lets, say that you took an image of a flower in a garden and ai has also generated an image of the same flower. When we see these pics side by side we find a lot of difference between them. Origin of my question was "how can we minimize this difference ?". How we can tell the machine that the more the magnitude of a certain parameter the more real it is, not sure if camera settings could help in this case.

jncfhnb3 months ago

Looks like a very promising model. Hope to see the comfyui community get it going quickly

lovethevoid3 months ago

Its already available for comfyui

jncfhnb3 months ago

It’ll need time for the goodies beyond the base model though I would guess

lovethevoid3 months ago

Works great as is right now, I can see some workflows being affected or having to wait for an update, but even those can do with some temporary workarounds (like having to load another model for later inpainting steps).

So if you're wanting to experiment and have a 24GB card, have at it!

jncfhnb3 months ago

Yeah I mean like controlnet / ipadapter / animateddiff / in painting stuff

I don’t feel like base models are super useful. Most real use cases depend on being able to iterate on consistent outputs imo.

I have had a very bad experience trying to use other models to modify images but I mostly do anime shit and maybe styles are less consistently embedded into language for those models

EternalFury3 months ago

Impressive quality

mikejulietbravo3 months ago

What's the tl;dr on a difference from this to SD?

minimaxir3 months ago

tl;dr better quality even with the least powerful model and can be much faster

og_kalu3 months ago

You can try the models on replicate https://replicate.com/black-forest-labs.

Result (distilled schnell model) for

"Photo of Criminal in a ski mask making a phone call in front of a store. There is caption on the bottom of the image: "It's time to Counter the Strike...". There is a red arrow pointing towards the caption. The red arrow is from a Red circle which has an image of Halo Master Chief in it."

https://www.reddit.com/r/StableDiffusion/s/SsPeQRJIkw

JoeDeanx3 months ago

[dead]

bijutoha3 months ago

I'm really looking forward to exploring its capabilities and seeing how it compares to other models.

KennyBlanken3 months ago

[flagged]

wavemode3 months ago

Hmm I was able to try the model myself (generated a handful of images) and didn't log in.

SV_BubbleTime3 months ago

It’s a fal login, which is linked/federated with GitHub if you have done that before.

It takes zero time to “make an account”.

wavemode3 months ago

I think they may have turned on the gating some time after this was submitted to HackerNews. Earlier this morning I definitely ran the model several times without signing in at all (not via GitHub, not via anything). But now it says "Sign in to run".