Agent-driven creation of editable, tastefully crafted visual artifacts.
Python
Restore title badges and clarify the four-step design distillation method
yejy53244301eedcdd
diff --git a/README.md b/README.mdindex 37359fa..470a389 100644--- a/README.md+++ b/README.md@@ -1,5 +1,11 @@# Editable Visual Design+[](https://huggingface.co/papers/2609.04034)+[](https://arxiv.org/abs/2609.04034)+[](https://arxiv.org/pdf/2609.04034)+[](#gallery)+[](https://github.com/yejy53/Editable-Design/stargazers)+**Coding-agent-driven creation of editable, tastefully crafted visual artifacts.**## News@@ -8,10 +14,6 @@- **2026-09-08** — 🔬 **[Paper Fig](./docs/paper-fig.md), developed with GPT-6:** turn method descriptions into editable paper workflow diagrams in your chosen style. [Install](./docs/paper-fig.md#install-and-use-paper-fig) · [Examples](./docs/paper-fig.md#examples).- **2026-09-04** — 📢 **Editable Design — Initial Release!** Create editable posters, infographics, art posters, and marketing campaigns with real text, independent layers, and Agent Design Replay. 📄 [Read our paper on arXiv](https://arxiv.org/abs/2609.04034).-## Paper--[arXiv abstract](https://arxiv.org/abs/2609.04034) · [PDF](https://arxiv.org/pdf/2609.04034) · [Hugging Face](https://huggingface.co/papers/2609.04034)-## Blog### How to hacking Design Arena: What Makes Generated Websites Fascinating?diff --git a/site/content/blog/genclaw-next.en.md b/site/content/blog/genclaw-next.en.mdindex 0fef2f3..f1e916f 100644--- a/site/content/blog/genclaw-next.en.md+++ b/site/content/blog/genclaw-next.en.md@@ -83,15 +83,15 @@ item: | /blog/genclaw-next/robot-3d.mp4## Distilling design behavior from design.md-The earlier observations led to a further question: can **the design intent in `design.md` become a more natural part of how a model generates a page**? We start from a concrete design plan that considers visual organization, asset needs, and the dynamic experience together before implementation begins.+The earlier observations led to a further question: can **the design decisions in `design.md` become part of a model's default page-generation behavior**? We explore **context distillation** with a concrete design plan as the starting point, organized into four steps:-A `design.md` can develop three connected aspects of the design:+1. **Write the design plan: turn the brief into `design.md`.** Start from the page's content and use case. Specify the focal image, information hierarchy, reading order, typography, whitespace, and section proportions, giving the subsequent implementation a concrete design direction.-- **Visual hierarchy and layout.** Specify the focal image, reading order, type hierarchy, whitespace, and section proportions so each module serves the page's content.-- **Assets and expression.** Decide where photography, illustration, texture, or other assets are needed, and how they work with the text, palette, and layout.-- **Motion and interaction.** Plan entrance sequences, scroll reveals, hover feedback, and state transitions where appropriate. Motion should guide attention, explain changes, and keep reading and interaction coherent.+2. **Plan assets and motion together: give the page a distinct expression.** Describe where photography, illustration, or texture belongs and how it works with the palette, text, and layout. Where useful, plan entrance sequences, scroll reveals, hover feedback, and state transitions so visual assets and the dynamic experience work together to guide attention.-Following this direction, we explored **context distillation based on `design.md`**. During sample generation, design planning and asset suggestions guide Qwen-3.6 27B in building a page. We filter and rewrite the generated results, then pair the original user requests with the selected implementations for training. The behavior we want to retain is the expression of design intent in code: where assets belong, how information unfolds, and how interactions respond. Motion and interaction can also be part of the plan; the subsequent preference comparisons still assess the page as a whole.+3. **Generate from the plan, then curate the pages.** Guide Qwen-3.6 27B with `design.md` and asset suggestions to generate complete pages. Check whether the results address the original request and whether image URLs are valid; filter or rewrite unsuitable samples. Retain implementations that express the design intent through HTML, CSS, and JavaScript as training targets.++4. **Distill design decisions into default generation behavior.** Train on the original user request paired with the selected page code, omitting the `design.md` used during sample generation from the training input. The aim is for the model to learn to organize layouts, choose assets, and arrange interactions from ordinary requests—making where assets belong, how information unfolds, and how interactions respond more natural generation choices.In the **non-agentic setup**, the model emits HTML, CSS, and JavaScript in a single pass. The resulting page can contain motion and interaction, although the model does not call search or image-generation tools during generation. It can write external image URLs for the browser to fetch when the page loads. In some samples we observed Unsplash IDs such as `photo-xxxxxxx-xxxxxxx`; this [image-ID usage pattern](https://www.designarena.ai/blog/kimi-k3s-design-secret-may-be-in-its-thinking-traces) has also attracted discussion. With design planning and asset suggestions, some models, including Qwen-3.6 27B, became more inclined to use these image resources.diff --git a/site/content/blog/genclaw-next.zh.md b/site/content/blog/genclaw-next.zh.mdindex 7bdbd60..f094b5b 100644--- a/site/content/blog/genclaw-next.zh.md+++ b/site/content/blog/genclaw-next.zh.md@@ -83,15 +83,15 @@ item: | /blog/genclaw-next/robot-3d.mp4## 从 design.md 到设计行为的蒸馏-前面的观察给了我们一个进一步的问题:能否把 **`design.md` 中的设计意图,转化为模型生成页面时更自然的选择**?我们的出发点是一份具体的设计稿——在代码生成之前,把页面的视觉组织、素材需求和动态体验一起考虑清楚。+前面的观察给了我们一个进一步的问题:能否把 **`design.md` 中的设计决策,沉淀为模型生成页面时的默认行为**?我们尝试以设计稿为起点做 **context distillation**,把这条路径组织成四步:-这份 `design.md` 可以围绕三个相互关联的方面展开:+1. **先写设计稿:把页面需求落到 `design.md`。** 从页面内容和使用场景出发,明确主视觉、信息主次、阅读顺序、字体层级、留白与区域比例,形成后续代码生成可以遵循的具体设计规划。-- **视觉层级与版式。** 明确主视觉、阅读顺序、字体层级、留白和区域比例,让每个模块服务于页面内容。-- **素材与表达。** 决定哪些区域需要摄影、插画、纹理或其他素材,以及它们与文字、配色和布局如何配合。-- **动效与交互。** 按页面需要规划入场顺序、滚动揭示、悬停反馈和状态切换,让运动引导注意力、解释变化,并保持阅读与操作的连贯性。+2. **联合规划素材与动效:让页面有自己的表达。** 在设计稿中写清哪些位置需要摄影、插画或纹理,以及素材与配色、文字和布局如何配合;再按页面需要规划入场顺序、滚动揭示、悬停反馈和状态切换,让视觉素材与动态体验共同引导注意力。-沿着这一思路,我们尝试基于 `design.md` 的 **context distillation**:在样本生成阶段,用设计规划与素材建议引导 Qwen-3.6 27B 完成页面;对生成结果做筛选和改写,再以原始用户请求和筛选后的实现结果构建训练样本。我们希望留下的是设计意图在代码中的体现:素材放在哪里、信息如何展开、交互怎样响应。动效与交互也可以成为设计稿的一部分,而后续的偏好比较仍以整页结果为对象。+3. **按设计稿生成,再筛选页面。** 用 `design.md` 和素材建议引导 Qwen-3.6 27B 生成完整页面,检查结果是否回应原始需求、图片地址是否有效,并对不合格样本过滤或改写。保留的训练目标,是设计意图已经落实到 HTML、CSS 和 JavaScript 中的页面实现。++4. **把设计决策蒸馏进默认生成行为。** 训练时,以原始用户请求为输入,以筛选后的页面代码为目标;样本生成时使用的 `design.md` 不随训练输入提供。我们希望模型逐步学会在普通请求下自行组织版式、选择素材、安排交互,让“素材放在哪里、信息如何展开、交互怎样响应”成为生成过程中的自然选择。在 **Non-Agentic 设置**中,模型单轮输出 HTML、CSS 和 JavaScript,页面可以包含动效与交互,但模型在生成过程中不调用搜索或生图工具。图片则可以通过写入外部 URL,由浏览器在加载页面时获取。在我们观察的样本中,一些模型会引用形如 `photo-xxxxxxx-xxxxxxx` 的 Unsplash ID;相关的[图片 ID 使用现象](https://www.designarena.ai/blog/kimi-k3s-design-secret-may-be-in-its-thinking-traces)也受到过讨论。加入设计规划和素材建议后,我们观察到包括 Qwen-3.6 27B 在内的一些模型更倾向于使用这些图片资源。