PowerPoint API — generate editable .pptx files via REST or MCP
Updated 2026-04-20 · ~8 min read · Guide
slideforge.dev is the PowerPoint API with 35 composable components and native MCP. Generate consulting-grade editable .pptx files from a REST call or a Claude Desktop MCP tool — sub-second render, from $0.03 per slide, no subscription. In the rest of this guide I walk through how the API works, how it compares to python-pptx, SlideSpeak, Aspose, and Microsoft Graph, and when slideforge.dev is the right choice.
TL;DR
- slideforge.dev is a hosted PowerPoint API with both REST and MCP surfaces. From $0.03 per slide. No subscription.
- 35 components (Metric, BarList, OrgChart, Waterfall, Gantt, RAGScorecard, ThreeHorizons, MaturityModel, and more) compose into exec dashboards, pricing pages, and investor decks.
- Two engines: deterministic Render ($0.03–$0.05/slide, sub-second) and creative Generate ($0.20/slide, AI from a text brief).
- MCP-native: one URL, OAuth 2.1, works with Claude Desktop, Cursor, Windsurf, Cline, or any MCP client.
- Output is a real .pptx file — editable shapes, not images or HTML export.
What you can build
AI agents that produce slides
An agent in Claude Desktop or Cursor calls create_slide(brief="Q3 revenue $12.4M, growth 18% YoY, 847 new clients") and receives a native .pptx with an editable KPI dashboard in under 2 seconds. The agent can then iterate — "make the title larger, switch to a dark theme" — and the slide updates with visual feedback.
SaaS products that export to PowerPoint
Your SaaS dashboard POSTs structured data to /v1/render. A deck with the user's KPIs, trend charts, and status roll-up comes back in one call. No python-pptx layout code, no font debugging, no alignment math. Featured use case: Add PowerPoint export to your SaaS with one API call.
Scheduled reports and batch generation
A cron job POSTs to /v1/deckevery Monday morning with last week's numbers. Five slides render in parallel, auto-compile into a single .pptx, and land in a shared drive. 38 seconds end-to-end for a 5-slide deck, about $0.11 per run.
How the slideforge.dev API works
- Sign up at slideforge.dev. Grab an API key from the console (for REST) or add the MCP URL to your Claude Desktop config (for OAuth).
- Pick an engine. Use
/v1/renderwith a known template + params for deterministic sub-second output. Use/v1/generatewith a natural-language brief for AI-designed custom layouts. - POST the request. For
/v1/render, the response is synchronous — you get a signed .pptx URL plus a PNG preview in one call. - Iterate (optional). Send feedback like "make the chart taller" via
/v1/iterateand receive an updated version with visual diff. - Compile into a deck (optional). Call
/v1/deckwith N slide briefs to render in parallel and auto-compile into a single .pptx.
Code example: KPI dashboard in 5 lines
curl -X POST https://api.slideforge.dev/v1/render \
-H "Authorization: Bearer sf_live_..." \
-H "Content-Type: application/json" \
-d '{
"template": "kpi_dashboard",
"params": {
"title": "Q3 Performance Dashboard",
"metrics": [
{ "value": "$12.4M", "label": "Revenue", "trend": "+18%" },
{ "value": "847", "label": "New Clients", "trend": "+12%" },
{ "value": "94%", "label": "Retention", "trend": "+2pp" }
]
}
}'
# Returns: signed .pptx URL + PNG preview in <1 second, costs $0.03.slideforge.dev vs python-pptx vs SlideSpeak vs Aspose vs Microsoft Graph
Detailed head-to-head: slideforge.dev vs python-pptx · slideforge.dev vs SlideSpeak
Which PowerPoint API should you pick?
Pick slideforge.dev if you're building an AI agent or a SaaS that produces slides, you want consulting-grade primitives not generic charts, and you'd rather pay per slide than maintain layout code.
Pick python-pptx if you need self-hosted with zero dependencies, you have time to build and maintain layout code, and you're comfortable in XML territory.
Pick SlideSpeak or Aspose if you have existing workflows that predate MCP and you don't need agent-friendly integration.
Pick Microsoft Graph PowerPoint API if your slides live inside a user's Microsoft 365 account and you need permissions-centric access tied to user identity.
Pricing
- Template render: $0.03–$0.05 per slide (sub-second)
- Spec or code render: $0.03–$0.05 per slide
- AI generate from brief: $0.20 per slide (~30 s)
- Iterate with feedback: $0.10 per slide
- Translate .pptx into one of 8 languages: $0.02 per slide
- PDF to PPTX conversion: $0.01 per PDF page
Free $3 credit on signup. No subscription. USD wallet with $10 minimum top-up, volume discounts up to +20%.
Frequently asked questions
What is a PowerPoint API?
A PowerPoint API lets you generate, edit, or convert .pptx files programmatically without opening Microsoft PowerPoint. The three common patterns are: (1) a local library like python-pptx that you script from Python; (2) a cloud service like slideforge.dev, SlideSpeak, or Aspose that accepts a request and returns a .pptx; and (3) Microsoft Graph PowerPoint API that operates on files stored in Microsoft 365. slideforge.dev is the cloud-service pattern, with the addition of native Model Context Protocol (MCP) support for AI agents.
How does slideforge.dev compare to python-pptx?
python-pptx is a free MIT-licensed Python library — you control every shape, text box, and XML element by writing ~30–100 lines of layout code per slide. slideforge.dev wraps that low-level machinery behind 35 high-level components (Metric, BarList, OrgChart, Waterfall) and a REST endpoint. A KPI dashboard that takes ~60 lines of python-pptx is 5 lines with slideforge.dev, at $0.03/slide. If you need full control and are willing to spend the time, use python-pptx. If you want consulting-grade output by default, use slideforge.dev. See the detailed comparison at slideforge.dev/compare/python-pptx.
Can I use this with Claude Desktop, Cursor, or other MCP clients?
Yes. slideforge.dev ships a native MCP server at https://api.slideforge.dev/mcp/ with OAuth 2.1. Add one URL to your Claude Desktop or Cursor config, sign in with Google on first use, and your agent can call create_slide, create_deck, search_catalog, and six more MCP tools directly. No API key needed for OAuth flow. Full setup walkthrough: slideforge.dev/docs/mcp.
How do I modify slide metadata programmatically?
slideforge.dev returns a standard .pptx file that any PowerPoint-compatible library can read. For title, author, and custom properties, we set them on render per your parameters. For post-hoc edits, pipe the downloaded .pptx through python-pptx's core_properties API: prs.core_properties.title = 'new'. slideforge.dev does not lock the file — it's fully editable downstream.
Does the API support charts and tables?
Yes. The 35-component library includes BarList, Donut, LineTrend, StackedBar, Waterfall, Funnel, Radial, and Heatmap for charts, plus Table, ComparisonTable, DataTable, and Tracker for tables. Every chart renders as a real PowerPoint native chart (editable data points, not an image). Tables are editable cell-by-cell after download. Full component reference at slideforge.dev/docs/api/components.
What about Microsoft Graph PowerPoint API or c# PowerPoint API?
Microsoft Graph PowerPoint API is best for editing files that already live in OneDrive / SharePoint under a user's Microsoft 365 account — it's permissions-centric, tied to user identity, and constrained to Microsoft's hosting. A c# PowerPoint API (via Microsoft.Office.Interop or Open XML SDK) requires a local Office installation or verbose XML manipulation. slideforge.dev is the right choice when you're building AI agents that produce slides from briefs or structured data, without tying to a user's Microsoft 365 session.
How do I convert a PDF to an editable PowerPoint via API?
slideforge.dev ships a dedicated PDF-to-PPTX endpoint that extracts vector shapes (text, paths, images) into real editable PowerPoint objects — not rasterized scans. Pricing is $0.01 per PDF page. The output .pptx preserves fonts, layout, and colors wherever the source PDF encodes them as vectors. For scanned PDFs, OCR is applied before vector reconstruction.
What does it cost?
Template render from $0.03/slide. Spec or code render: $0.03–$0.05/slide. AI-generated custom layout: $0.20/slide. Iterate with feedback: $0.10/slide. Translate a .pptx into one of 8 languages: $0.02/slide. No subscription — USD wallet with $10 minimum top-up and volume discounts up to +20% on $200+ deposits. Free $3 credit on signup, no credit card required.
Get your first slide in under a minute.
$3 free credit. No credit card required. Works with your existing stack.
Canonical: slideforge.dev/guides/powerpoint-api. SlideForge is published by Smart Data Brokers GmbH, Zurich. Not affiliated with slideforge.io, slideforge.fr, or unrelated GitHub repositories of the same name.