Quickstart Guide¶
Get started with SlideGen in 5 minutes. This guide will walk you through creating your first presentation.
Prerequisites¶
- Python 3.9 or higher
- pip (Python package manager)
Step 1: Installation¶
Install SlideGen using pip:
Or install from source:
Step 2: Create Your First Presentation¶
Use the init command to create a sample project:
This creates a directory with a sample deck.yaml file:
presentation:
title: "My First Presentation"
slides:
- layout: title
title: "Welcome to SlideGen"
subtitle: "Your AI-powered slide generator"
- layout: bullet_list
title: "Features"
bullets:
- "Easy to use"
- "AI-friendly"
- "Professional output"
- layout: section_header
text: "Thank You"
Step 3: Validate Your Schema¶
Before generating your presentation, validate the schema:
If there are any errors, SlideGen will provide helpful error messages with suggestions.
Step 4: Generate PowerPoint¶
Build your presentation:
Open my-presentation.pptx in PowerPoint to see your slides!
Step 5: Customize Your Presentation¶
Edit deck.yaml to customize your presentation. Here are some common layouts:
Title Slide¶
Bullet List¶
Chart¶
- layout: chart
title: "Revenue Trend"
chart:
type: line
data:
labels: ["Q1", "Q2", "Q3", "Q4"]
values: [100, 120, 140, 160]
Table¶
- layout: table
title: "Sales Data"
table:
data:
- ["Region", "Q1", "Q2"]
- ["North", "100", "120"]
- ["South", "80", "90"]
Next Steps¶
- Explore all available layouts
- Learn about data binding for charts and tables
- Check out real-world examples
- Read the complete schema reference
Common Commands¶
# Initialize a new project
slidegen init <project-name>
# Validate a schema
slidegen validate <schema.yaml>
# Build a presentation
slidegen build <schema.yaml> -o <output.pptx>
# List all available layouts
slidegen layouts
# Watch mode (auto-rebuild on changes)
slidegen build <schema.yaml> -o <output.pptx> --watch
Troubleshooting¶
Schema Validation Errors¶
If you get validation errors, check:
- Required fields: Make sure all required fields are present
- Layout type: Verify the layout type is one of the supported types
- Data format: Check that chart/table data matches the expected format
Run slidegen validate with verbose output for detailed error messages:
Installation Issues¶
If installation fails:
- Make sure you're using Python 3.9+
- Try upgrading pip:
pip install --upgrade pip - Install dependencies manually:
pip install python-pptx pyyaml jsonschema click
Output Issues¶
If the generated PowerPoint looks wrong:
- Validate your schema first
- Check that image paths are correct (if using images)
- Verify data sources exist (if using external CSV/JSON files)
- Review the layout documentation for layout-specific requirements
Getting Help¶
- 📖 Full Documentation
- 💬 GitHub Discussions
- 🐛 Report Issues
- 📧 Email: support@slidegen.io