Presentations

Create a presentation from text, topic, URL, YouTube, PDF or DOCX (unified endpoint)

Recommended for all new integrations. Detects the input type automatically: a plain topic, a summary, a website URL, a YouTube URL, a PDF URL or a DOCX URL. Returns download URLs for the generated PPTX and PDF plus the slide JSON. Generation typically takes 20–60 seconds; the call blocks until the deck is ready.

post/ppt-from-text

Request

  • Base URL: https://api.magicslides.app/public/api
  • URL: https://api.magicslides.app/public/api/ppt-from-text
  • Auth: none required

Request body

OR
OR
OR
OR
OR

Example request

{
  "watermark": {
    "width": "48",
    "height": "48"
  }
}

Response

Presentation generated.

status'success' | 'failed' required
successboolean
messagestring
inputType'topic' | 'summary' | 'youtube' | 'website' | 'pdf' | 'docx'
urlstring uri required

Download URL of the generated PPTX.

pdfUrlstring uri

Download URL of the PDF export.

pptIdstring

Presentation ID — open at https://www.magicslides.app/ppt/{pptId}.

jsonobject

Slide-by-slide content as JSON.

Changes

No recorded changes to this operation across all 1 revision of this API.