Or just use Google's Stitch, it integrates both code via Gemini and image UI generation via Nano Banana which I'd argue is even better than OpenAI's image models.
It's really not, gpt-image-2 is #1 by over 100 ELO.
It's really not, gpt-image-2 is #1 by over 100 ELO.