By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: An End-to-End System for Generating Frontends from Sketches with LLMs | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > An End-to-End System for Generating Frontends from Sketches with LLMs | HackerNoon
Computing

An End-to-End System for Generating Frontends from Sketches with LLMs | HackerNoon

News Room
Last updated: 2026/01/21 at 11:00 PM
News Room Published 21 January 2026
Share
An End-to-End System for Generating Frontends from Sketches with LLMs | HackerNoon
SHARE

Table Of Links

ABSTRACT

1 INTRODUCTION

2 SYSTEM DESIGN

3 RESULTS, DISCUSSION AND REFERENCES

SYSTEM DESIGN

We introduce Frontend Diffusion, an end-to-end LLM-powered high-quality frontend code generation tool, spanning from sketching canvas to website previews. As outlined in the introduction, the frontend generation task progresses through three stages: sketching, writing, and coding Our system utilizes the Claude 3.5 Sonnet language model (Sonnet)1 for all text and code generation.

While Claude represents one of the most advanced language models as of July 2024, we anticipate rapid developments in Generative AI. Therefore, the task transition techniques described herein are designed to be model-agnostic, ensuring their applicability to future, more advanced Generative AI models.

2.1 Sketching: Visual Layout Design and Theme Input

The system’s initial phase comprises a graphical user interface with two key components: a canvas panel for visual representation of the envisioned website layout, and a prompt panel for textual descriptions of the website theme. Upon completion of the user’s sketch and theme input, the user can activate the code generation process via “Generate” button.

The system then converts the sketch into SVG format, followed by a subsequent transformation into JPG format. This two-step conversion process was implemented based on empirical evidence from our tests, showing that language models exhibit better performance when processing images in JPG format compared to images in SVG format.

2.2 Writing: Product Requirements Document Generation

This phase transforms the user’s visual and textual inputs into a structured document, referred to as the Product Requirements Document (PRD), which serves as a blueprint for the website’s development process. The PRD generation process leverages Sonnet. To enhance the visual appearance of the generated websites, the system integrates the Pexels API2 for image retrieval.

The language model is specifically prompted to include image terms and size descriptions (e.g., [school(large)]). These descriptors are subsequently utilized to query the Pexels API, which returns relevant image URLs for incorporation into the PRD.

2.3 Coding: Website Generation and Iterative Refinement

The coding phase of the system consists of two primary components: (1) Initial code generation: the system utilizes the generated PRD and the original user prompt as inputs for code generation, employing Sonnet to produce the initial website code; (2) Iterative refinement: the system implements an iterative refinement process to automatically enhance the generated website with richer functionality and reduced flaws.

This process involves analyzing the initial code to generate optimization suggestions, merging these suggestions with the original theme, and utilizing the enhanced theme along with the previously generated PRD to regenerate the code. The system executes this iterative refinement process multiple times (by default, n=4). Users can navigate between iterations by selecting preview thumbnails displayed at the interface’s bottom, and can access or copy the generated code for each version.

:::info
Authors:

  1. Qinshi Zhang
  2. Latisha Besariani Hendra
  3. Mohan Chi
  4. Zijian Ding

:::

:::info
This paper is available on arxiv under CC BY 4.0 DEED license.

:::

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Microsoft releases emergency patch for Cloud PC Microsoft releases emergency patch for Cloud PC
Next Article An AI Liza Minnelli is the star of the ‘Eleven Album’ An AI Liza Minnelli is the star of the ‘Eleven Album’
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Agentic healthcare platform Flexzo AI raises £9m – UKTN
Agentic healthcare platform Flexzo AI raises £9m – UKTN
News
The MacRumors Show: Surprise AirPods Max 2 Announcement
The MacRumors Show: Surprise AirPods Max 2 Announcement
News
Linux Patches Updated To Steal Tasks For Improving CPU Utilization
Linux Patches Updated To Steal Tasks For Improving CPU Utilization
Computing
Grab one of Amazon’s popular 11‑inch tablets for half price right now
Grab one of Amazon’s popular 11‑inch tablets for half price right now
Gadget

You Might also Like

Linux Patches Updated To Steal Tasks For Improving CPU Utilization
Computing

Linux Patches Updated To Steal Tasks For Improving CPU Utilization

2 Min Read
Two Tencent-appointed directors resign from Epic Games board · TechNode
Computing

Two Tencent-appointed directors resign from Epic Games board · TechNode

4 Min Read
AI Tools for Marketing: The Essential Tools You Need
Computing

AI Tools for Marketing: The Essential Tools You Need

2 Min Read
Critical Langflow Flaw CVE-2026-33017 Triggers Attacks within 20 Hours of Disclosure
Computing

Critical Langflow Flaw CVE-2026-33017 Triggers Attacks within 20 Hours of Disclosure

6 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?