A Modular AI Workflow for Architectural Facade Style Transfer: A Deep-Style Synergy Approach Based on ComfyUI and Flux Models
Abstract
1. Introduction
2. Theoretical Background
2.1. The Development of AI Image Style Transfer Technology
2.2. Application of AI Image Style Transfer Technology in the Architectural Field
2.3. Visual AI Platform
3. Design Process
3.1. System Architecture Design
3.2. Workflow Setup and Module Functions
3.2.1. Construction of the Style Feature Extraction Module Group
3.2.2. Construction of the Depth Information Extraction Module Group
3.2.3. Construction of the Prompt Input Module Group
3.2.4. Construction of the Image Generation Module Group
4. Experiments and Results
4.1. Experimental Setup
4.2. Experimental Results
4.3. Ablation Studies
4.4. Experimental Analysis and Discussion
4.4.1. Limitations of the Study
4.4.2. Scope and Boundary Conditions of the Study
4.4.3. Applications of Research in Architecture
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Gu, S.J.; Wang, R.X.; Wu, Y.F.; Xu, X.Y.; Yan, C.; Gao, T.Y.; Yuan, F. Exploration of AI-Heuristic Architectural Generative Design Process Based on FUGenerator Platform. In Proceedings of the 2023 National Conference on Digital Technology in Architectural Education and Research; Tongji University: Shanghai, China, 2023; pp. 441–444. [Google Scholar]
- Huang, X.R.; Wang, Y.D.; White, M.; Zhang, B. Logic and Black Box:Prospecting the Integration of Artificial Intelligence and Computer-Aided Technology in Future Architectureand Urban Design. Urban Archit. 2022, 19, 1–6+18. [Google Scholar]
- Komatina, D.; Miletić, M.; Mosurović Ružičić, M. Embracing Artificial Intelligence (AI) in Architectural Education: A Step towards Sustainable Practice? Buildings 2024, 14, 2578. [Google Scholar] [CrossRef]
- Zhang, J. An Example of Creating a Dragon Year Promotion ID by Invoking the SVD Animation Model via ComfyUI. Video Prod. 2024, 30, 68–70. [Google Scholar]
- Singh, A.; Jaiswal, V.; Joshi, G.; Sanjeeve, A.; Gite, S.; Kotecha, K. Neural style transfer: A critical review. IEEE Access 2021, 9, 131583–131613. [Google Scholar] [CrossRef]
- Johnson, J.; Alahi, A.; Fei-Fei, L. Perceptual losses for real-time style transfer and super-resolution. In European Conference on Computer Vision; Springer International Publishing: Cham, Switzerland, 2016; pp. 694–711. [Google Scholar]
- Cai, G.; Lou, Y.; Lu, F. AI enhancing prefabricated aesthetics and low carbon coupled with 3D printing in chain hotel buildings from multidimensional neural networks. Sci. Rep. 2025, 15, 13229. [Google Scholar] [CrossRef] [PubMed]
- Dumoulin, V.; Shlens, J.; Kudlur, M. A learned representation for artistic style. arXiv 2016, arXiv:1610.07629. [Google Scholar]
- Cai, G.; Sun, L.; Liu, D.; Xu, B.; Mo, Z. Potential of indoor room 3D ratio in reducing carbon emissions by prefabricated decoration in chain hotel buildings via multidimensional algorithm models for robot in-situ 3D printing. J. Build. Eng. 2025, 101, 111757. [Google Scholar] [CrossRef]
- Lin, H.; Huang, L.; Chen, Y.; Zheng, L.; Huang, M.; Chen, Y. Research on the Application of CGAN in the Design of Historic Building Facades in Urban Renewal—Taking Fujian Putian Historic Districts as an Example. Buildings 2023, 13, 1478. [Google Scholar] [CrossRef]
- Meng, J.; Fang, X.; Xu, J.; Zhang, Z. Research on the Innovative Application of Song Dynasty Boundary Painting in Interior Soft Decoration Design Based on AIGC. Buildings 2025, 15, 1067. [Google Scholar] [CrossRef]
- Chen, G.; Tong, Y.; Wu, Y.; Wu, Y.; Liu, Z.; Huang, J. Reconstruction of Cultural Heritage in Virtual Space Following Disasters. Buildings 2025, 15, 2040. [Google Scholar] [CrossRef]
- Yan, W.; Wang, T.; Zhang, C. Renewal Design of Architectural Facade Features in the Shantou Xiaogongyuan Historic District Based on Deep Learning. Buildings 2025, 15, 4404. [Google Scholar] [CrossRef]
- Chen, Z.; Zhang, N.; Xu, C.; Xu, Z.; Han, S.; Jiang, L. Typological Transcoding Through LoRA and Diffusion Models: A Methodological Framework for Stylistic Emulation of Eclectic Facades in Krakow. Buildings 2025, 15, 2292. [Google Scholar] [CrossRef]
- Duan, W.; Rao, J.; Zhao, J.; Tao, N.; Chen, J. AI-Based Pre-Renewal Design for Historic Building Facades: An AIGC–LoRA Framework with Collaborative Assessment. Buildings 2025, 15, 4212. [Google Scholar] [CrossRef]
- Wang, J.; Shi, Y.; Chen, X.; Lan, Y.; Liu, S. Teaching with Artificial Intelligence in Architecture: Embedding Technical Skills and Ethical Reflection in a Core Design Studio. Buildings 2025, 15, 3069. [Google Scholar] [CrossRef]
- Gao, L.; Wu, Y.; Yang, T.; Zhang, X.; Zeng, Z.; Chan, C.K.D.; Chen, W. Research on Image Classification and Retrieval Using Deep Learning with Attention Mechanism on Diaspora Chinese Architectural Heritage in Jiangmen, China. Buildings 2023, 13, 275. [Google Scholar] [CrossRef]
- Jin, S.; Tu, H.; Li, J.; Fang, Y.; Qu, Z.; Xu, F.; Liu, K.; Lin, Y. Enhancing Architectural Education through Artificial Intelligence: A Case Study of an AI-Assisted Architectural Programming and Design Course. Buildings 2024, 14, 1613. [Google Scholar] [CrossRef]
- Bagasi, O.; Nawari, N.O.; Alsaffar, A. BIM and AI in Early Design Stage: Advancing Architect–Client Communication. Buildings 2025, 15, 1977. [Google Scholar] [CrossRef]
- Cai, G.; Liu, D.; Wu, Z. Multidimensional algorithms-based carbon efficiency model of building geometric 3D ratios for prefabricated 3D printing design and construction. npj Clean Energy 2025, 1, 5. [Google Scholar] [CrossRef]






| ID | Information Entropy Complexity (H *) | Edge Density (E *) | Color Complexity (C *) | Comprehensive Score (S *) |
|---|---|---|---|---|
| 1 | 7.16 | 0.418 | 0.245 | 8.96 |
| 2 | 7.52 | 0.291 | 0.261 | 9.08 |
| 3 | 7.24 | 0.368 | 0.207 | 7.68 |
| 4 | 7.21 | 0.392 | 0.279 | 9.91 |
| 5 | 7.53 | 0.31 | 0.261 | 9.14 |
| 6 | 7.49 | 0.404 | 0.279 | 9.96 |
| 7 | 7.49 | 0.342 | 0.287 | 10.01 |
| 8 | 7.47 | 0.443 | 0.214 | 8.12 |
| … | … | … | … | … |
| 24 | 7.32 | 0.392 | 0.286 | 10.12 |
| Original Image | Transferred Image | Preprocessed Image |
|---|---|---|
![]() | ![]() | ![]() |
| ID | Shape Context Similarity (S1 *) | Key-Point Matching (K *) | Texture Feature Similarity (T *) | Color Gradation Similarity (C *) | Comprehensive Semantic Inheritance Score (S2 *) |
|---|---|---|---|---|---|
| 1 | 88 | 50 | 99 | 63 | 77.5 |
| 2 | 89 | 50 | 99 | 53 | 76.35 |
| 3 | 95 | 50 | 99 | 73 | 81.45 |
| 4 | 92 | 50 | 99 | 74 | 80.55 |
| 5 | 88 | 50 | 99 | 66 | 77.95 |
| 6 | 87 | 50 | 99 | 71 | 78.35 |
| 7 | 90 | 50 | 99 | 66 | 78.65 |
| 8 | 91 | 50 | 99 | 81 | 81.25 |
| … | … | … | … | … | … |
| 24 | 93 | 50 | 99 | 71 | 80.45 |
| Complexity Group | Data ID | Complexity Range | Average Similarity Score |
|---|---|---|---|
| High Complexity Group | 18 11 22 10 20 24 7 6 | 9.96–15.23 | 78.7125 |
| Medium Complexity Group | 4 15 17 5 2 1 14 8 | 8.12–9.91 | 78.65 |
| Low Complexity Group | 16 23 3 19 12 9 21 13 | 3.6–8.08 | 82 |
| Experimental Variables | Experimental Flowchart | Experimental Results |
|---|---|---|
| No Variables | ![]() | ![]() |
| Only the Deep Information Extraction Module is Disabled | ![]() | ![]() |
| Disable only the positive enhancement word input module | ![]() | ![]() |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Xu, C.; Qu, C. A Modular AI Workflow for Architectural Facade Style Transfer: A Deep-Style Synergy Approach Based on ComfyUI and Flux Models. Buildings 2026, 16, 494. https://doi.org/10.3390/buildings16030494
Xu C, Qu C. A Modular AI Workflow for Architectural Facade Style Transfer: A Deep-Style Synergy Approach Based on ComfyUI and Flux Models. Buildings. 2026; 16(3):494. https://doi.org/10.3390/buildings16030494
Chicago/Turabian StyleXu, Chong, and Chongbao Qu. 2026. "A Modular AI Workflow for Architectural Facade Style Transfer: A Deep-Style Synergy Approach Based on ComfyUI and Flux Models" Buildings 16, no. 3: 494. https://doi.org/10.3390/buildings16030494
APA StyleXu, C., & Qu, C. (2026). A Modular AI Workflow for Architectural Facade Style Transfer: A Deep-Style Synergy Approach Based on ComfyUI and Flux Models. Buildings, 16(3), 494. https://doi.org/10.3390/buildings16030494










