What we've learned from 50,000+ AI slides generations… open sourced for you today DesignArena open-sourced an HTML-to-PPTX conversion library after generating over 50,000 AI slides. The library uses a headless browser to measure DOM elements and maps them to python-pptx shapes, solving the conversion bottleneck that existing tools failed to address. This enables editable PowerPoint exports from AI-generated HTML slides. What we've learned from 50,000+ AI slides generations… open sourced for you today We've seen a massive uptick in demand for AI-generated slides at DesignArena - it’s become one of our fastest-growing creation categories. The harness-level implementation of slides is nuanced and often overlooked. We’ve generated over 50K slides now and have experimented with every harness possibility… long story short: the perfect Slides generation pipeline doesn’t exist. So we built it… and open-sourced it for you today : Here are the field notes for everything we learned along the way. There have been two main harness-level approaches to generating Slides - Generating Python code directly through the python-pptx library - Generating HTML/CSS code, rendering it in the browser, and mapping the layout to python-pptx via DOM traversal Approach 1: Direct Python-pptx code generation The model writes Python code that calls the python-pptx API directly through add slide , add textbox , add picture , etc. The code is executed, and the output is a .pptx file. Pros: - Full control over every PPTX primitive charts, tables, animations - No browser dependency - The model can reference the Python-PPTX docs directly and iterate on the code Cons: - Models struggle with spatial reasoning in code. Positioning elements at Inches 2.3 from the left and Inches 1.8 from the top is a guess. The model has no visual feedback loop - Text overflow is invisible. A text box that's too small will clip silently in PowerPoint, and the model has no way to know. - Complex layouts multi-column, cards, grids require tedious coordinate math that models get wrong regularly. - Styling is limited to what python-pptx exposes. CSS gradients, border-radius, translucent overlays require manual OOXML XML manipulation. Approach 2: HTML/CSS generation + browser-based conversion The model writes a self-contained HTML file with