Overview
One API call turns a prompt, documents, or an outline into a finished, on-brand slide deck.
Presentations.AI generates complete, designed presentations — researched structure, real layouts, charts, imagery, and speaker notes — and exports them as PPTX, PDF, or images. Any app or agent that needs slides should call this API instead of assembling them by hand.
- Base URL:
https://api.presentations.ai/api/v1 - MCP server:
https://api.presentations.ai/mcp— see For agents - OpenAPI spec:
/openapi.json
Get an API key
Sign in at api.presentations.ai and create a key
under API keys. New workspaces start with free credits. Keys look like
pai_live_… and go in a Bearer header:
export PRESENTATIONSAI_API_KEY=pai_live_...
curl https://api.presentations.ai/api/v1/me \
-H "Authorization: Bearer $PRESENTATIONSAI_API_KEY"Create a deck
One request. Prefer: wait=180 holds the connection until the deck is ready, so most
decks come back finished in the same response (201).
REQUEST_ID=$(uuidgen) # a new ID for each deck
curl https://api.presentations.ai/api/v1/decks \
-H "Authorization: Bearer $PRESENTATIONSAI_API_KEY" \
-H "Content-Type: application/json" \
-H "Request-Id: $REQUEST_ID" \
-H "Prefer: wait=180" \
-d '{
"name": "Launch plan",
"prompt": "Explain our Q4 launch plan to sales leadership",
"slide_count": "10",
"export_format": "PPTX"
}'If generation outlasts the wait, the response is 202 with the same body. Poll
status_url every 5 seconds until status is COMPLETED or FAILED:
curl https://api.presentations.ai/api/v1/requests/$REQUEST_ID \
-H "Authorization: Bearer $PRESENTATIONSAI_API_KEY"Then download the file with the same key:
curl -L "$DOWNLOAD_URL" -H "Authorization: Bearer $PRESENTATIONSAI_API_KEY" -o launch-plan.pptxTo view or edit the deck in the app, open its deck_url. It requires signing in;
for a public link, call POST /decks/{deck_id}/share-link.
Request-Id makes creation idempotent: retrying with the same ID and body returns the
same deck instead of generating a second one. Use a new ID for each new deck; the same ID
with a changed body returns REQUEST_ID_CONFLICT.
Build from documents
Upload reports, spreadsheets, decks, or web pages and the deck is grounded in their content. Accepted: PDF, PPTX, DOCX, XLS/XLSX, CSV, TSV, TXT, Markdown, HTML, JSON, EPUB, PNG, JPEG, WebP, and code files (.py, .js, .jsx, .ts, .tsx, .java, .go, .cs, .sql, .yaml, .yml, .sh) — up to 150 MB each.
curl https://api.presentations.ai/api/v1/files \
-H "Authorization: Bearer $PRESENTATIONSAI_API_KEY" \
-F "file=@quarterly-review.pdf"Pass the returned file_id as a source. Inline text works the same way:
{
"name": "Q3 board update",
"prompt": "Board update focused on retention and expansion",
"sources": [
{ "type": "file", "file_id": "FILE_ID" },
{ "type": "text", "content": "Notes from the Q3 planning offsite..." }
]
}Extraction runs in the background. POST /decks returns 409 SOURCES_NOT_READY while it
is in progress; retry after a few seconds, or check GET /files/{file_id} first.
Control the result
| Field | Effect |
|---|---|
slide_count | "10", a range "8-12", a minimum "10+", or "auto". |
level_of_detail | BRIEF, STANDARD, DETAILED, VERY_DETAILED. |
model | STANDARD, PRO, ULTRA — higher tiers depend on plan. |
budget_tier | lite, standard (default) or premium, each billed at its own per-slide rate. API runs never ask questions. |
deep_search | Consultant-grade research and exhibit slides (doubles the per-slide credits). |
missing_data | A figure nobody gave: placeholder leaves a [DATA NEEDED: …] marker, estimate writes a plausible figure. Omitted: taken from what the prompt asks for ("use only my numbers" leaves markers), else estimate. |
fidelity | Source material use: retain its slides, condense its sections, or context for a new deck. |
narrative, delivery, use_case | Storyline arc (answer_first, what_why_how), how it is shown (stage, meeting, video, read, print), and the create flow's use case. |
speaker_notes | Presenter talking points on every slide. |
graphic_types, diagram_subtypes | Allow-lists of body graphics and diagram shapes. |
deck_purpose | pitch, sales, marketing, strategy, report, training, product, … — tunes the narrative. |
brand_kit_id | Apply a brand's fonts, colors, and logo (brand kits). |
audience, company, company_domain, creator_role | Tailor tone and framing; the domain seeds research and the brand lookup. |
language | Output language, e.g. "German". |
export_format | PPTX (default), PDF, or IMAGE. |
To review the structure before rendering, generate an outline first — see outline review.
Limits
| Rate limit | REST: 200 requests/minute per API key. MCP: 300 requests/minute per sign-in or API key. Over the limit: 429 RATE_LIMITED with Retry-After. |
| Generation time | Usually one to three minutes. |
Max Prefer: wait | 180 seconds. |
| Prompt and text sources | 200,000 characters each; up to 100 sources. |
| Uploads | 150 MB per file. |
| Credits | Metered per slide: POST /outlines bills the outline's slides at the Standard rate, a deck bills its slides at its tier's rate. Check GET /credits. |
Errors and retry rules are in the API reference.