zai-org / WebVIA-Agent

huggingface.co
Total runs: 303
24-hour runs: 0
7-day runs: 15
30-day runs: 35
Model's Last Updated: November 12 2025
image-text-to-text

Introduction of WebVIA-Agent

Model Details of WebVIA-Agent

WebVIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generation

abs

WebVIA is the first agentic framework for interactive and verifiable UI-to-Code generation. While prior vision-language models only produce static HTML/CSS layouts, WebVIA enables executable and interactive web interfaces. The framework consists of three modules:

  • WebVIA-Agent – navigates websites and captures multi-state UI screenshots.
  • WebVIA-UI2Code – generates functional HTML/CSS/JavaScript code with interactivity.
  • Validation Module – verifies whether the generated UI behaves as expected.

Backbone Model

Our model is built on GLM-4.1V-9B-Base .

Quick Inference

This is a simple example of running single-image inference using the transformers library.
First, install the transformers library:

pip install transformers>=4.57.1

Then, run the following code:

from transformers import AutoProcessor, AutoModelForImageTextToText
import torch

messages = [
    {
        "role": "user",
        "content": [
            {
                "type": "image",
                "url": "https://raw.githubusercontent.com/zheny2751-dotcom/UI2Code-N/main/assets/example.png"
            },
            {
                "type": "text",
                "text": "Based on the domtree and the page screenshot, please identify which interactive components in the image require interaction. Please note that if similar buttons have been clicked on similar pages in the past, do not click them again, and also do not select buttons that are obscured on the page."
            }
        ],
    }
]
processor = AutoProcessor.from_pretrained("zai-org/WebVIA-Agent")
model = AutoModelForImageTextToText.from_pretrained(
    pretrained_model_name_or_path="zai-org/WebVIA-Agent",
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt"
).to(model.device)
generated_ids = model.generate(**inputs, max_new_tokens=16384)
output_text = processor.decode(generated_ids[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False)
print(output_text)

See our Github Repo for more detailed usage.

Citation

If you find our model useful in your work, please cite it with:

@article{xu2025webvia,
    title={WebVIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generation},
    author={Xu, Mingde and Yang, Zhen and Hong, Wenyi and Pan, Lihang and Fan, Xinyue and Wang, Yan and Gu, Xiaotao and Xu, Bin and Tang, Jie},
    year={2025},
    journal={arXiv preprint arXiv:2511.06251}
}

Runs of zai-org WebVIA-Agent on huggingface.co

303
Total runs
0
24-hour runs
2
3-day runs
15
7-day runs
35
30-day runs

More Information About WebVIA-Agent huggingface.co Model

More WebVIA-Agent license Visit here:

https://choosealicense.com/licenses/mit

WebVIA-Agent huggingface.co

WebVIA-Agent huggingface.co is an AI model on huggingface.co that provides WebVIA-Agent's model effect (), which can be used instantly with this zai-org WebVIA-Agent model. huggingface.co supports a free trial of the WebVIA-Agent model, and also provides paid use of the WebVIA-Agent. Support call WebVIA-Agent model through api, including Node.js, Python, http.

WebVIA-Agent huggingface.co Url

https://huggingface.co/zai-org/WebVIA-Agent

zai-org WebVIA-Agent online free

WebVIA-Agent huggingface.co is an online trial and call api platform, which integrates WebVIA-Agent's modeling effects, including api services, and provides a free online trial of WebVIA-Agent, you can try WebVIA-Agent online for free by clicking the link below.

zai-org WebVIA-Agent online free url in huggingface.co:

https://huggingface.co/zai-org/WebVIA-Agent

WebVIA-Agent install

WebVIA-Agent is an open source model from GitHub that offers a free installation service, and any user can find WebVIA-Agent on GitHub to install. At the same time, huggingface.co provides the effect of WebVIA-Agent install, users can directly use WebVIA-Agent installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

WebVIA-Agent install url in huggingface.co:

https://huggingface.co/zai-org/WebVIA-Agent

Url of WebVIA-Agent

WebVIA-Agent huggingface.co Url

Provider of WebVIA-Agent huggingface.co

zai-org
ORGANIZATIONS

Other API from zai-org

huggingface.co

Total runs: 6.5M
Run Growth: 4.9M
Growth Rate: 75.71%
Updated:October 12 2026
huggingface.co

Total runs: 1.7M
Run Growth: 1.0M
Growth Rate: 60.51%
Updated:October 12 2026
huggingface.co

Total runs: 1.7M
Run Growth: -118.1K
Growth Rate: -6.61%
Updated:September 11 2026
huggingface.co

Total runs: 1.4M
Run Growth: -470.7K
Growth Rate: -33.68%
Updated:January 29 2026
huggingface.co

Total runs: 719.0K
Run Growth: 567.8K
Growth Rate: 90.60%
Updated:August 11 2026
huggingface.co

Total runs: 638.3K
Run Growth: 495.7K
Growth Rate: 83.64%
Updated:August 11 2025
huggingface.co

Total runs: 580.6K
Run Growth: -309.0K
Growth Rate: -48.82%
Updated:September 01 2026
huggingface.co

Total runs: 455.2K
Run Growth: -861.7K
Growth Rate: -189.30%
Updated:September 01 2026
huggingface.co

Total runs: 449.0K
Run Growth: 7.2K
Growth Rate: 1.61%
Updated:August 04 2024
huggingface.co

Total runs: 442.6K
Run Growth: 320.5K
Growth Rate: 80.26%
Updated:May 13 2026
huggingface.co

Total runs: 122.7K
Run Growth: 42.6K
Growth Rate: 34.53%
Updated:August 11 2025
huggingface.co

Total runs: 106.3K
Run Growth: 28.2K
Growth Rate: 26.72%
Updated:December 10 2025
huggingface.co

Total runs: 91.1K
Run Growth: 19.9K
Growth Rate: 19.15%
Updated:January 29 2026
huggingface.co

Total runs: 56.2K
Run Growth: -6.7K
Growth Rate: -11.79%
Updated:December 05 2024
huggingface.co

Total runs: 52.9K
Run Growth: -33.0K
Growth Rate: -60.86%
Updated:March 13 2025
huggingface.co

Total runs: 39.3K
Run Growth: 25.5K
Growth Rate: 65.50%
Updated:September 04 2026
huggingface.co

Total runs: 35.9K
Run Growth: -7.8K
Growth Rate: -20.87%
Updated:October 25 2025
huggingface.co

Total runs: 26.4K
Run Growth: -223.8K
Growth Rate: -847.74%
Updated:April 16 2026
huggingface.co

Total runs: 22.2K
Run Growth: -181.6K
Growth Rate: -847.95%
Updated:April 05 2026
huggingface.co

Total runs: 18.7K
Run Growth: -683
Growth Rate: -3.89%
Updated:September 30 2025
huggingface.co

Total runs: 16.8K
Run Growth: 2.6K
Growth Rate: 15.83%
Updated:December 23 2025
huggingface.co

Total runs: 16.1K
Run Growth: -5.9K
Growth Rate: -36.19%
Updated:November 23 2024
huggingface.co

Total runs: 14.7K
Run Growth: -498
Growth Rate: -3.35%
Updated:November 23 2024
huggingface.co

Total runs: 13.1K
Run Growth: -7.7K
Growth Rate: -60.42%
Updated:March 03 2025
huggingface.co

Total runs: 11.9K
Run Growth: -8.3K
Growth Rate: -70.85%
Updated:April 14 2025
huggingface.co

Total runs: 7.3K
Run Growth: 298
Growth Rate: 4.03%
Updated:April 22 2025
huggingface.co

Total runs: 6.8K
Run Growth: -1.1K
Growth Rate: -15.80%
Updated:October 16 2025
huggingface.co

Total runs: 4.0K
Run Growth: 2.3K
Growth Rate: 55.26%
Updated:August 12 2025
huggingface.co

Total runs: 3.9K
Run Growth: -5.6K
Growth Rate: -131.19%
Updated:January 15 2026
huggingface.co

Total runs: 3.8K
Run Growth: 174
Growth Rate: 4.30%
Updated:December 09 2025
huggingface.co

Total runs: 3.3K
Run Growth: -2.8K
Growth Rate: -83.41%
Updated:March 11 2025
huggingface.co

Total runs: 2.5K
Run Growth: -232
Growth Rate: -8.75%
Updated:October 25 2025
huggingface.co

Total runs: 2.4K
Run Growth: -649
Growth Rate: -26.81%
Updated:August 04 2024
huggingface.co

Total runs: 2.0K
Run Growth: -3.3K
Growth Rate: -165.63%
Updated:January 27 2025
huggingface.co

Total runs: 2.0K
Run Growth: -5.4K
Growth Rate: -190.24%
Updated:October 25 2024
huggingface.co

Total runs: 1.8K
Run Growth: -11.3K
Growth Rate: -621.78%
Updated:December 09 2025
huggingface.co

Total runs: 994
Run Growth: 591
Growth Rate: 59.04%
Updated:October 20 2023
huggingface.co

Total runs: 593
Run Growth: -8
Growth Rate: -1.38%
Updated:August 11 2025
huggingface.co

Total runs: 582
Run Growth: 191
Growth Rate: 50.40%
Updated:January 13 2026
huggingface.co

Total runs: 471
Run Growth: 97
Growth Rate: 23.21%
Updated:October 25 2025
huggingface.co

Total runs: 414
Run Growth: 126
Growth Rate: 28.13%
Updated:December 10 2024
huggingface.co

Total runs: 320
Run Growth: -350
Growth Rate: -106.38%
Updated:March 02 2023
huggingface.co

Total runs: 265
Run Growth: 0
Growth Rate: 0.00%
Updated:July 09 2025