PreGenie: An Agentic Framework for High-quality Visual Presentation Generation

Xiaojie Xu, Xinli Xu, Sirui Chen, Haoyu Chen, Fan Zhang, Ying-Cong Chen · 2025

Read PreGenie: An Agentic Framework for High-quality Visual Presentation Generation by Xiaojie Xu, Xinli Xu, Sirui Chen, Haoyu Chen, Fan Zhang, Ying-Cong Chen (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-21660.txt.

Introduction

Xiaojie Xu and co-authors automate slide deck building with an agent framework called PreGenie. Their 2025 paper tackles a familiar failure set: auto-made slides with messy layouts, summaries that drift from the source, and pictures that do not match the text. Such flaws bar these tools from business and research settings, where decks must be exact.

The system builds on a framework that renders slides from Markdown code. It works in two stages: first analyze the input and draft the code, then review the result and fix it. Multimodal models do the reading, writing, and checking. The loop of draft and review is the bet for formal-grade output.

Catalog record

CREATORXiaojie Xu, Xinli Xu, Sirui Chen, Haoyu Chen, Fan Zhang, Ying-Cong Chen
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE29 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-21660

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

PreGenie: An Agentic Framework for High-quality Visual Presentation Generation Xiaojie Xu, Xinli Xu, Sirui Chen, Haoyu Chen, Fan Zhang, Ying-Cong Chen Abstract Visual presentations are vital for effective communication. Early attempts to automate their creation using deep learning often faced issues such as poorly organized layouts, inaccurate text summarization, and a lack of image understanding, leading to mismatched visuals and text. These limitations restrict their application in formal contexts like business and scientific research. To address these challenges, we propose PreGenie, an agentic and modular framework powered by multimodal large language models (MLLMs) for generating high-quality visual presentations. PreGenie is built on the Slidev presentation framework, where slides are rendered from Markdown code. It operates in two stages: (1) Analysis and Initial Generation, which summarizes multimodal input and generates initial code, and (2) Review and Re-generation, which iteratively reviews intermediate code and rendered slides to produce final, high-quality presentations. Each stage leverages multiple MLLMs that collaborate and share information. Comprehensive experiments demonstrate that PreGenie excels in multimodal understanding, outperforming existing models in both aesthetics and content consistency, while aligning more closely with human design preferences. 1 Introduction Figure 1: The PreGenie framework, powered by MLLMs, processes text-image inputs to generate high-quality visual presentations. Source: Zhang et al. 2023 Visual presentations play an important role in visual communication. They are frequently used in speeches, reports, and various forms of concept expression, helping to enhance audience understanding. Early visual presentations relied on manual creation, which was time-consuming and repetitive. In recent years, with the rapid development of generative models and MLLMs Alayrac et al. 2022 ; Liu et al. 2023 ; Team et al. 2023 , many efforts have been dedicated to automating the generation of visual presentations. However, the task of automatically generating visual presentations faces several challenges: (1) Aesthetic and well-organized layouts : From a design perspective, the generated slide content must be well-arranged and meet human aesthetic standards. (2) Support for complex multimodal inputs and outputs : The model needs to understand complex text-image inputs (e.g., a research paper or blog) and generate slides containing both text and images. (3) Accuracy and relevance between text and images : The generated text must closely align with the main ideas of the original content, and the images on each slide must be highly relevant to the accompanying text to aid audience comprehension. Existing work on visual presentation generation can be divided into two categories: (1) Direct generation of text-image slides Ma et al. 2025 ; Chen et al. 2025 . These methods, often using generative models such as diffusion models, embed text directly into images. While the layouts generated by these methods are often visually appealing, they cannot handle complex text-image inputs. Additionally, the generated results are not editable, and content accuracy cannot be guaranteed. As a result, these methods are unsuitable for fields with high requirements for professionalism and precision, such as scientific research. (2) Generation of intermediate code followed by rendering Zheng et al. 2025 ; Ge et al. 2025 ; Cachola et al. 2024 . Currently, this is the more widely adopted approach. These methods first generate intermediate code, which is then rendered into slides using predefined templates or rules. However, there is often a gap between the intermediate code and the final visual results, making it difficult to ensure the slides are harmonious and visually appealing. Moreover, while these methods generally handle text well, they struggle to understand images in the input document, and most of them only generate plain-text slides without images Cachola et al. 2024 ; Bandyopadhyay et al. 2024 . This raises the question: Can we develop a framework that supports multimodal inputs and generates visual presentations that are aesthetically pleasing with accurate and consistent content? In this work, we propose PreGenie, an agentic framework based on MLLMs that supports text-image document inputs and generates visually appealing, accurate, and coherent visual presentations. It leverages Slidev 1 1 1 https://sli.dev/ , a Markdown-based, flexible, and concise presentation framework. Compared to prior works that use intermediate code representations Zheng et al. 2025 ; Ge et al. 2025 (e.g., HTML or Python’s pptx library), Slidev provides a simpler structure, reducing the difficulty for LLMs to generate correct code and making subsequent editing easier. Based on the Slidev framework, our workflow consists of two stages: (1) Analysis and Initial Generation : This stage involves syntax analysis, text summarization, and image tagging and positioning to generate visual presentations that closely align with the input document. (2) Review and Re-generation : This includes code review and page review. Code review uses Large Language Models(LLMs) to check for formatting and content errors in the intermediate code. Building on this, page review uses Vision-language Models (VLMs) to examine the final visual results page by page, identifying errors that may be missed in the code (e.g., an image partially overflowing the slide). After these checks, problematic slides are regenerated. While previous works on code generation have widely adopted code review mechanisms Khan et al. 2024 ; Wang et al. 2024 , the lack of a visual inspection mechanism has hindered the quality of the final slide outputs. By introducing a page review mechanism, we significantly improve the alignment and aesthetics of the layouts, effectively closing the gap between intermediate code and the final visual results. Extensive experiments and evaluations demonstrate that our method excels in design aesthetics, text coverage, and text-image consistency. Overall, our contributions are as follows: • We propose PreGenie, an agentic framework based on MLLMs, which supports multimodal document inputs and generates well-organized and accurate visual presentations. • We introduce both intermediate code review and visual page review mechanisms into the presentation generation process, ensuring more reliable and visually appealing results. • Our proposed framework supports a wide range of practical applications, providing a practical solution for the field of visual presentation generation. 2 Related Works 2.1 LLM-powered Autonomous Agents LLMs Radford et al. 2018 ; Radford et al. 2019 ; Devlin et al. 2019 have shown strong capabilities in language understanding and generation. With the introduction of multimodal LLMs (MLLMs) Alayrac et al. 2022 ; Li et al. 2022 ; Liu et al. 2023 ; Team et al. 2023 , these models can now process images, audio, and other inputs, enabling more comprehensive reasoning and content generation. With decision-making and tool-use abilities, LLMs act as autonomous agents for perception, reasoning, and goal-directed actions. Early frameworks like ReAct Yao et al. 2023 and Toolformer Schick et al. 2023 combine reasoning with tools. Multi-agent systems, such as CAMEL Li et al. 2023 and ChatDev Qian et al. 2023 , enable communication and role specialization, while AutoGPT Yang et al. 2023 and MetaGPT Hong et al. 2023 focus on task decomposition and planning. Inspired by these advances, our method adopts a multi-agent system that integrates multimodal understanding, task decomposition, and iterative review and feedback for structured presentation generation. 2.2 Agents for Content Generation Agent-based frameworks have become increasingly prominent in multimodal content generation. In visual domains, methods such as MM-StoryAgent Xu et al. 2025 , MovieAgent Wu et al. 2025 , and Video-LLM Huang et al. 2024 decompose video generation into subtasks such as scene planning, narration, and rendering. LayoutDM Inoue et

Read the complete text