Create Video from Document
create_video_from_documentTurn a document (PDF, DOCX, PPTX, Keynote, TXT) into ONE finished video, unattended: it is read, planned, storyboarded and built into editable slides with AI narration. Use this for "make a video from this file"; use create_course when the user wants a multi-video course. Give a public fileUrl (a file the user attached in chat has one) and its filename. Set contentStyle "promotional" for a marketing video that pitches the product to its buyer (a brochure or product sheet), "announcement" for a launch; the default "training" teaches. Optional pace ("snackable" short and punchy, "course" default, "inDepth" thorough) and aiVideo ({ enabled, stylePresetId }: builds the video from AI footage, a full-frame clip on nearly every scene, Business and Enterprise only). Costs credits. Returns videoId at once; the video is in progress until the job completes (poll jobId with get_job_status). Takes a few minutes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileUrl": "<fileUrl>",
"filename": "<filename>"
},
"name": "create_video_from_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| film | No | Every scene designed and animated, paying customers only: motion (150 credits/min in total) or premium (200). Looks: match-document (default), isometric, news-desk, blueprint, swiss-motion, risograph, whiteboard, paper-popup, transit-map, dark-keynote. Takes about 15 minutes. | |
| pace | No | ||
| aiVideo | No | AI pictures and clips. Styles: documentary (default), cinematic, cartoon3d, flat2d, storybook, brand. | |
| fileUrl | Yes | Public URL of the document | |
| filename | Yes | Its file name; the extension decides how it is read | |
| language | No | Narration language code (list_languages); detected from the document when omitted | |
| projectId | No | Project folder for the video | |
| productName | No | The product's name, for promotional | |
| contentStyle | No | What the video is for. promotional and announcement write a marketing video (buyer, gains, brand close) instead of a lesson. Default training. | |
| instructions | No | Audience, tone, what to focus on |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | ||
| status | No | ||
| videoId | No |