Mind Map, Ebook and Quiz

Overview of the AI Package: eBook, Mind Map and Quiz per resource and per language, with the manifest-first reading flow.

Panda AI Package

The AI Package generates supporting material from a video hosted on Panda Video, using artificial intelligence. From the video's audio and content, Panda produces:

📘 eBooks · 🧠 Mind Maps · ❓ Quizzes

Generation is asynchronous and consumes AI credits from your account. Each resource can be generated on its own and in several languages.

Naming reference

The API uses technical names; the Panda interface uses commercial names. In field tables, enum values and JSON examples, always the technical ones.

APIInterfaceHas PDF
abstracteBookYes
mindmapMind MapYes
questionsQuizNo

What changed in v2

BeforeNow
One call generated the three resources together (ALL_TEXT_ITEMS)type accepts ABSTRACT, MINDMAP and QUESTIONS individually
One output language, in to_langto_langs, an array of up to 49 languages — one resource per language
One file per video: {video_external_id}-ai.jsonOne file per language: {video_external_id}-ai.{lang}.json, with schema_version: 2
No manifest — consumers read boolean flagsconfig.ai.resources[] lists the type, language and PDF URL of each resource
📘

Backward compatibility

The old path keeps working. to_lang is still accepted, {video_external_id}-ai.json is still written, and content generated with the previous model appears in the manifest flagged is_legacy: true, pointing to the path without a language suffix. Nothing already integrated became invalid — it became incomplete.

Where to start

  1. GeneratePOST /aiworkflow with the resource type and the languages in to_langs.
  2. TrackGET /aiworkflow/{work_id} until status reaches FINISHED.
  3. Discover what exists — call GET /videos/{video_id} and read config.ai.resources[]. This is the correct entry point — never build file paths by trial and error.
  4. Read the contentGET {pullzone_name}/{video_external_id}-ai.{lang}.json, one file per language.

Pages in this section

PageWhat it covers
Create an AI ResourcePOST /aiworkflow — generation, *_config, languages
Get AI Work StatusGET /aiworkflow/{work_id} — job state
Get Mind Map, eBook or QuizThe per-language file an integrator reads
AI Package ActionsCreate by hand, regenerate, allow download, signed upload URLs
Save AI Resource ContentPUT — save edited content, per language
Delete an AI ResourceDELETE — remove one resource from one language
Upload an eBook PDFPublish your own PDF in three steps
Generate an AI ImageAI chapter image
Get AI Image Job StatusImage job state

Credits and permissions

  • AI generation consumes credits; creating a resource by hand (action: create) does not.
  • An image job that ends in ERROR has its credit refunded.
  • Download permission is per resource, not per language: allowing the eBook applies to all of its languages.