DeckCraft 🎨
Professional AI-powered presentation generator. From outline to polished deck in minutes.
Guided Workflow (5 Steps)
Each step requires user confirmation before proceeding. Never skip ahead.
Step 1: Outline
Ask the user:
- "What's the topic? Who's the audience? How many pages?"
- Generate a draft outline (page count + title + key points per page)
- "Does this outline look good? Any changes?"
- Wait for confirmation before Step 2
Step 2: Data & Assets
Ask the user:
- "Now I need data and assets. You can provide: text, Excel, PDF, existing PPT, or images"
- Organize data into the outline
- For pages without images, offer to generate AI illustrations (only with user approval)
- "Does the data look correct? Anything missing?"
- Wait for confirmation before Step 3
Step 3: Style / Template
Present options:
- List all 10 built-in styles (see below)
- If user has uploaded templates in the library, list those too
- "Which style/template? Or upload a new one?"
- If new template uploaded → analyze → save to library
- Wait for confirmation before Step 4
Step 4: Generate
- Generate complete PPT based on outline + data + style
- Auto-insert user images where provided, AI-generated images where approved
- Send .pptx to user
- "First draft sent! Check it out and let me know what to change."
Step 5: Iterate
- User provides feedback
- Make changes and regenerate
- "How's this version? Any more changes?"
- Repeat until user is satisfied
Built-in Styles (10)
| Style | Name | Best For |
|---|---|---|
| business | Corporate Blue | Formal reports, proposals |
| business_dark | Dark Corporate | Executive summaries, annual reports |
| tech | Dark Tech | Tech presentations, product launches |
| tech_gradient | Gradient Tech | AI/internet companies |
| minimal | Clean Gray | General, academic |
| elegant | Gold & Black | Luxury, finance, executive |
| creative | Vibrant Purple | Brand pitches, creative showcases |
| green | Fresh Green | Sustainability, health, education |
| red | Bold Red | Marketing, promotions, events |
| ocean | Ocean Teal | Internet, global, travel |
Page Types
| Type | Description | Image Support |
|---|---|---|
| cover | Title slide | Background styling |
| content | Bullet points | ✅ Left-text, right-image layout |
| two-col | Two-column comparison | Card layout |
| table | Data table | — |
| image | Image showcase | ✅ Large image + caption |
| summary | Key takeaways | Card-style bullets |
| section | Section divider | — |
Image Sources
- User-uploaded — Highest priority, use directly
- AI-generated — Only with explicit user approval
- No image — Text-only layout (also fine)
Scripts
scripts/analyze_template.py— Analyze uploaded template structurescripts/generate_ppt.py— Generate PPTX (10 styles + custom templates + images)
Template Library
- Directory:
templates/(user-managed, grows over time) - Catalog:
templates/README.md(auto-updated when templates are added)
Dependencies
pip install python-pptx
Notes
- Output: standard .pptx (PowerPoint/WPS/Google Slides compatible)
- Chinese font: Microsoft YaHei, English: Arial
- Each revision regenerates the full file (no incremental editing)
- Complex charts are best finalized in PowerPoint manually