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.
openapi: 3.2.0
info:
title: Panda AI Package v2 AI Images 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 Images
paths:
/aiworkflow/image:
post:
operationId: createAiImage
summary: Generate an AI Image
description: Queues the generation of an AI image for the eBook. Asynchronous, returns a job_id.
tags:
- AI Images
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- prompt
- video_id
properties:
prompt:
type: string
description: Description of the image to generate.
video_id:
type: string
format: uuid
description: Video the eBook belongs to.
lang:
type: string
description: Language of the eBook the image goes into.
chapter:
type: integer
description: Chapter the image illustrates.
reference_images:
type: array
description: Up to 5 storage paths used as visual reference. Every path must be under your own user prefix.
maxItems: 5
items:
type: string
responses:
'202':
description: Job queued.
content:
application/json:
schema:
type: object
properties:
job_id:
type: string
status:
type: string
enum:
- QUEUED
'400':
description: Invalid payload, more than 5 reference images, or a reference path outside your own prefix.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
'402':
description: Not enough AI credits.
x-internal: false
/aiworkflow/image/{job_id}:
get:
operationId: getAiImageJob
summary: Get AI Image Job Status
description: 'State of an image job: QUEUED, PROCESSING, SUCCESS or ERROR.'
tags:
- AI Images
parameters:
- name: job_id
in: path
required: true
description: Job identifier returned by POST /aiworkflow/image.
schema:
type: string
responses:
'200':
description: Current state of the job. On SUCCESS the image URL is cdn_base joined with storage_path. On ERROR the body carries an error field and the credit is refunded.
content:
application/json:
schema:
type: object
properties:
id:
type: string
status:
type: string
enum:
- QUEUED
- PROCESSING
- SUCCESS
- ERROR
storage_path:
type: string
examples:
- '{user_id}/ai_abstract_image/{uuid}.jpeg'
cdn_base:
type: string
examples:
- https://images-cdn.pandavideo.com
error:
type: string
description: Only present when status is ERROR.
'401':
description: Missing or invalid API key.
'404':
description: Job not found.
x-internal: false
components:
schemas:
Error:
type: object
properties:
message:
type: string
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