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.
| API | Interface | Has PDF |
|---|---|---|
abstract | eBook | Yes |
mindmap | Mind Map | Yes |
questions | Quiz | No |
What changed in v2
| Before | Now |
|---|---|
One call generated the three resources together (ALL_TEXT_ITEMS) | type accepts ABSTRACT, MINDMAP and QUESTIONS individually |
One output language, in to_lang | to_langs, an array of up to 49 languages — one resource per language |
One file per video: {video_external_id}-ai.json | One file per language: {video_external_id}-ai.{lang}.json, with schema_version: 2 |
| No manifest — consumers read boolean flags | config.ai.resources[] lists the type, language and PDF URL of each resource |
Backward compatibilityThe old path keeps working.
to_langis still accepted,{video_external_id}-ai.jsonis still written, and content generated with the previous model appears in the manifest flaggedis_legacy: true, pointing to the path without a language suffix. Nothing already integrated became invalid — it became incomplete.
Where to start
- Generate —
POST /aiworkflowwith the resourcetypeand the languages into_langs. - Track —
GET /aiworkflow/{work_id}untilstatusreachesFINISHED. - Discover what exists — call
GET /videos/{video_id}and readconfig.ai.resources[]. This is the correct entry point — never build file paths by trial and error. - Read the content —
GET {pullzone_name}/{video_external_id}-ai.{lang}.json, one file per language.
Pages in this section
| Page | What it covers |
|---|---|
| Create an AI Resource | POST /aiworkflow — generation, *_config, languages |
| Get AI Work Status | GET /aiworkflow/{work_id} — job state |
| Get Mind Map, eBook or Quiz | The per-language file an integrator reads |
| AI Package Actions | Create by hand, regenerate, allow download, signed upload URLs |
| Save AI Resource Content | PUT — save edited content, per language |
| Delete an AI Resource | DELETE — remove one resource from one language |
| Upload an eBook PDF | Publish your own PDF in three steps |
| Generate an AI Image | AI chapter image |
| Get AI Image Job Status | Image job state |
Credits and permissions
- AI generation consumes credits; creating a resource by hand (
action: create) does not. - An image job that ends in
ERRORhas its credit refunded. - Download permission is per resource, not per language: allowing the eBook applies to all of its languages.
