Presentations

Create a presentation from a PDF (legacy — use /ppt-from-text)

post/ppt_from_pdf

Request

  • Base URL: https://api.magicslides.app/public/api
  • URL: https://api.magicslides.app/public/api/ppt_from_pdf
  • Auth: none required

Request body

pdfURLstring uri required

Public PDF URL.

apiKeystring
model'gpt-4' | 'gpt-3.5'
emailstring email

Account email (legacy auth, use apiKey instead).

accessIdstring

Account access ID from /dashboard/settings (legacy auth, use apiKey instead).

templatestring

Presentation template style.

languagestring

Target language (ISO code).

slideCountinteger

Number of slides to generate.

aiImagesboolean

Generate AI images.

imageForEachSlideboolean

Place an image on every slide.

googleImageboolean

Use Google Images instead of AI images.

googleTextboolean

Enrich content with Google search.

presentationForstring

Target audience, e.g. "investors".

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.