frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Building an agentic image generator that improves itself

https://simulate.trybezel.com/research/image_agent
67•palashshah•1y ago
Hey HN! We recently graduated from YC, and have been building customer personas for large e-commerce companies. We recently expanded into the image generation space, and have been working on research about how to automatically improve the quality of generated images.

Comments

average_r_user•1y ago
Quite interesting, do you have some documentation of your platform and capabilities? Your landing page is quite synthetic
palashshah•1y ago
hey! we're working with an initial set of customers, and plan to launch full capabilities soon. stay tuned :)
ramesh31•1y ago
This is a wonderful writeup of building a simple agentic system in general. What OP describes is more or less the bare minimum you should be doing at this point to get good (consistent) results from an LLM; single-shot prompting is a thing of the past.
palashshah•1y ago
appreciate the compliment! yep, it's definitely necessary and is the bare minimum for building image generation systems in production.
shmoogy•1y ago
I'm surprised you landed on using o3 as the judge - we found it way too expensive. I use llm as a judge for generating color variations of products, definitely hoping for some improvements - it can be brutal to get non hallucinated features along with proper final rendering.
omneity•1y ago
Have you tried open weights vision models such as Qwen VL, MiniCPM, PaliGemma...?

I'm also curious how usable are simpler vision models such as Florence in case you explored this direction.

palashshah•1y ago
we're currently in the process of doing this. i think something that could potentially work is to iterate upon the initial image composition / structure using cheaper models, and then upscale at the end. this way you're saving on that iteration cost, but eventually land on a higher-scale image.
shmoogy•1y ago
I actually haven't but nova from Amazon was surprisingly good at things like bounding boxes compared to some others You kind of have to test and measure so many different aspects to get the best at specific tasks Thanks for the idea
elif•1y ago
This is great and provides a good starting point for any similar efforts.

However I think the temptation to lean all tasks on AI is perhaps a little naive if not lazy.

For mask generation, there is really not much reason to use AI. In this example, simple stochastic blob detection, a trivial function you could get from openCV or ask a college sophomore to write would generate much better quality masks.

palashshah•1y ago
totally agreed here. i think my goal primarily with the mask generation was to test out how effective openai's capabilities were.

we're currently working on pipelines that limit the the involvement of AI to various tasks. for example, when generating an ad there's usually logo, some banner text, and background image.

we can use gpt-image-1 to generate the background image, another LLM to identify the coordinates of where we place the logo, and just add the logo onto the image. this is just one example!

jackphilson•1y ago
Why do you agree? I think we should outsource as much as we can to abstraction. We've been doing it forever.
dandelany•1y ago
"Simple stochastic blob detection" is an abstraction. You write (or import) a function where the the gnarly logic lives and call `detectBlobs()`. "Use an abstraction" doesn't mean you should use the same abstraction for every task, you should use the right tool for the job.
mentalgear•1y ago
Again another example of "the unreasonable effectiveness of LLMs in a loop". At with time, the tasks for loop become bigger and more complex, until we find ourselves "outlooped" at least job wise.
ramoz•1y ago
Nice retrospective but I guess this process is no longer needed as model's get better; esp as they start enabling features like consistent subjects. Seems like a lot of overhead to correct text for inspirational images, but I can imagine you need to always present some form of _quality_ to your clients.

Feel like control nets and some minimal photoshop work would've been better.

palashshah•1y ago
totally. it got to a point where most of the text generated in our images was incorrect, and so it wasn't a great look showing that to our clients.

we're actually working on some form of what you described where we take images generated from LLMs + add consistent logos discretely rather than generatively.

abshkbh•1y ago
Palash this is a great post, I learnt a lot as an image gen noob! Keep writing more :)
palashshah•1y ago
this is incredible to hear! i plan to keep writing on a weekly basis, and will be posting them on twitter.
t_mann•1y ago
I was kind of hoping this would be in the 'Dreambooth mold' of finetuning open weights models. I have used that with some success some ~2 years ago, does anyone know what improvements there have been in that direction since Dreambooth?
zahlman•1y ago
It's frankly amazing to me that "ask another LLM to evaluate the image" actually produces useful feedback that results in actual improvement from the first LLM.

But then, I guess it's not much different of an idea from the earlier use of GANs, or of telling LLMs to "stop hallucinating", etc.

palashshah•1y ago
totally. the way i think about it (purely based on intuition) is that asking an LLM to do understanding + image generation is too complex for it to be effective. if we separate out the tasks into discrete steps, the evaluation becomes better, and the generation simply becomes instruction following.
jacob019•1y ago
This is all edited with gpt-image-1? The revised images are amazing. Were example logos provided or is it just working off of it's knowledge of a well known brand?

“Math 2.0” will need to value mathematical progress more holistically

https://mathstodon.xyz/@tao/117395269325940185
243•ent101•3h ago•177 comments

Claude Haiku 5.5

https://www.anthropic.com/claude-haiku-5-5
849•sfkgtbor•14h ago•413 comments

Living off-grid: Hundred Rabbits

https://100r.ca/site/home.html
181•Muhammad523•2d ago•44 comments

The 15-year search for a band that charted once and vanished

https://shahidhussain.com/writing/search-for-salvage/
70•shahidhussain•3d ago•25 comments

Margaret Hamilton has died

https://news.mit.edu/2026/margaret-hamilton-computing-pioneer-dies-1007
1391•muglug•11h ago•156 comments

GPT‑6 and Intelligent UI for everyone

https://openai.com/index/gpt-6-for-everyone/
607•joshuawright11•14h ago•328 comments

How did Rosalind Franklin miss the helix in her iconic DNA image? She didn't

https://www.science.org/content/article/how-did-rosalind-franklin-miss-helix-her-iconic-dna-image...
158•pavel_lishin•2d ago•59 comments

'Jonathan' is the oldest land animal on Earth

https://www.404media.co/oldest-living-land-animal-jonathan-the-tortoise/
139•gumby•12h ago•59 comments

Cleo (Mathematician)

https://en.wikipedia.org/wiki/Cleo_(mathematician)
133•djoldman•1d ago•25 comments

Analog Computer Simulator in the Browser

https://pavel-krivanek.github.io/The-Analog-Thing-Simulator/public/
16•adamnemecek•2d ago•5 comments

Shipping JPEG XL in Chrome

https://developer.chrome.com/blog/jpeg-xl-in-chrome
542•AshleysBrain•20h ago•357 comments

The Mathocalypse

https://scottaaronson.blog/?p=10169
209•6bitquant•12h ago•244 comments

Show HN: Bigwords.page – Turn any screen into a sign. The URL is the app

https://bigwords.page/
475•SpeakingOfBrad•16h ago•135 comments

In Vienna and Beijing, the first (thorium) nuclear clocks begin to tick

https://www.nytimes.com/2026/10/07/science/first-nuclear-clocks-thorium-229.html
93•gumby•14h ago•13 comments

Classic PC demoscene productions running natively in the browser

https://treylorswift.github.io/demoscene-recomp/web/
4•adunk•1h ago•0 comments

Docker Agent

https://github.com/docker/docker-agent
226•saikatsg•14h ago•106 comments

New repository settings for configuring pull request access

https://github.blog/changelog/2026-02-13-new-repository-settings-for-configuring-pull-request-acc...
4•Bluestein•2d ago•2 comments

A 100x faster* alternative to homebrew

https://github.com/zerobrewhq/zerobrew
75•cachebag•4h ago•59 comments

A minimal kernel in Swift, running in QEMU

https://carette.xyz/posts/minimal_swift_kernel_on_qemu/
71•surprisetalk•1d ago•12 comments

Push ifs up and fors down: The idiom, its algebra, and its limits

https://debasishg.github.io/blog/push-ifs-up-fors-down/
143•speckx•13h ago•66 comments

Sharing AI progress in mathematics

https://openai.com/index/sharing-ai-progress-in-mathematics/
1276•OfficialTurkey•1d ago•1450 comments

The people holding up the internet

https://sheets.works/data-viz/holding-up-the-internet
98•simjue•1h ago•38 comments

Dat-ecosystem: high level applications built on top of P2P protocols

https://dat-ecosystem.org/
7•janandonly•1h ago•1 comments

Animated ASCII Art for Web Pages

https://ascii.rest/
345•turrini•17h ago•61 comments

Port of the TypeScript compiler, checker and lsp to Rust, by LLM

https://github.com/pingdotgg/ts-rust
50•jcbhmr•7h ago•80 comments

How machines learned precision

https://glinscott.github.io/how-machines-learned-precision/
156•glinscott•1d ago•61 comments

Why were Victorian elites so effective?

https://worksinprogress.co/issue/the-seven-vices-of-highly-effective-victorians/
145•karakoram•17h ago•236 comments

House with 15m underground tunnels for sale for 300k

https://www.readingchronicle.co.uk/news/26612080.house-15m-underground-tunnels-sale-300k/
199•librasteve•19h ago•187 comments

Navier–Stokes Lost in Translation

https://arxiv.org/abs/2610.08144
300•nill0•16h ago•182 comments

ENIAC Programmers (2011)

https://www.columbia.edu/cu/computinghistory/eniac.html
13•adunk•2d ago•1 comments