Prof's trick: restyle a screenshot in ChatGPT, feed it to Codex as goal image

CSProfKGD · x · 2026-10-03

Georgia Tech professor K. Gopalakrishnan (CSProfKGD) shared how he iterated on UI layouts with his wife. The hardest part was getting Codex to nail a clay-like visual style from text prompts alone.

His solution is a two-step workflow: drop a screenshot into ChatGPT and ask it to restyle the UI as clay, then use the result as the goal image in Codex. Codex then autonomously ground away for about half an hour and came very close to the target. The trick—generate a style reference image first, then hand it to a coding agent—is directly reusable for UI work.

Related event: Professor Uses ChatGPT Images as Codex Goal to Build Claymation UI in 30 Minutes(2 posts)→

Original post →

More from coding & agent

coding & agent channel →