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
- Store your API key in
DOCONDA_API_KEYand install the SDK:pip install docondaornpm install @doconda/sdk. - Describe the presentation and, optionally, the look.
- Download the
.pptx.
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
Withquality: "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
.pptxwith 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, orfailedwitherror.code. A failed document isn’t charged.
- Before delivery the agent checks that figures and facts come from your request or your sources, and fixes the rest.
sourcestakes up to 5 documents and up to 10 images (PNG, JPEG, GIF or WebP), each up to 20 MB.- The direct API call answers
202after 120 s with the document still running. The SDKs keep waiting for you.
FAQ
Can I use my company's template?
Can I use my company's template?
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.Can I change it later?
Can I change it later?
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.How do I avoid waiting in the same call?
How do I avoid waiting in the same call?
Use
create_in_background (createInBackground in TypeScript), then wait(id), or receive a
webhook when it finishes.