PPTX build API: a PowerPoint deck from JSON slides, pay per call

Updated 2026-11-15

Use when an agent must generate a PowerPoint (.pptx) deck from JSON slides (titles, bullets, notes).

POST https://tanod.dev/v1/docs/pptx-build makes a PowerPoint file from JSON and returns it as base64. Send slides (1 to 100, in order), and optionally a deck title and a theme. It costs USD 0.005 per call, paid in USDC through x402, with no account and no API key. There is no free daily allowance on this route. The same function is the build_pptx_deck tool in the documents MCP server at https://tanod.dev/mcp/docs.

Request fields

Example

curl -s -X POST https://tanod.dev/v1/docs/pptx-build \
  -H "Content-Type: application/json" \
  -d '{"title": "Quarterly review", "slides": [{"title": "Quarterly review", "layout": "title", "bullets": ["Q3 2026"]}, {"title": "Highlights", "bullets": ["Revenue up 12%", "Churn down to 2.1%", "Two new regions launched"], "notes": "Mention the Lisbon launch."}, {"title": "Next steps", "bullets": ["Hire two engineers", "Ship v2 in November"]}], "theme": {"font": "Calibri", "accent_color": "#1F4E79"}}'

Without payment the answer is 402 Payment Required with the price in USDC; an x402 client signs and repeats the call. The reply carries the deck as base64 in file (with its name, content type and byte size), slides (the slide count, 3 for the call above), output_bytes and untrusted_content. Decode file.data_base64 to get the .pptx.

Limits

Slide size and layout

Decks are 16:9, 13.33 by 7.5 inches. Title, content and section slides use the full width: text boxes keep the template's side margins, and titles on title and content slides are centred.

If you make decks with python-pptx yourself: its default template is 4:3 and 10 inches wide, and setting slide_width to 16:9 leaves the layout placeholders at that width, so titles sit left of centre. Widen each placeholder on the layouts you use by the added width (3,048,000 EMU) before adding slides.

Related

To get a PDF of the finished deck, pass it to the Office to PDF API. For Word documents see the DOCX template fill API, and for spreadsheets the XLSX build API.

Long bullets can run past the bottom of a slide. To find them before the deck is sent, see find overflowing text in an agent-made PowerPoint.

Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/docs?via=pptx-build-api as a custom connector (steps), then ask in plain words, for example "Build a three-slide PowerPoint deck with a title slide, a bullet list and a closing slide." Eligible Claude.ai connectors use a shared daily docs allowance; ordinary MCP calls are paid. Outside that allowance, a call needs an x402 payment, which these clients can make.

Related guides: DOCX template fill API, XLSX build API, Office to PDF API, Document to Markdown API, documents MCP server. Updated 2026-11-15. All guides, or back to tanod.dev. Results are automated.