PowerPoint generator API

Build a PowerPoint .pptx from JSON or Markdown: titles, bullets, images, tables, native editable charts, speaker notes, themes and logo.

POSThttps://apibox.io.vn/v1/pptx-generate

Send slides as a JSON array — each slide may have title, subtitle, bullets (strings or {text, level}), text, image / images (data URL or http(s) URL), table ({header, rows}), chart and notes — or markdown where --- separates slides: the first heading is the title, lists become bullets, GFM tables become tables, images are placed, a ``chart block holds chart JSON and a Notes: line starts the speaker notes. layout: "title" or "section"` gives a cover or a divider slide.

Charts are native PowerPoint charts you can edit (type bar, column, line, area, pie, doughnut, scatter, radar; labels, series [{name, values}], stacked, show_values). Text sits on the left and visuals on the right when a slide has both. Themes light, dark, corporate (title bar) and green, with your own colors (primary, accent, background, text, title), font (Arial by default, full Vietnamese support), layout 16x9, 16x10, 4x3 or wide, a logo on every slide and slide numbers.

Built with PptxGenJS (MIT) in memory; up to 200 slides and 60 images (20 fetched, 5 MB each). The result is a .pptx file, or JSON with base64 and a per-slide summary (format=json). Custom slide masters from your own .pptx are not supported yet.

Markdown · OpenAPI · Postman · llms.txt

Parameters

NameInTypeRequiredDefault
slidesbodyarraynoSlide objects: title, subtitle, layout, bullets, text, image(s), table, chart, notes, background.
markdownbodystringnoMarkdown deck, slides separated by --- (instead of slides).
themebodystringnolightlight, dark, corporate or green.
colorsbodyobjectnoHex colours: primary, accent, background, text, title.
fontbodystringnoArialFont name.
layoutbodystringno16x916x9, 16x10, 4x3 or wide.
logobodystringnoLogo image (data URL or URL) on every slide.
slide_numbersbodybooleannotrueShow slide numbers.
titlebodystringnoPresentation title (file properties and name).
formatbodystringnopptxpptx (file) or json (summary + base64).

Example

curl -X POST "https://apibox.io.vn/v1/pptx-generate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slides":[{"layout":"title","title":"Báo cáo Q3/2026","subtitle":"Phòng Kinh doanh"},{"title":"Điểm chính","bullets":["Doanh thu +18%","Chi phí −5%"]},{"title":"Doanh thu","chart":{"type":"column","labels":["T7","T8","T9"],"series":[{"name":"2026","values":[140,160,178]}]}}],"theme":"corporate","format":"json"}'

Response

{
  "filename": "Báo cáo Q3_2026.pptx",
  "theme": "corporate",
  "layout": "16x9",
  "slides": [
    {
      "index": 1,
      "title": "Báo cáo Q3/2026",
      "layout": "title",
      "parts": [
        "title"
      ]
    },
    {
      "index": 2,
      "title": "Điểm chính",
      "layout": "content",
      "parts": [
        "title",
        "text"
      ]
    },
    {
      "index": 3,
      "title": "Doanh thu",
      "layout": "content",
      "parts": [
        "title",
        "chart:column"
      ]
    }
  ],
  "charts": 1,
  "images": 0,
  "warnings": [],
  "pptx_base64": "UEsDBAoAAAAAALtTa10AAAAAAAAAAAAAAAAGAAAAX3JlbHMvUEsDBAoAAAAA…",
  "bytes": 88557
}

Use cases

  • Turn AI-written outlines into slide decks
  • Send weekly sales decks with live charts from Sheets or a database
  • Build lesson slides from a teacher’s Markdown notes
  • Produce client reports with your brand colours and logo

FAQ

Are charts images?

No, they are real PowerPoint charts with their data embedded, so they can be edited in PowerPoint, Keynote or Google Slides.

Which font is used for Vietnamese?

Arial by default (installed everywhere, full Vietnamese). Set font to any font name; it must exist on the computer that opens the file.

Can I use my company template?

Not yet: choose a theme and pass colors, font and logo. Applying a master from an uploaded .pptx is planned.

Related APIs

Start with 1,000 free requests every month. Get free API key →