Skip to Content
API referenceAI Slide Decks API

AI Slide Decks API

Base path: /api/v1/deck/. Python: client.deck. API-key scope: ai_extract (scopes).

Warning

Rows marked credits run a language model and spend credits

They start a background job and answer 202; poll the matching read route for the result. A caller without enough credits gets 402. The ai section of the rate card lists the base price of each AI feature.

Planning and drawing a deck

A deck goes from a plan (a project) to a drawn slide document. In order: create the project, run stage1, stage2 and roster, optionally edit the spec, confirm it, then start authoring and poll authoring.pages until it names the slide document.

PythonMethod and pathCredits
deck.projects.create(title=..., topic=None, source_id=None, style_id=None, brand_id=None, theme=None)POST /projects/
deck.projects.list() · get(project_id) · delete(project_id)GET /projects/ · GET/DELETE /projects/{project_id}/
deck.projects.stage1(project_id, **hints): recommend the communication contractPOST /projects/{project_id}/stage1/credits
deck.projects.stage2(project_id, contract=None): propose three design directionsPOST /projects/{project_id}/stage2/credits
deck.projects.roster(project_id, selected): pick a direction, plan the pagesPOST /projects/{project_id}/roster/credits
deck.projects.save_spec(project_id, spec=..., plan_version=...)PUT /projects/{project_id}/spec/
deck.projects.confirm(project_id, plan_version=...)POST /projects/{project_id}/confirm/
deck.research.start(project_id, urls): extract cited facts from your URLsPOST /research/{project_id}/credits
deck.research.facts(project_id) · retire_fact(project_id, fact_id)GET /research/{project_id}/facts/ · DELETE .../facts/{fact_id}/
deck.authoring.start(project_id): draw every pagePOST /authoring/{project_id}/credits
deck.authoring.pages(project_id)GET /authoring/{project_id}/pages/
deck.authoring.retry_page(project_id, number)POST /authoring/{project_id}/pages/{number}/retry/credits
deck.quality.get(project_id) · rerun(project_id)GET /quality/{project_id}/ · POST .../rerun/
deck.documents.pages(document_id)GET /documents/{document_id}/pages/
deck.documents.page_image(document_id, number, output_path): one page as SVGGET /documents/{document_id}/pages/{number}/image/

A save_spec or confirm with an outdated plan_version answers 409.

Inputs: sources, templates, brands, images

PythonMethod and path
deck.sources.create(path) or create(text=..., name=...): ingest a file or pasted textPOST /sources/
deck.sources.get(source_id) · markdown(source_id)GET /sources/{source_id}/ · GET .../markdown/
deck.templates.list(kind=None) · get(template_id) · fonts()GET /templates/ · GET /templates/{template_id}/ · GET /templates/fonts/
deck.templates.create_brand(logo_path=None, **fields)POST /templates/brands/
deck.templates.update_brand(template_id, **fields) · delete_brand(template_id)PATCH/DELETE /templates/brands/{template_id}/
deck.templates.replace_brand_logo(template_id, logo_path)POST /templates/brands/{template_id}/logo/
deck.images.search(q) · save(token, query=None) · list()GET /images/search/ · POST /images/ · GET /images/

Working on existing decks

PythonMethod and pathCredits
deck.edit.inspect(path): list a .pptx file’s slides, shapes and paragraphsPOST /edit/inspect/
deck.edit.plan(job_id, instruction)POST /edit/plan/credits
deck.edit.apply(job_id, plan) · job(job_id)POST /edit/apply/ · GET /edit/jobs/{job_id}/
deck.fill.inspect(path): read your own .pptx templatePOST /fill/inspect/
deck.fill.plan(job_id, content): map your content onto its layoutsPOST /fill/{job_id}/plan/credits
deck.fill.save_plan(job_id, plan=..., plan_rev=...) · run(job_id, plan_rev=...) · get(job_id)PUT /fill/{job_id}/plan/ · POST /fill/{job_id}/run/ · GET /fill/{job_id}/
deck.from_image.create([paths]): PNG, JPEG or WebP slides to an editable deckPOST /from-image/credits
deck.from_image.job(job_id)GET /from-image/jobs/{job_id}/
deck.narration.start(document_id, voice=..., model=...): read the speaker notes aloudPOST /narration/{document_id}/credits
deck.narration.get(document_id): per-slide clip and subtitle URLsGET /narration/{document_id}/

Completed edit and fill jobs carry a presigned download URL.

from indox_client import Indox with Indox() as client: project = client.deck.projects.create(title="Q3 review", topic="Quarterly results") client.deck.projects.stage1(project["id"]) # credits; poll projects.get