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?

AI agent runs amok in Fedora and elsewhere

https://lwn.net/SubscriberLink/1077035/c7e7c14fbd60fae9/
148•tanelpoder•2h ago•32 comments

Cybersecurity researchers aren't happy about the guardrails on Anthropic's Fable

https://techcrunch.com/2026/06/10/cybersecurity-researchers-arent-happy-about-the-guardrails-on-a...
254•speckx•10h ago•243 comments

πFS

https://github.com/philipl/pifs
546•helterskelter•8h ago•139 comments

Anthropic requires 30 day data retention for Fable and Mythos

https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models
225•lebovic•1d ago•96 comments

Sequoyah’s syllabary created a written language for the Cherokee

https://www.smithsonianmag.com/innovation/man-created-written-language-cherokee-did-efficiently-e...
113•grahambargeron•4h ago•69 comments

Vacuum-Form Signage

https://bethmathews.substack.com/p/the-history-behind-the-signs-lighting
21•benbreen•1d ago•4 comments

Klondike Solitaire game for curses in 5k of C

https://nanochess.org/klondike_in_c.html
27•nanochess•2d ago•0 comments

I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA

546•eries•12h ago•434 comments

How JPL keeps the 13-year-old Curiosity rover doing science

https://spectrum.ieee.org/curiosity-rover-jpl-mars-science
181•pseudolus•9h ago•41 comments

PgDog is funded and coming to a database near you

https://pgdog.dev/blog/our-funding-announcement
399•levkk•13h ago•201 comments

L'Affaire Siloxane

https://mceglowski.substack.com/p/laffaire-siloxane
165•idlewords•1d ago•25 comments

GeoLibre 1.0

https://geolibre.app/
167•jonbaer•9h ago•11 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
160•kbyatnal•10h ago•41 comments

What is it like to be a bat? (1974) [pdf]

https://www.sas.upenn.edu/~cavitch/pdf-library/Nagel_Bat.pdf
66•shadow28•6h ago•60 comments

CSS: Unavoidable Bad Parts

https://matklad.github.io/2026/06/04/css-unavoidable-bad-parts.html
10•surprisetalk•1d ago•2 comments

Deficient executive control in transformer attention

https://academic.oup.com/pnasnexus/article/5/6/pgag149/8698838
20•derbOac•3h ago•6 comments

Raspberry Pi 5 – 16GB RAM

https://www.adafruit.com/product/6125?src=raspberrypi
179•akman•7h ago•207 comments

Who's the smartest corvid?

https://thetyee.ca/Culture/2026/06/05/Whos-the-Smartest-Corvid/
78•NaOH•1d ago•64 comments

Farmer donates land for a park, city sells it for $10M as data center land

https://www.tomshardware.com/tech-industry/farmer-donates-land-for-a-park-city-sells-it-for-data-...
444•maxloh•7h ago•238 comments

World Capitals Voronoi

https://www.jasondavies.com/maps/voronoi/capitals/
43•vincnetas•2d ago•22 comments

Building a Korean ambiguity solver fast enough to skip the GPU: 7,300 words/SEC

https://kimchi-reader.app/blog/int8-cpu-korean-disambiguation
3•alaanor•2d ago•0 comments

Building an HTML-first site doubled our users overnight

https://mohkohn.co.uk/writing/html-first/
1010•edent•14h ago•466 comments

Show HN: HelixDB – A graph database built on object storage

https://github.com/HelixDB/helix-db/tree/main
95•GeorgeCurtis•11h ago•31 comments

Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use

https://github.com/anthropics/claude-code/issues/29045
353•tonyrice•9h ago•247 comments

Apache Burr: Build reliable AI agents and applications

https://burr.apache.org/
178•anhldbk•12h ago•93 comments

Notes on DeepSeek

119•vinhnx•13h ago•81 comments

Computer Lessons

https://technicshistory.com/2026/06/06/computer-lessons/
9•cfmcdonald•4d ago•0 comments

All 9,300 Japanese train station, animated by the year it opened (1872–2026)

https://jivx.com/eki
203•momentmaker•14h ago•69 comments

Authentication issues related to API requests

https://www.githubstatus.com/incidents/fcj3088jg1wx
153•Multicomp•11h ago•31 comments

Unix GC Remastered

https://mohandacherir.github.io/Qdiv7/posts/unix_new_gc/
13•mananaysiempre•4h ago•2 comments