Ling UI Design (Ming-Image)
Skill : A reusable method: instructions, procedures, sometimes scripts or templates
An agent skill that generates a visual UI mockup, splits it into layers, then uses those layers to write UI code and visually verify the result.
An interesting approach for code agents that produce plain interfaces: they start from a generated mockup instead of improvising. Suited only to those who can run a code agent and a model service; where data goes depends on the service chosen.
Security reflects where data goes, requested permissions and incidents on record at the verification date. It is not a guarantee of zero risk: check the deployment mode and the connections you enable.
What it does, concretely
Code agents often produce functional but visually plain interfaces because they generate code without any visual reference to start from. Ling UI Design addresses this by giving the agent a generated mockup before it writes a single line of code.
In practice, the skill relies on two open-source 6-billion-parameter models: Ming-Image-0.1-Design generates an image of the interface from a text description, then Ming-Image-0.1-Design-Layer decomposes that image into independent transparent layers. The agent then uses those layers as a reference to write the UI code, and visually checks that the rendered result matches the mockup.
This tool is aimed at developers and technical teams running code agents who want more polished interfaces without drawing a mockup by hand. It requires a compatible model service and a configured Python environment.
It is not suited to people looking for a ready-to-use graphic tool or who are unfamiliar with setting up inference pipelines. Getting started requires a machine with a GPU of at least 80 GiB of memory to run the models locally.
What it offers
- ·Generation of a visual UI, infographic, or poster mockup from a text description.
- ·Decomposition of a flattened design image into independent, editable transparent layers.
- ·Automatic rewriting of a short description into a structured Figma-style prompt (JSON with coordinates, hierarchy, colours) via a VLM.
- ·Generation of images with an alpha channel (transparent background) by adding a specific prefix to the prompt.
- ·Visual verification of the UI code render by the agent after generation, comparing it against the reference visual.
- ·Companion skill for converting an image into an editable PowerPoint presentation (text and simple shapes converted to native elements).
- ·Models available on Hugging Face and ModelScope, with an online demo for each model.
In practice
- Price
- Free
- Commercial use
- Commercial use: yes
- Available on
- GitHub
- Licence
- MIT
- FR interface
- No
Security and data
- Rating
- Security: one caveat, see the card
- Your data
- Local or cloud depending on use
- Maintenance
- Active
Links and repository checked on 11 October 2026 · added on 29 September 2026
How to install Ling UI Design (Ming-Image)
pip install -r requirements.txt