Panda Video AI Package API

The AI Package API from Panda Video — 1 operation(s) for ai package.

GitHub OpenAPI

Operations 3

PUT /aiworkflow/aipackage Updated AI Resource Content #
POST /aiworkflow/aipackage AI Package Actions #
DELETE /aiworkflow/aipackage Delete an AI Resource #

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/pandavideo-com:pandavideo-com-ai-package-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

pandavideo-com-ai-package-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Panda v2 AI Package API
  version: 2.0.0
  description: 'Generation and management of AI resources per resource type and per language: eBook (abstract), Mind Map (mindmap) and Quiz (questions).'
servers:
- url: https://api-v2.pandavideo.com.br
security:
- apiKey: []
tags:
- name: AI Package
paths:
  /aiworkflow/aipackage:
    put:
      operationId: updateAiPackageResource
      summary: Updated AI Resource Content
      description: Saves the edited content of an AI resource in one language. The PUT replaces what is sent.
      tags:
      - AI Package
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - video_id
              properties:
                video_id:
                  type: string
                  format: uuid
                lang:
                  type: string
                  description: Language of the resource being saved. Without it the legacy single language file is written.
                questions:
                  type: array
                  description: Full list of Quiz questions. Replaces the current structure.
                  items:
                    $ref: '#/components/schemas/Question'
                questions_config:
                  $ref: '#/components/schemas/QuestionsConfig'
                mindmap:
                  type: object
                  description: Mind Map tree.
                abstract:
                  type: string
                  description: eBook text in markdown.
                abstract_html:
                  type: string
                  description: Canonical HTML of the eBook.
                abstract_summary:
                  type: string
                abstract_cover:
                  $ref: '#/components/schemas/AbstractCover'
      responses:
        '200':
          description: Content saved.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
        '404':
          description: Video or resource not found.
      x-internal: false
    post:
      operationId: aiPackageAction
      summary: AI Package Actions
      description: 'One route, several operations: the action field in the body selects create, regenerate, allow download or request an upload URL.'
      tags:
      - AI Package
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - video_id
              properties:
                action:
                  type: string
                  description: Operation to run. Absent means the legacy full package generation.
                  enum:
                  - create
                  - regenerate
                  - set_download
                  - upload_abstract_url
                  - confirm_abstract
                  - upload_logo_url
                  - upload_abstract_image_url
                video_id:
                  type: string
                  format: uuid
                  description: Video the resource belongs to. Required by every action.
                resource:
                  type: string
                  description: Resource the action applies to. Used by create, regenerate and set_download.
                  enum:
                  - abstract
                  - mindmap
                  - questions
                lang:
                  type: string
                  description: Language of the resource. Used by create, regenerate, upload_abstract_url, confirm_abstract and upload_abstract_image_url.
                questions:
                  type: array
                  description: Quiz questions, when creating a Quiz by hand with action create.
                  items:
                    $ref: '#/components/schemas/Question'
                questions_config:
                  $ref: '#/components/schemas/QuestionsConfig'
                mindmap:
                  type: object
                  description: Mind Map tree, when creating a Mind Map by hand with action create.
                mindmap_config:
                  $ref: '#/components/schemas/MindmapConfig'
                abstract_config:
                  $ref: '#/components/schemas/AbstractConfig'
                allow_download:
                  type: boolean
                  description: Turns the download of that resource on or off. Used by set_download.
                upload_success:
                  type: boolean
                  description: Confirms the PDF was uploaded to the signed URL. Used by confirm_abstract.
                content_type:
                  type: string
                  description: MIME type of the file to upload. Used by upload_logo_url and upload_abstract_image_url.
                  examples:
                  - image/png
                type:
                  type: string
                  description: Legacy field of the full package generation, used when action is absent.
                  enum:
                  - ALL_TEXT_ITEMS
                from_lang:
                  type: string
                  description: Legacy field of the full package generation, used when action is absent.
      responses:
        '200':
          description: Action executed. The body depends on the action.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Unknown action, missing field for the chosen action, or unknown field inside a *_config object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
        '402':
          description: Not enough AI credits.
        '404':
          description: Video or resource not found.
        '500':
          description: Internal error.
      x-internal: false
    delete:
      operationId: deleteAiPackageResource
      summary: Delete an AI Resource
      description: Removes an AI resource from one language. The other languages of the same resource keep existing.
      tags:
      - AI Package
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - video_id
              - resource
              properties:
                video_id:
                  type: string
                  format: uuid
                resource:
                  type: string
                  enum:
                  - abstract
                  - mindmap
                  - questions
                lang:
                  type: string
                  description: Language to remove. Without it the legacy resource is removed.
      responses:
        '200':
          description: Resource removed.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
        '404':
          description: Video or resource not found.
      x-internal: false
components:
  schemas:
    MindmapConfig:
      type: object
      description: Mind Map appearance. On regenerate, an omitted field reuses the value of the previous generation.
      properties:
        orientation:
          type: string
          description: Layout direction of the tree.
        accent_color:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
    Question:
      type: object
      description: Quiz question. An id that matches an existing question updates it; an unknown id creates a new one.
      properties:
        id:
          type: string
        enunciate:
          type: string
          description: Question text shown to the viewer.
        options:
          type: array
          items:
            type: object
            properties:
              text:
                type: string
              correct:
                type: boolean
    Error:
      type: object
      properties:
        message:
          type: string
    AbstractConfig:
      type: object
      description: 'eBook layout. Strict object: an unknown field returns 400. On regenerate, an omitted field reuses the value of the previous generation.'
      additionalProperties: false
      properties:
        layout:
          type: string
          enum:
          - classic
          - modern
          - minimal
          - magazine
        title_font:
          type: string
          enum:
          - Lato
          - Inter
          - Merriweather
          - Playfair Display
          - Raleway
          - Roboto
          - Rubik
          - Oswald
        content_font:
          type: string
          enum:
          - Lato
          - Inter
          - Merriweather
          - Playfair Display
          - Raleway
          - Roboto
          - Rubik
          - Oswald
        accent_color:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
          examples:
          - '#3F55EE'
        secondary_color:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
          description: Only takes effect in the modern and magazine layouts.
          examples:
          - '#E12AFB'
        format:
          type: string
          enum:
          - portrait
          - landscape
          - square
        header_footer:
          type: boolean
          description: Header and footer on the eBook pages.
        logo_key:
          type:
          - string
          - 'null'
          description: Key returned by the upload_logo_url action.
    AbstractCover:
      type: object
      description: Cover copy of the eBook.
      properties:
        kicker:
          type: string
        title:
          type: string
        subtitle:
          type: string
        edition_label:
          type: string
    QuestionsConfig:
      type: object
      description: Quiz behaviour. In the player an absent boolean counts as enabled.
      properties:
        num_questions:
          description: Number of questions, 1 to 10, or the string auto.
          oneOf:
          - type: integer
            minimum: 1
            maximum: 10
          - type: string
            enum:
            - auto
        num_answers:
          type: integer
          minimum: 2
          maximum: 5
          description: Alternatives per question.
        allow_skip:
          type: boolean
          description: Lets the viewer skip a question.
        show_explanation:
          type: boolean
          description: Reveals right or wrong immediately.
        show_results:
          type: boolean
          description: Shows the score at the end.
        collect_lead:
          type: boolean
          description: Asks for name and e-mail before starting.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: API key of the account, sent raw. There is no Bearer prefix.
x-provenance:
  method: searched
  source: https://docs.pandavideo.com/reference
  harvested: '2026-11-20'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.pandavideo.com/reference/ai-package-actions.md
  - https://docs.pandavideo.com/reference/create-ai-package.md
  - https://docs.pandavideo.com/reference/delete-an-ai-resource.md
  - https://docs.pandavideo.com/reference/edit-quiz.md
  - https://docs.pandavideo.com/reference/generate-an-ai-image.md
  - https://docs.pandavideo.com/reference/get-ai-image-job-status.md
  - https://docs.pandavideo.com/reference/get-ai-work-status.md
  merge:
    pages: 7
    deduped: 15
    conflicts_kept_first: 0