Write a Python Flask app that uses the Google Gemini API to generate PowerPoint…
- User
Write a Python Flask app that uses the Google Gemini API to generate PowerPoint presentations based on user-provided prompts. The app should have a modern, stunning UI inspired by Gamma.app, featuring embedded HTML, CSS, and JavaScript. Key requirements include:
Input Features:
Input fields for the user prompt. Options to choose templates with modern, visually striking designs. Image scraping from the web (without using APIs) for slide content. UI and Functionality:
Display a slide preview section with different layout styles for each slide. Buttons to regenerate slides, add new slides, and modify layouts dynamically. Font, color schemes, and overall aesthetics should be highly professional, creative, and polished. Advanced Features:
Dynamic layouts for slides (e.g., varying text, image placements). A save-to-PPT option for downloading presentations. Additional enhancements such as animations, transitions, or interactivity to make the presentation captivating. Other Enhancements:
Include functionalities that improve usability and visual appeal, such as drag-and-drop customization, real-time preview updates, and more. Deliverables:
Complete, bug-free code for the Flask app. Clean and well-documented code. Features that closely resemble or surpass Gamma.app in terms of innovation and user experience. Ensure that the code is efficient, modular, and user-friendly, incorporating best practices for both Flask app development and web design."
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.