MagicSlides Presentations API

Generate PPTX decks from any input.

GitHub OpenAPI

Operations 6

POST /ppt-from-text Create a presentation from text, topic, URL, YouTube, PDF or DOCX (unified… #
POST /ppt_from_topic Create a presentation from a topic (legacy — use /ppt-from-text) #
POST /ppt_from_summary Create a presentation from a text summary (legacy — use /ppt-from-text) #
POST /ppt_from_youtube Create a presentation from a YouTube video (legacy — use /ppt-from-text) #
POST /ppt_from_url Create a presentation from a web page (legacy — use /ppt-from-text) #
POST /ppt_from_pdf Create a presentation from a PDF (legacy — use /ppt-from-text) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/magicslides-app:magicslides-app-presentations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

magicslides-app-presentations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MagicSlides Presentations API
  version: 2.0.0
  summary: Generate PowerPoint presentations from text, topics, URLs, YouTube videos, PDFs and DOCX files.
  description: 'MagicSlides turns a topic, summary, URL, YouTube video, PDF or DOCX into a finished, downloadable PPTX (plus PDF and editable JSON) in one call.


    Authentication differs per server. Public API (api.magicslides.app): pass `apiKey` (format `ms-api-...`, created at /dashboard/settings) as a field in the JSON body — there is no header form; legacy `email` + `accessId` pairs are still accepted. Studio endpoints (www.magicslides.app/api/gpt/*): send the same key as an `x-api-key` header or `Authorization: Bearer `.


    Rate limits are per plan (see https://www.magicslides.app/docs-api/rate-limits). Exceeding them returns HTTP 429.


    Agents that prefer MCP over REST can connect to the MagicSlides MCP server at https://www.magicslides.app/api/mcp/mcp (Streamable HTTP, OAuth 2.1 — metadata at /.well-known/oauth-protected-resource). Tools: list_templates, create_presentation, get_template_schema, create_presentation_from_slots, get_presentation, update_presentation, create_doc, get_doc, update_doc, create_sheet, get_sheet, update_sheet, create_meeting_notes, list_frame_templates, create_frames, create_custom_frame, whoami.


    Human-readable docs: https://www.magicslides.app/docs-api — site overview for LLMs: https://www.magicslides.app/llms.txt'
  termsOfService: https://www.magicslides.app/terms-of-use
  contact:
    name: MagicSlides Support
    email: support@magicslides.app
    url: https://www.magicslides.app/docs-api
  license:
    name: Proprietary
    url: https://www.magicslides.app/terms-of-use
servers:
- url: https://api.magicslides.app/public/api
  description: Public presentation-generation API
- url: https://www.magicslides.app/api
  description: MagicSlides web app (Studio / GPT endpoints)
tags:
- name: Presentations
  description: Generate PPTX decks from any input.
paths:
  /ppt-from-text:
    servers:
    - url: https://api.magicslides.app/public/api
    post:
      operationId: createPresentationFromText
      security: []
      tags:
      - Presentations
      summary: Create a presentation from text, topic, URL, YouTube, PDF or DOCX (unified…
      description: '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.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - apiKey
              properties:
                apiKey:
                  type: string
                  description: 'API key from /dashboard/settings. Format: ms-api-…'
                topic:
                  type: string
                  description: Topic, summary or URL. URLs are auto-detected.
                summary:
                  type: string
                  description: Plain-text summary to turn into slides.
                youtubeURL:
                  type: string
                  format: uri
                  description: YouTube video URL.
                websiteURL:
                  type: string
                  format: uri
                  description: Web page to extract content from.
                pdfURL:
                  type: string
                  format: uri
                  description: Public PDF URL.
                docxURL:
                  type: string
                  format: uri
                  description: Public DOCX URL.
                model:
                  type: string
                  enum:
                  - gemini
                  - gpt-4
                  default: gemini
                  description: LLM used for content.
                presentationCategory:
                  type: object
                  description: Optional tone/category hints.
                  properties:
                    category:
                      type: string
                    subCategory:
                      type: string
                    tone:
                      type: string
                email:
                  type: string
                  format: email
                  description: Account email (legacy auth, use apiKey instead).
                accessId:
                  type: string
                  description: Account access ID from /dashboard/settings (legacy auth, use apiKey instead).
                template:
                  type: string
                  default: bullet-point1
                  description: Presentation template style.
                language:
                  type: string
                  default: en
                  description: Target language (ISO code).
                slideCount:
                  type: integer
                  default: 10
                  minimum: 1
                  maximum: 50
                  description: Number of slides to generate.
                aiImages:
                  type: boolean
                  default: false
                  description: Generate AI images.
                imageForEachSlide:
                  type: boolean
                  default: true
                  description: Place an image on every slide.
                googleImage:
                  type: boolean
                  default: false
                  description: Use Google Images instead of AI images.
                googleText:
                  type: boolean
                  default: false
                  description: Enrich content with Google search.
                presentationFor:
                  type: string
                  description: Target audience, e.g. "investors".
                watermark:
                  $ref: '#/components/schemas/Watermark'
              anyOf:
              - required:
                - topic
              - required:
                - summary
              - required:
                - youtubeURL
              - required:
                - websiteURL
              - required:
                - pdfURL
              - required:
                - docxURL
            examples:
              topic:
                summary: Topic → 10-slide deck
                value:
                  apiKey: ms-api-xxxx
                  topic: Introduction to Quantum Computing
                  slideCount: 10
                  language: en
                  template: bullet-point1
              youtube:
                summary: YouTube video → deck
                value:
                  apiKey: ms-api-xxxx
                  youtubeURL: https://www.youtube.com/watch?v=dQw4w9WgXcQ
                  slideCount: 8
      responses:
        '200':
          description: Presentation generated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PresentationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
  /ppt_from_topic:
    servers:
    - url: https://api.magicslides.app/public/api
    post:
      operationId: createPresentationFromTopic
      security: []
      deprecated: true
      tags:
      - Presentations
      summary: Create a presentation from a topic (legacy — use /ppt-from-text)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - topic
              properties:
                topic:
                  type: string
                  description: Main topic.
                extraInfoSource:
                  type: string
                  description: Extra guidance for the generator.
                apiKey:
                  type: string
                model:
                  type: string
                  enum:
                  - gpt-4
                  - gpt-3.5
                  default: gpt-4
                email:
                  type: string
                  format: email
                  description: Account email (legacy auth, use apiKey instead).
                accessId:
                  type: string
                  description: Account access ID from /dashboard/settings (legacy auth, use apiKey instead).
                template:
                  type: string
                  default: bullet-point1
                  description: Presentation template style.
                language:
                  type: string
                  default: en
                  description: Target language (ISO code).
                slideCount:
                  type: integer
                  default: 10
                  minimum: 1
                  maximum: 50
                  description: Number of slides to generate.
                aiImages:
                  type: boolean
                  default: false
                  description: Generate AI images.
                imageForEachSlide:
                  type: boolean
                  default: true
                  description: Place an image on every slide.
                googleImage:
                  type: boolean
                  default: false
                  description: Use Google Images instead of AI images.
                googleText:
                  type: boolean
                  default: false
                  description: Enrich content with Google search.
                presentationFor:
                  type: string
                  description: Target audience, e.g. "investors".
                watermark:
                  $ref: '#/components/schemas/Watermark'
      responses:
        '200':
          description: Presentation generated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PresentationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: 'Missing required parameters (legacy behaviour) — body `{ status: "failed", message: "Something is missing..." }`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
  /ppt_from_summary:
    servers:
    - url: https://api.magicslides.app/public/api
    post:
      operationId: createPresentationFromSummary
      security: []
      deprecated: true
      tags:
      - Presentations
      summary: Create a presentation from a text summary (legacy — use /ppt-from-text)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - msSummaryText
              properties:
                msSummaryText:
                  type: string
                  description: Summary text to convert.
                apiKey:
                  type: string
                model:
                  type: string
                  enum:
                  - gpt-4
                  - gpt-3.5
                  default: gpt-4
                email:
                  type: string
                  format: email
                  description: Account email (legacy auth, use apiKey instead).
                accessId:
                  type: string
                  description: Account access ID from /dashboard/settings (legacy auth, use apiKey instead).
                template:
                  type: string
                  default: bullet-point1
                  description: Presentation template style.
                language:
                  type: string
                  default: en
                  description: Target language (ISO code).
                slideCount:
                  type: integer
                  default: 10
                  minimum: 1
                  maximum: 50
                  description: Number of slides to generate.
                aiImages:
                  type: boolean
                  default: false
                  description: Generate AI images.
                imageForEachSlide:
                  type: boolean
                  default: true
                  description: Place an image on every slide.
                googleImage:
                  type: boolean
                  default: false
                  description: Use Google Images instead of AI images.
                googleText:
                  type: boolean
                  default: false
                  description: Enrich content with Google search.
                presentationFor:
                  type: string
                  description: Target audience, e.g. "investors".
                watermark:
                  $ref: '#/components/schemas/Watermark'
      responses:
        '200':
          description: Presentation generated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PresentationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: 'Missing required parameters (legacy behaviour) — body `{ status: "failed", message: "Something is missing..." }`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
  /ppt_from_youtube:
    servers:
    - url: https://api.magicslides.app/public/api
    post:
      operationId: createPresentationFromYouTube
      security: []
      deprecated: true
      tags:
      - Presentations
      summary: Create a presentation from a YouTube video (legacy — use /ppt-from-text)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - youtubeURL
              properties:
                youtubeURL:
                  type: string
                  format: uri
                apiKey:
                  type: string
                model:
                  type: string
                  enum:
                  - gpt-4
                  - gpt-3.5
                  default: gpt-4
                email:
                  type: string
                  format: email
                  description: Account email (legacy auth, use apiKey instead).
                accessId:
                  type: string
                  description: Account access ID from /dashboard/settings (legacy auth, use apiKey instead).
                template:
                  type: string
                  default: bullet-point1
                  description: Presentation template style.
                language:
                  type: string
                  default: en
                  description: Target language (ISO code).
                slideCount:
                  type: integer
                  default: 10
                  minimum: 1
                  maximum: 50
                  description: Number of slides to generate.
                aiImages:
                  type: boolean
                  default: false
                  description: Generate AI images.
                imageForEachSlide:
                  type: boolean
                  default: true
                  description: Place an image on every slide.
                googleImage:
                  type: boolean
                  default: false
                  description: Use Google Images instead of AI images.
                googleText:
                  type: boolean
                  default: false
                  description: Enrich content with Google search.
                presentationFor:
                  type: string
                  description: Target audience, e.g. "investors".
                watermark:
                  $ref: '#/components/schemas/Watermark'
      responses:
        '200':
          description: Presentation generated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PresentationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: 'Missing required parameters (legacy behaviour) — body `{ status: "failed", message: "Something is missing..." }`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
  /ppt_from_url:
    servers:
    - url: https://api.magicslides.app/public/api
    post:
      operationId: createPresentationFromUrl
      security: []
      deprecated: true
      tags:
      - Presentations
      summary: Create a presentation from a web page (legacy — use /ppt-from-text)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - websiteURL
              properties:
                websiteURL:
                  type: string
                  format: uri
                  description: Public web page to extract content from.
                apiKey:
                  type: string
                model:
                  type: string
                  enum:
                  - gpt-4
                  - gpt-3.5
                  default: gpt-4
                email:
                  type: string
                  format: email
                  description: Account email (legacy auth, use apiKey instead).
                accessId:
                  type: string
                  description: Account access ID from /dashboard/settings (legacy auth, use apiKey instead).
                template:
                  type: string
                  default: bullet-point1
                  description: Presentation template style.
                language:
                  type: string
                  default: en
                  description: Target language (ISO code).
                slideCount:
                  type: integer
                  default: 10
                  minimum: 1
                  maximum: 50
                  description: Number of slides to generate.
                aiImages:
                  type: boolean
                  default: false
                  description: Generate AI images.
                imageForEachSlide:
                  type: boolean
                  default: true
                  description: Place an image on every slide.
                googleImage:
                  type: boolean
                  default: false
                  description: Use Google Images instead of AI images.
                googleText:
                  type: boolean
                  default: false
                  description: Enrich content with Google search.
                presentationFor:
                  type: string
                  description: Target audience, e.g. "investors".
                watermark:
                  $ref: '#/components/schemas/Watermark'
      responses:
        '200':
          description: Presentation generated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PresentationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: 'Missing required parameters (legacy behaviour) — body `{ status: "failed", message: "Something is missing..." }`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
  /ppt_from_pdf:
    servers:
    - url: https://api.magicslides.app/public/api
    post:
      operationId: createPresentationFromPdf
      security: []
      deprecated: true
      tags:
      - Presentations
      summary: Create a presentation from a PDF (legacy — use /ppt-from-text)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - pdfURL
              properties:
                pdfURL:
                  type: string
                  format: uri
                  description: Public PDF URL.
                apiKey:
                  type: string
                model:
                  type: string
                  enum:
                  - gpt-4
                  - gpt-3.5
                  default: gpt-4
                email:
                  type: string
                  format: email
                  description: Account email (legacy auth, use apiKey instead).
                accessId:
                  type: string
                  description: Account access ID from /dashboard/settings (legacy auth, use apiKey instead).
                template:
                  type: string
                  default: bullet-point1
                  description: Presentation template style.
                language:
                  type: string
                  default: en
                  description: Target language (ISO code).
                slideCount:
                  type: integer
                  default: 10
                  minimum: 1
                  maximum: 50
                  description: Number of slides to generate.
                aiImages:
                  type: boolean
                  default: false
                  description: Generate AI images.
                imageForEachSlide:
                  type: boolean
                  default: true
                  description: Place an image on every slide.
                googleImage:
                  type: boolean
                  default: false
                  description: Use Google Images instead of AI images.
                googleText:
                  type: boolean
                  default: false
                  description: Enrich content with Google search.
                presentationFor:
                  type: string
                  description: Target audience, e.g. "investors".
                watermark:
                  $ref: '#/components/schemas/Watermark'
      responses:
        '200':
          description: Presentation generated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PresentationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: 'Missing required parameters (legacy behaviour) — body `{ status: "failed", message: "Something is missing..." }`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    Forbidden:
      description: Plan does not allow this operation or credits exhausted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: 'Invalid or missing parameters. Note: legacy endpoints answer missing parameters with 404, not 400.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid apiKey / accessId.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Plan rate limit exceeded. Back off and retry later.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    MethodNotAllowed:
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    ServerError:
      description: Generation failed. Safe to retry once.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: 'Error bodies are not uniform across endpoints. Public API: `{ status: "failed", message, error?: { field, message } }`; legacy endpoints answer missing parameters with HTTP 404 `{ status: "failed", message: "Something is missing..." }`; Studio endpoints return `{ error }`. Treat any non-2xx as failure and read `message` or `error` for the reason.'
      properties:
        status:
          type: string
          enum:
          - failed
        success:
          type: boolean
        message:
          type: string
          description: Human-readable reason.
        error:
          description: Either a message string (Studio) or `{ field, message }` naming the offending field (public API).
          oneOf:
          - type: string
          - type: object
            properties:
              field:
                type: string
              message:
                type: string
        code:
          type: string
          description: Machine-readable code when present, e.g. NOT_FOUND, METHOD_NOT_ALLOWED, INVALID_JSON.
    Watermark:
      type: object
      description: Optional image watermark placed on every slide.
      properties:
        width:
          type: string
          example: '48'
        height:
          type: string
          example: '48'
        brandURL:
          type: string
          format: uri
        position:
          type: string
          enum:
          - TopLeft
          - TopRight
          - BottomLeft
          - BottomRight
    PresentationResult:
      type: object
      required:
      - status
      - url
      properties:
        status:
          type: string
          enum:
          - success
          - failed
        success:
          type: boolean
        message:
          type: string
        inputType:
          type: string
          enum:
          - topic
          - summary
          - youtube
          - website
          - pdf
          - docx
        url:
          type: string
          format: uri
          description: Download URL of the generated PPTX.
        pdfUrl:
          type: string
          format: uri
          description: Download URL of the PDF export.
        pptId:
          type: string
          description: Presentation ID — open at https://www.magicslides.app/ppt/{pptId}.
        json:
          type: object
          description: Slide-by-slide content as JSON.
        metadata:
          type: object
          properties:
            slideCount:
              type: integer
            generatedAt:
              type: string
              format: date-time
            fileSize:
              type: integer
              description: Bytes.
  securitySchemes:
    StudioApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Studio (/api/gpt/*) endpoints only. `Authorization: Bearer <key>` is accepted as an alternative. Keys are created at https://www.magicslides.app/dashboard/settings.'
externalDocs:
  description: MagicSlides API documentation
  url: https://www.magicslides.app/docs-api