---
canonical_url: "https://docs.composio.dev/toolkits/zipir"
markdown_url: "https://docs.composio.dev/toolkits/zipir.md"
product: "platform"
version: null
last_updated: null
---

# VitrinAI Digital Studio (Zipir)

Create, manage, render, and download AI-generated educational videos with VitrinAI Digital Studio (Zipir).

- **Category:** ai content generation
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 14
- **Triggers:** 0
- **Slug:** `ZIPIR`
- **Version:** 00000000_00

## Tools

### Accept Lesson Interview Plan

**Slug:** `ZIPIR_ACCEPT_LESSON_PLAN`

Accept an interview lesson plan and start script and storyboard preparation. The user should review the plan first unless quick=true, which skips the questions and plan for the direct flow. This does not approve the storyboard and costs no video minutes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `quick` | boolean | No | Set true to skip questions and planning and enter the direct flow. |
| `format` | string ("briefing" | "clay" | "docwalk" | "whiteboard" | "illustrated" | "intuition" | "panels" | "brand" | "mascothost" | "timeline" | "cutaway" | "mapstory" | "cartoon" | "isometric" | "chalkboard" | "pictogram" | "mathscience" | "showcase" | "papercut" | "workplace" | "hostcartoon") | No | Format ID that overrides the plan's recommendation. |
| `lesson_id` | string | Yes | Lesson ID returned by ZIPIR_CREATE_LESSON or ZIPIR_LIST_LESSONS. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Answer Lesson Interview Questions

**Slug:** `ZIPIR_ANSWER_LESSON_QUESTIONS`

Create or update selected interview answers for an existing lesson and ask Zipir to build its plan. Omitted questions retain suggested answers, and an empty answers list accepts every suggestion. Poll ZIPIR_GET_LESSON_PLAN until phase is plan_ready. This costs no video minutes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `answers` | array | Yes | Answers to change. Omitted questions keep their suggested answers; an empty list accepts every suggestion. |
| `lesson_id` | string | Yes | Lesson ID returned by ZIPIR_CREATE_LESSON or ZIPIR_LIST_LESSONS. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Approve Lesson and Start Paid Rendering

**Slug:** `ZIPIR_APPROVE_LESSON`

PAID, SPEND-TRIGGERING ACTION: approve a prepared lesson's storyboard and irreversibly start rendering, which holds or spends video minutes. Call only after the user reviewed the storyboard and explicitly confirmed the minute charge; never approve on the user's behalf. Check usage first when the balance may be tight.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lesson_id` | string | Yes | Prepared lesson ID. First use ZIPIR_GET_LESSON to verify the storyboard is ready and needs_approval is true. |
| `idempotency_key` | string | No | Optional retry key for this exact paid approval. A unique key is generated when omitted; reuse an explicit key for later retries of the same lesson. |
| `confirmed_storyboard_review_and_minute_charge` | boolean | Yes | Set true only after the user reviewed the storyboard and explicitly authorized holding or spending video minutes to render it. This confirmation is required and is not sent to Zipir. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Lesson

**Slug:** `ZIPIR_CREATE_LESSON`

Create an unapproved lesson from text, a public page URL, or an uploaded document. By default this begins asynchronous storyboard preparation; with interview=true it asks document-based questions and builds a plan first. Creation does not render video or spend minutes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | Optional lesson title, up to 200 characters. |
| `language` | string ("tr" | "en") | No | Narration language: Turkish (tr) or English (en). Omit to infer it from the source. |
| `format_id` | string | No | Current video format ID from ZIPIR_LIST_FORMATS. Omit to let Zipir choose; do not guess from a fixed enum. |
| `interview` | boolean | No | Whether to ask free document-based questions and build a plan before the storyboard. Omit for the direct storyboard flow. |
| `voice_key` | string | No | Current narrator key from ZIPIR_LIST_VOICES matching the lesson language; premium voices consume 1.5 times the minutes. |
| `source_url` | string | No | Public HTTP(S) page URL to ingest. Supply this and/or source_text when not uploading a file. |
| `source_file` | object | No | PDF, DOCX, PPTX, Markdown, or text document up to 50 MB.  Do not combine this file with source_text or source_url. |
| `source_text` | string | No | Lesson source text, up to 5 MiB UTF-8. Supply this and/or source_url when not uploading a file. |
| `target_minutes` | integer ("1" | "3" | "5" | "10") | No | Target video length in minutes (1, 3, 5, or 10; default 3). Longer documents are shortened to fit, and lesson.document_coverage reports how much source content the video narrates. |
| `idempotency_key` | string | No | Retry key for this exact create request. Reuse it only for an identical retry within 24 hours; use a new key if the source or options change. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Permanently Delete Lesson

**Slug:** `ZIPIR_DELETE_LESSON`

Permanently and irreversibly delete a lesson, stop its processing, and remove its stored files. Call only when the user explicitly asks to delete this specific lesson and acknowledges that deletion cannot be undone or recovered.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lesson_id` | string | Yes | Exact lesson ID to permanently delete. Resolve and verify it before requesting confirmation. |
| `confirmed_permanent_delete` | boolean | Yes | Set true only after the user explicitly requested permanent deletion of this specific lesson and acknowledged that its stored files cannot be recovered. This confirmation is not sent to Zipir. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Lesson

**Slug:** `ZIPIR_GET_LESSON`

Inspect one lesson's current lifecycle phase, approval need, quality results, duration, failure details, and next action. Call repeatedly to poll asynchronous preparation or rendering.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lesson_id` | string | Yes | Lesson ID returned by ZIPIR_CREATE_LESSON or ZIPIR_LIST_LESSONS. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Lesson Download URL

**Slug:** `ZIPIR_GET_LESSON_DOWNLOAD_URL`

Create a signed MP4 URL valid for 15 minutes for a completed lesson. Defaults to 720p because it works on every plan; request 1080p only when the user wants it and the account has the required plan.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `variant` | string ("720" | "1080") | No | Video resolution. Use 720 by default on every plan; request 1080 only when the user wants it and the account has Studio, Team, or another entitled paid plan. |
| `lesson_id` | string | Yes | Completed lesson ID whose rendered MP4 should be downloaded. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Lesson Interview Plan

**Slug:** `ZIPIR_GET_LESSON_PLAN`

Read the questions, answers in force, and generated plan for an interview lesson. Poll while agent_state is working; questions are available while waiting_user and the plan is available at phase plan_ready. This costs no video minutes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lesson_id` | string | Yes | Lesson ID returned by ZIPIR_CREATE_LESSON or ZIPIR_LIST_LESSONS. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Usage

**Slug:** `ZIPIR_GET_USAGE`

Read the connected API key's billing period, video-minute allowance and remaining balance, and request rate limit. Check this before paid lesson approval.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Video Formats

**Slug:** `ZIPIR_LIST_FORMATS`

List the currently available video formats and their IDs; use this before creating a lesson instead of guessing or relying on a fixed format list.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Lessons

**Slug:** `ZIPIR_LIST_LESSONS`

Return up to the requested number of the connected account's newest lessons, optionally filtered by status. Zipir cannot retrieve older pages because this endpoint exposes no cursor, page, or offset.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum number of newest lessons to return (1-50). This is not a page size because Zipir provides no continuation mechanism. |
| `status` | string ("queued" | "rendering" | "done" | "failed") | No | Return only lessons in this top-level lifecycle status. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Narrator Voices

**Slug:** `ZIPIR_LIST_VOICES`

List narrator voices, optionally by language, including tier and recommendation metadata; premium voices consume 1.5 times the video minutes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `language` | string ("tr" | "en") | No | Return only Turkish (tr) or English (en) voices; omit to return the complete catalog. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Queue Lesson Scene Edit Proposal

**Slug:** `ZIPIR_QUEUE_LESSON_SCENE_EDIT_PROPOSAL`

Queue a source-checked scene-edit proposal in the Zipir panel and return its edit_id. This action completes when the proposal is queued; Zipir exposes no REST operation to inspect or accept it, so the owner must finish that review in the panel. It does not render video or spend video minutes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cue_index` | integer | No | 0-based spoken-caption position identifying its scene. Provide exactly one of cue_index or scene_index. |
| `lesson_id` | string | Yes | Lesson ID whose storyboard scene should receive a proposed patch. |
| `operation` | string ("rewrite" | "shorten" | "retitle" | "style") | Yes | Patch operation: rewrite in the source's words, shorten without changing the point, retitle the scene, or change its visual style. |
| `instruction` | string | No | Optional one- or two-sentence instruction for the change. The source must support any proposed sentence. |
| `scene_index` | integer | No | 0-based storyboard scene position. Provide exactly one of scene_index or cue_index. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Rerender Lesson (Potentially Paid and Irreversible)

**Slug:** `ZIPIR_RERENDER_LESSON`

POTENTIALLY PAID, SPEND-TRIGGERING, IRREVERSIBLE ACTION: queue a new render of a finished lesson's current approved storyboard. This can spend video minutes, and the queued rerender cannot be undone. Call only after the user explicitly confirms this specific rerender and possible minute spend.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lesson_id` | string | Yes | Finished lesson ID to render again. Verify the lesson is done and that the current approved storyboard is the version the user wants rendered. |
| `confirmed_irreversible_rerender_and_possible_minute_spend` | boolean | Yes | Set true only after the user explicitly authorized irreversibly queuing this rerender and acknowledged that it can spend video minutes. This confirmation is required and is not sent to Zipir. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
