Skip to main content
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 slides you add later follow, plus its PDF.

Generate a presentation

  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, optionally, the look.
  3. Download the .pptx.
You should see the slide count and the level Doconda used, for example 8 {'requested': 'auto', 'level': 'standard', 'reason': '…'}. documents.create waits until the file is ready. If the data lives in your files (a sales spreadsheet, a PDF report), upload them with files.upload and pass their IDs in sources. Doconda reads them before writing.

Choose the quality level

With quality: "auto" (the default), Doconda picks the level the request needs and, when in doubt, the cheaper one. Set max_quality: "standard" with auto to cap the price. See quality levels.

What you get back

  • A 16:9 .pptx with editable text, tables and native charts (not pictures), plus its PDF.
  • quality: the level asked for, the one used, and why (requested, level, reason).
  • status: ready, or failed with error.code. A failed document isn’t charged.
Behavior to be aware of:
  • Before delivery the agent checks that figures and facts come from your request or your sources, and fixes the rest.
  • sources takes up to 5 documents and up to 10 images (PNG, JPEG, GIF or WebP), each up to 20 MB.
  • The direct API call answers 202 after 120 s with the document still running. The SDKs keep waiting for you.

FAQ

Yes. Pass your presentation in sources and say “with our template’s design” in prompt: the result starts from its slides. It needs standard or best; with fast the document fails with design_needs_quality and isn’t charged.
Yes, with operation: "edit" and the doc_… ID in file: add, reorder or remove slides while keeping the design. An edit costs €0.30 at standard.
Use create_in_background (createInBackground in TypeScript), then wait(id), or receive a webhook when it finishes.
For every create option, see Create.