MagicSlides Studio API

Designed decks built from Studio templates (used by the MagicSlides GPT).

GitHub OpenAPI

Operations 4

GET /gpt/list-templates List the pre-designed Studio templates a deck can be built from #
POST /gpt/create-presentation LEGACY: MagicSlides writes the deck copy from a topic (uses MagicSlides AI… #
GET /gpt/template-schema PREFERRED step 1: get the slots to fill for a template (free, your own content) #
POST /gpt/create-presentation-from-slots PREFERRED step 2: render a deck from slots you wrote (free, zero MagicSlides AI) #

Specifications

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-studio-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-studio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MagicSlides Studio 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: Studio
  description: Designed decks built from Studio templates (used by the MagicSlides GPT).
paths:
  /gpt/list-templates:
    servers:
    - url: https://www.magicslides.app/api
    get:
      operationId: listStudioTemplates
      security:
      - StudioApiKey: []
      tags:
      - Studio
      summary: List the pre-designed Studio templates a deck can be built from
      description: 'Returns designed templates. Templates with `slotsReady: true` can be filled with YOUR OWN content via getStudioTemplateSchema + createStudioPresentationFromSlots (preferred, free). Others go through createStudioPresentation.'
      responses:
        '200':
          description: Template list.
          content:
            application/json:
              schema:
                type: object
                properties:
                  templates:
                    type: array
                    items:
                      type: object
                      properties:
                        templateKey:
                          type: string
                        name:
                          type: string
                        category:
                          type: string
                        slotsReady:
                          type: boolean
                          description: True → fill it yourself with getStudioTemplateSchema + createStudioPresentationFromSlots (preferred, free).
                        previewUrl:
                          type: string
                          format: uri
  /gpt/create-presentation:
    servers:
    - url: https://www.magicslides.app/api
    post:
      operationId: createStudioPresentation
      security:
      - StudioApiKey: []
      tags:
      - Studio
      summary: 'LEGACY: MagicSlides writes the deck copy from a topic (uses MagicSlides AI…'
      description: 'Use ONLY if the user explicitly asks MagicSlides to write the content. PREFERRED path: call getStudioTemplateSchema, write every slot yourself, then createStudioPresentationFromSlots — that uses your own model and is free. Builds a designed deck from a topic and returns preview image, live slideshow URL, edit URL and PDF. Takes up to ~40s. On `status: out_of_credits`, give the user `createUrl`.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - topic
              properties:
                topic:
                  type: string
                  description: What the presentation is about. Be specific.
                templateKey:
                  type: string
                  description: A templateKey from listStudioTemplates.
                slides:
                  type: integer
                  minimum: 3
                  maximum: 20
                  default: 7
                language:
                  type: string
                  default: en
                audience:
                  type: string
                  description: Optional target audience.
      responses:
        '200':
          description: The finished deck.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  previewImageUrl:
                    type: string
                    format: uri
                    description: PNG of the first slide.
                  previewUrl:
                    type: string
                    format: uri
                    description: Live slideshow.
                  shareUrl:
                    type: string
                    format: uri
                  editUrl:
                    type: string
                    format: uri
                    description: Open in MagicSlides Studio.
                  pdfUrl:
                    type: string
                    format: uri
                  slideCount:
                    type: integer
                  templateKey:
                    type: string
                  conversationId:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/ServerError'
  /gpt/template-schema:
    servers:
    - url: https://www.magicslides.app/api
    get:
      operationId: getStudioTemplateSchema
      security:
      - StudioApiKey: []
      tags:
      - Studio
      summary: 'PREFERRED step 1: get the slots to fill for a template (free, your own content)'
      description: 'PREFERRED path for every deck: call this, write every slot yourself with your own model, then call createStudioPresentationFromSlots — it uses your own model and is free. Returns per-slide layoutKey + slot keys with one-line guidance and a cloneable example. Only templates with slotsReady=true work (default: creative-design).'
      parameters:
      - name: templateKey
        in: query
        required: false
        schema:
          type: string
        description: A slotsReady templateKey from listStudioTemplates. Omit for the default.
      - name: slides
        in: query
        required: false
        schema:
          type: integer
          minimum: 3
          maximum: 20
          default: 7
        description: Number of slides to plan.
      responses:
        '200':
          description: Slot schema to fill.
          content:
            application/json:
              schema:
                type: object
                properties:
                  templateKey:
                    type: string
                  slideCount:
                    type: integer
                  plan:
                    type: array
                    items:
                      type: string
                  slides:
                    type: array
                    items:
                      type: object
                      properties:
                        index:
                          type: integer
                        layoutKey:
                          type: string
                        imageMode:
                          type: string
                        slots:
                          type: object
                          additionalProperties:
                            type: string
                          description: slotKey → guidance for what to write.
                  example:
                    type: object
                    description: Ready-to-clone createStudioPresentationFromSlots body with placeholders.
                  byoReadyTemplates:
                    type: array
                    items:
                      type: string
        '400':
          $ref: '#/components/responses/BadRequest'
  /gpt/create-presentation-from-slots:
    servers:
    - url: https://www.magicslides.app/api
    post:
      operationId: createStudioPresentationFromSlots
      security:
      - StudioApiKey: []
      tags:
      - Studio
      summary: 'PREFERRED step 2: render a deck from slots you wrote (free, zero MagicSlides AI)'
      description: Render a finished deck from slot content YOU wrote (from getStudioTemplateSchema). MagicSlides writes none of the copy, so this is free. Returns preview image, live slideshow URL, edit URL and PDF.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - templateKey
              - slides
              properties:
                templateKey:
                  type: string
                  description: The same slotsReady templateKey you got the schema for.
                title:
                  type: string
                  description: Deck title.
                language:
                  type: string
                  default: en
                includeImages:
                  type: string
                  enum:
                  - stock
                  - none
                  - ai
                  default: stock
                  description: How to fill *_QUERY image slots you did not give a *_URL for.
                slides:
                  type: array
                  minItems: 3
                  maxItems: 20
                  items:
                    type: object
                    required:
                    - slots
                    properties:
                      layoutKey:
                        type: string
                        description: layoutKey from the schema.
                      slots:
                        type: object
                        additionalProperties:
                          type: string
                        description: Every slot key from the schema → your copy.
      responses:
        '200':
          description: The finished deck.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  previewImageUrl:
                    type: string
                    format: uri
                    description: PNG of the first slide.
                  previewUrl:
                    type: string
                    format: uri
                    description: Live slideshow.
                  shareUrl:
                    type: string
                    format: uri
                  editUrl:
                    type: string
                    format: uri
                    description: Open in MagicSlides Studio.
                  pdfUrl:
                    type: string
                    format: uri
                  slideCount:
                    type: integer
                  templateKey:
                    type: string
                  conversationId:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  responses:
    BadRequest:
      description: 'Invalid or missing parameters. Note: legacy endpoints answer missing parameters with 404, not 400.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    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.
  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