paper-with-me

홈 › Papers

DesignAsCode: Bridging Structural Editability and Visual Fidelity in Graphic Design Generation

2026-02-06 · Ziyuan Liu, Shizhao Sun, Danqing Huang, Yingdong Shi, Meisheng Zhang, Ji Li, Jingsong Yu, Jiang Bian arxiv

Graphic design generation demands a delicate balance between high visual fidelity and fine-grained structural editability. However, existing approaches typically bifurcate into either non-editable raster image synthesis or abstract layout generation devoid of visual content. Recent combinations of these two approaches attempt to bridge this gap but often suffer from rigid composition schemas and unresolvable visual dissonances (e.g., text-background conflicts) due to their inexpressive representation and open-loop nature. To address these challenges, we propose DesignAsCode, a novel framework that reimagines graphic design as a programmatic synthesis task using HTML/CSS. Specifically, we introduce a Plan-Implement-Reflect pipeline, incorporating a Semantic Planner to construct dynamic, variable-depth element hierarchies and a Visual-Aware Reflection mechanism that iteratively optimizes the code to rectify rendering artifacts. Extensive experiments demonstrate that DesignAsCode significantly outperforms state-of-the-art baselines in both structural validity and aesthetic quality. Furthermore, our code-native representation unlocks advanced capabilities, including automatic layout retargeting, complex document generation (e.g., resumes), and CSS-based animation. Our project page is available at https://liuziyuan1109.github.io/design-as-code/.

📄 PDF Abstract BibTeX arXiv:2602.17690

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

VAnim: Rendering-Aware Sparse State Modeling for Structure-Preserving Vector Animation

2026-05-02 · Guotao Liang, Zhangcheng Wang, Chuang Wang, Juncheng Hu 외 arxiv

Scalable Vector Graphics (SVG) animation generation is pivotal for professional design due to their structural editability and resolution independence. However, this task remains challenging as it requires bridging discr…

Reinforcement LearningMotion Planning

AnchorFlow: Editable SVG Reconstruction via Sparse Anchor Point Fields

2026-05-19 · Mengnan Jiang, Christian Franke, Michele Franco Adesso, Antonio Haas 외 arxiv

Image-to-SVG reconstruction aims to produce vector graphics that are faithful to raster inputs and easy to edit. Existing methods face a structural trade-off in how vector structure is parameterized, including how many p…

Doubly Abductive Counterfactual Inference for Text-based Image Editing

2024-03-05 · CVPR 2024 1 · Xue Song, Jiequan Cui, Hanwang Zhang, Jingjing Chen 외

We study text-based image editing (TBIE) of a single image by counterfactual inference because it is an elegant formulation to precisely address the requirement: the edited image should retain the fidelity of the origina…

counterfactualCounterfactual InferenceStyle TransferText-based Image Editing

Customized Generation Reimagined: Fidelity and Editability Harmonized

2024-12-06 · Jian Jin, Yang shen, ZhenYong Fu, Jian Yang

Customized generation aims to incorporate a novel concept into a pre-trained text-to-image model, enabling new generations of the concept in novel contexts guided by textual prompts. However, customized generation suffer…

Denoising

Consistent and Editable: A Balanced Framework for Text-Guided Video Editing

2026-07-06 · Tao Jin, Li Xiao arxiv

Recently, diffusion models have achieved considerable success in the text-guided video editing domain. However, existing works often struggle to balance the trade-off between temporal consistency and editability in video…