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?

Previewing GPT‑5.6 Sol: a next-generation model

https://openai.com/index/previewing-gpt-5-6-sol/
353•minimaxir•1h ago•221 comments

If your blog doesn't have an RSS feed, then it's not a blog

https://martinschuhmann.com/rss
10•speckx•17m ago•1 comments

MicroVMs: Run isolated sandboxes with full lifecycle control

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
155•justincormack•3d ago•91 comments

Show HN: Smart model routing directly in Claude, Codex and Cursor

https://github.com/workweave/router
65•adchurch•2h ago•51 comments

U.S. government will decide who gets to use GPT-5.6

https://www.washingtonpost.com/technology/2026/06/26/openai-says-us-government-will-vet-users-its...
68•alain94040•38m ago•154 comments

Ultrasound imaging of the brain

https://alephneuro.com/blog/ultrasound-brain
149•rossant•7h ago•54 comments

Om Malik has died

https://om.co/2026/06/24/1966-2026/
1223•minimaxir•22h ago•148 comments

Modern GPU Programming for MLSys

https://mlc.ai/modern-gpu-programming-for-mlsys/
13•crowwork•3d ago•1 comments

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
1577•verditelabs•1d ago•348 comments

Liva AI (YC S25) Is Hiring

https://www.ycombinator.com/companies/liva-ai/jobs/gvtc3Ep-founding-operations-lead
1•ashlleymo•2h ago

Springer Nature has removed two studies by Max Planck

https://www.science.org/content/article/why-have-papers-one-history-s-most-famous-physicists-been...
277•adharmad•4h ago•131 comments

'Cost Me the Election': Data Centers Trigger Voter Backlash

https://www.newsweek.com/cost-me-the-election-data-centers-trigger-voter-backlash-12118327
53•randycupertino•1h ago•38 comments

What is a Lithium-ion capacitor?

https://www.jtekt.co.jp/e/products/capacitor/capacitor_about.html
15•ksec•3h ago•2 comments

What Is a Nomogram and Why Would It Interest Me?

https://lefakkomies.github.io/pynomo-doc/introduction/introduction.html#what-is-a-nomogram-and-wh...
9•Eridanus2•1h ago•3 comments

Libre Barcode Project

https://graphicore.github.io/librebarcode/
259•luu•15h ago•45 comments

Incident CVE-2026-LGTM

https://nesbitt.io/2026/06/26/incident-report-cve-2026-lgtm.html
423•mooreds•6h ago•74 comments

22-year-old Mozart's handwritten notebook unearthed in 'major discovery'

https://www.classicfm.com/composers/mozart/handwritten-notebook-discovered-major-paris/
221•thunderbong•6d ago•68 comments

What happened after 2k people tried to hack my AI assistant

https://www.fernandoi.cl/posts/hackmyclaw/
318•cuchoi•16h ago•149 comments

Framework's 10G Ethernet module exposes USB-C's complexity

https://www.jeffgeerling.com/blog/2026/framework-10g-ethernet-module-usb-c-complexity/
289•Alupis•17h ago•168 comments

LaTeX.wasm: LaTeX Engines in Browsers

https://www.swiftlatex.com/
44•theanonymousone•2d ago•11 comments

Bipartite Matching Is in NC

https://scottaaronson.blog/?p=9851
92•amichail•3d ago•13 comments

Show HN: WebBase-III – dBASE III rebuilt in the browser with its own interpreter

https://github.com/DDecoene/WebBaseIII
60•ddecoene•2d ago•15 comments

A US military exercise to launch a satellite on short notice

https://arstechnica.com/space/2026/06/a-us-military-exercise-in-space-got-underway-with-barely-an...
91•jonbaer•3d ago•57 comments

Jolla Phone (October 2026)

https://commerce.jolla.com/products/jolla-phone-october-2026
205•mrbn100ful•4h ago•116 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
331•exploraz•3d ago•73 comments

The 'papers, please' era of the internet will decimate your privacy

https://expression.fire.org/p/the-papers-please-era-of-the-internet
1031•bilsbie•21h ago•523 comments

The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed) (2023)

https://gchandbook.org/
223•teleforce•19h ago•47 comments

Ask HN: Is "no source code was copied" still a sufficient copyright defense?

23•oscgam1•3h ago•26 comments

FEXPRs vs. vtable: how LispE interpreter works

https://github.com/naver/lispe/wiki/2.7-FEXPR-vs.-vtable
78•birdculture•2d ago•6 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
452•darthcloud•4d ago•195 comments