Multimodal LLM Capability Boundaries in Frontend Replication and Information Extraction

    This article examines what multimodal large language models can and cannot do in two practical scenarios: replicating frontend UI from screenshots and extracting structured information from mixed image content. It covers generated HTML/CSS skeletons, missing interaction logic, external image retrieval requirements, structured output quality, human review needs, prompt maintenance, and engineering considerations for production use. The conclusions are based on demonstration samples only and should not be used directly as a model-selection benchmark.

    Multimodal large language models (MLLMs) can already process image inputs such as screenshots, tables, and handwritten documents. For developers, the question has shifted from whether these models can do the work to what extent they can do it and what prerequisites are required. This article uses two sample scenarios—frontend UI replication and mixed image-text information extraction—to show actual model behavior and to mark which conclusions require human confirmation.

    One caveat should be stated first: this article does not provide a unified scoring rubric, sample size, or specific model version. Therefore, the conclusions below only represent the demonstration samples in this article and should not be used directly as a basis for model selection. Readers who want to evaluate a specific model should run sampled tests with their own business data.

    1. Frontend UI replication: generates a skeleton, but interactions must be completed by developers

    Give a screenshot of a feed page to a model and ask it to output the corresponding HTML and CSS. In this sample, the layout hierarchy of the generated code was generally clear, and basic styles such as card spacing, rounded corners, and borders could be reproduced. Image areas were represented with placeholder elements, and the code structure was easy to read.

    This judgment is based only on the output code itself; this article does not infer the model’s internal processing approach. The output did not include an image slicing and stitching solution, which is a result that can be observed directly in the code.

    Another type of request is finding matching images based on card titles. The model itself cannot search the web for assets. To obtain real images, the system needs to integrate web search tools or function calling, with a program handling search, filtering, and replacement, while the model only organizes the call arguments based on the title. In the code below, the image URL is a fictional placeholder link used only to illustrate the structure:

    1. <div class="card" onclick="openDetail('post_001')">
    2. <img src="https://example.com/placeholder-image.jpg" alt="Placeholder image" class="card-image">
    3. <h3>Frontend Architecture Evolution Trends</h3>
    4. </div>

    Detail-page interaction is the third part. The model can generate the structure for buttons, comment lists, and player controls, and provide event-binding code. However, dragging the progress bar, buffering, and playback state synchronization still need to be implemented by developers according to the actual player interface. The script output by the model is only a skeleton and cannot be put directly into production.

    2. Mixed information extraction: structured output is usable but requires review

    In one request, the same image contained a handwritten table, a receipt with a red stamp, and a handwritten resume. The prompt asked the model to output an HTML table, JSON fields, and Markdown text separately. In the sample, the model was generally able to distinguish the different regions and output them in the required formats.

    The following is a fictional example; the field names and values are not real receipt content:

    1. {
    2. "stamp": {
    3. "company_name": "Example Technology Co., Ltd.",
    4. "tax_id": "EXAMPLE_TAX_ID",
    5. "stamp_color": "red"
    6. }
    7. }

    For handwritten content, recognition accuracy is clearly affected by handwriting legibility. Messy numbers, fields obscured by stamps, and tables spanning pages are all error-prone. Therefore, finance or approval scenarios should retain a human review step and set validation rules for key fields such as amounts, tax IDs, and dates. For example, the numeric amount should match the amount in words, and the tax ID length should meet the required format.

    To assess extraction quality, prepare a set of samples with ground-truth answers and calculate accuracy by field. Stamp fields, table cells, and plain text should be counted separately because their difficulty differs significantly. If accuracy for a certain field type remains low over time, prioritize adjusting the prompt or switching to manual entry rather than forcing a higher automation rate.

    Prompts themselves also need to be maintained separately. It is advisable to turn the output format, field definitions, and refusal rules into templates, and to set up retry or human-handoff processes for parsing failures.

    3. Production implementation: design the workflow first, then choose infrastructure

    Multimodal requests are typically large and slow. A common approach is to store images in object storage, process them asynchronously through a message queue, and use containerized services that scale with load. Logs and monitoring should cover call volume, response latency, and error rate, and should distinguish format errors from content errors to make troubleshooting easier.

    Under higher concurrency, rate limiting and timeout retries should also be configured for the model interface, and the image dimensions of each request should be recorded. Image resolution directly affects latency and cost, which is often overlooked in cost estimation.

    The architecture above is a general pattern that can be implemented on any major cloud provider or in a self-hosted environment. This article does not recommend specific products.

    4. Conclusions and recommendations

    In both frontend skeleton generation and structured extraction, multimodal models can already produce usable first drafts. They save starting time, not complete delivery time. Interaction logic, asset sources, field validation, and exception handling still need to be completed by developers.

    Before adoption, three things should be done: run sampled tests with real samples from the target business; record the error types and manual correction cost for each task type; and estimate total cost based on correction cost rather than per-call unit price alone. Only then does the cost judgment have a basis, and only then can API usage spending be controlled reasonably.