Skip to main content
To generate a PowerPoint from a prompt, call documents.create with format: "pptx" and the presentation described in prompt. You get an editable 16:9 .pptx, with native charts and a theme that any slides you add later follow, plus its PDF.

Steps

  1. Store your API key in DOCONDA_API_KEY and install the SDK (pip install doconda or npm install @doconda/sdk).
  2. Describe the presentation and, if you like, the style.
  3. Download the .pptx.
If the data is in your files (a sales spreadsheet, a PDF), upload them with files.upload and pass them in sources: Doconda reads them before writing.

What you get back

  • A 16:9 .pptx with editable text, tables and charts (not images), plus its PDF.
  • status: ready, ready_with_warnings, needs_review or failed (not charged).
  • A report (documents.report(id)), with warnings such as content.unsupported_fact if a figure appears that isn’t in your request or your sources.
  • quality: which level was used and why (requested, level, reason).

Limits

  • Charts and copying your template’s design need standard or best. In fast you get the basic style.
  • Typical time: standard, about 3 min median; best, about 5-10 min. With "stream": true you see the events as it is made.
  • Your own images: up to 10 in sources (PNG, JPEG, GIF or WebP).

FAQ

Yes. Pass your presentation in sources and say “with our template’s design”: the result starts from its slides. Needs standard or best.
Yes, with operation: "edit" and the doc_… id: add, reorder or remove slides while keeping the design.
Use createInBackground (create_in_background in Python) and then wait(id), or webhooks.

Keep reading