Remix.run Logo
▲ jjcm 2 hours ago

Disclaimer: I left Figma to build a UI design tool based on image models. I'm so biased here it hurts, but I've also spent 10 hours a day for the last year in this domain.

Where Simon is correct is that yes, the end result is editable.

Where I'd argue that he's incorrect is whether the end result is good. Would you want that parrot on a tshirt?

LLMs are fantastic at implementing, but if they don't have something to work towards that's verifiable, they tend to fall flat. This is true of both web design as well as illustration. They are improving in both categories, but I think it's telling that for all the influencer vids you see out there making games, all of them have a common piece of advice: use an image model to define the style and have the LLM work towards that.

IMO this is the better approach. Where Simon is wrong is you don't have to choose one or the other. You can use image models to guide the LLM to create something that's editable and creatively robust.

Take a look at this: https://html.non.io/kakapo/

This is the result of using an image model to guide the visuals[1], and then building that image using a LLM. It isn't a binary decision. You can use the best parts of both models.

[1] Original file: https://linen.ai/app/canvas/0ef09ba7-e244-4918-97c0-9da1b3bc...

▲simonw 2 hours ago | parent | next [-]

Yeah, feeding the result of an image model into a vision-capable LLM (which is almost all of them now) definitely helps.

A related trick I've heard recently concerns video generation models: create a rough greyscale 3D model of your desired setting in Blender, then feed that into the video model as grounding for what it produces. Gives you much more control over the background and layout then prompting purely through text.

Great demo poster! Interesting it's actually HTML+CSS with several embedded SVGs.

This kākāpō is excellent! https://html.non.io/kakapo/assets/kakapo.svg

▲kodefreeze a minute ago | parent | next [-]

The approach of using image models to create a design/image and then have an LLM procedurally generate it as an editable image works really well for generating 3d game ready models too.

I put a short write on our process to do this for an RTS game we are building here: https://playwarpact.com/blog/lowpoly-hybrid/

With Fable 5.2 we don't even need to use a 3d model generator in our pipeline anymore.

▲ 30 minutes ago | parent | prev | next [-]
[deleted]
▲jjcm 35 minutes ago | parent | prev [-]

> Interesting it's actually HTML+CSS with several embedded SVGs.

Ha, that's almost certainly because I used the build skill for linen (my tool) for the image->code conersion, which specifies web as the output. Helpful as well since the lil html cdn I linked needs an index.html for the upload.

For others just starting on image model -> llm handoffs, the final artifact can easily be steered towards whatever result you're looking for.

▲vunderba an hour ago | parent | prev | next [-]

> You can use image models to guide the LLM to create something that's editable and creatively robust.

You definitely can, but it's not always perfect. Getting there, though.

Take a look at the cannulated dragon oven. This was done by taking an old concept I had, generating a stylistic image using the open-weight image model Krea2 [1], and then feeding it into Opus 5.5 to convert to a seamlessly looping diorama [2].

[1] - https://mordenstar.com/share/stylistic-genai?image=dragon

[2] - https://pixel-dioramas.specr.net?scene=dragon-oven-2

Of course, the more constrained your domain is (like a flat vector minimalist aesthetic), the better your results will be from a procedural graphics perspective.

▲ako an hour ago | parent | prev | next [-]

Different use case. I’m really impressed by opus’s SVG generation, so much so that generate most of my presentations as one big prezzi styl SVG illustration. It will define the frames for every slide, animate the transitions, etc.

▲Paracompact an hour ago | parent | prev [-]

Very interested to learn more about this approach, as I haven't really played around since the heyday of Stable Diffusion. Do you have more info on this process, especially going from start to finish?

▲jjcm 16 minutes ago | parent | next [-]

The two brain cell description of the approach:

1. Ask for a design in an image model 2. Paste that design into an LLM, ask it to build thing that looks like image

You can start getting fancy with the process, like including inspo mood boards for steering styles, using RAG to maintain brand consistency between designs, or breaking down an image for assets (ie rendering just the hero image, or a background pattern), etc. That's basically why you build a harness/skill to handle this approach, and what my tool (linen) does. There's a few others that do it well such as https://github.com/Leonxlnx/imagegen-skills.

> Do you have more info on this process, especially going from start to finish?

I apologize for a marketing page, but it is a page i personally built that shows a walkthrough of exactly this. https://linen.ai/learn/new-site will show you how I personally go from 0->1, but you can do this with any image model. Ones I'd recommend: gpt-image-2.5 (either variety), mai-image-2.7, and canva's craft model. Note that I'd avoid gpt-image-2.6, the way it was post trained made it steer towards much more simple/ipad-like designs.

▲vunderba an hour ago | parent | prev [-]

Most recent models from Anthropic/OpenAI make this pretty trivial.

1. Generate a couple of images using stylistic modifiers to get the look you want. Use either open-weight models like Krea 2 or Moss, or proprietary models such as gpt-image-2 or nano banana-pro.

2. Drop the images into a reference folder in your repo and ask Opus 5.5 (or other multimodal LLMs such as openai astra) to draft your UI/UX using those images as a mockups.

3. Guide them using whatever your tech stack is (SVGs, p5, pixijs, CSS, etc)

4. Opus 5.5 in particular is quite good at tool usage so access to Python3 or `magick` CLI tool and it'll handle bg removal, sprite separation, et cetera.

5. Iterate and refine

Honestly it’s all pretty straightforward. It’s mostly a matter of playing with it to get an intuitive sense of what is and isn’t possible.