doc2video
v0.2.3Turn documents and photos into narrated AI videos from Claude, ChatGPT, Codex or any MCP client.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
d2v_connect_account Connect doc2video account
Connect this server to the user's doc2video account. Call it first when other tools say the user is not logged in. It returns a link: ask the user to open it, sign in or sign up, and click Approve, then call this tool again to finish.
| Parameter | Type | Description |
|---|---|---|
wait_seconds | integer | How long to wait for approval on this call (default 30) |
d2v_list_projects List projects
List the user's doc2video projects (id, name, status, format).
d2v_get_project Get project
Full project detail: settings, sources, every scene (narration, visual mode, photo, keyframe URL), jobs, preview/final video, cost estimate and suggested next steps.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
d2v_list_voices List narrator voices
Narrator voices available for projects.
d2v_create_project Create project
Create a video project from local files and folders (uploaded from this machine), public links, written text, or an AI draft prompt. Photos (jpg/png/webp/heic) are featured in scenes; documents (pdf/docx/pptx/md/txt/csv/json) supply the story. Set build: true to start generating the storyboard right away (then poll d2v_wait).
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name |
aspect_ratio | string | 9:16 portrait (Reels/TikTok/Shorts) or 16:9 landscape (YouTube/presentations) |
build | boolean | Start the storyboard pipeline immediately (default false) |
client_name | string | Client or brand name |
consistency | boolean | Keep characters/style consistent by referencing earlier keyframes (default on) |
contact_email | string | Shown in the closing call to action |
contact_phone | string | |
contact_website | string | |
creative_direction | string | Tone, visual style, focus, audience, things to avoid |
draft_prompt | string | Have AI write the source content from this description |
duration_seconds | integer | Target length in seconds; 0 = AI picks from the content |
photo_treatment | string | How user photos become visuals: original = the photo itself, restyle = AI-enhanced from the photo |
sources | array | Absolute paths of local files or folders to upload, or public http(s) links to documents, photos or web pages |
text | string | Written content to use as a source |
use_credits | boolean | Pay from the user's credits when the call needs it: $0.50 for a storyboard beyond today's free ones, or AI clips beyond what the purchase covers (the credits_confirm_required error says how much). Onl… |
voice | string | Narrator voice name or id (see d2v_list_voices) |
voice_stability | number |
d2v_add_sources Add sources
Upload more local files/folders, add public links, or add written content to a project. Rebuild the storyboard afterwards for them to take effect.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
sources | array | Absolute paths of local files or folders, or public http(s) links |
text | string | Written content to add |
d2v_remove_source Remove source
Delete a source document or photo from a project, by document id or filename.
| Parameter | Type | Description |
|---|---|---|
document * | string | Document id or filename |
project * | string | Project id, 8-character id prefix, or exact project name |
d2v_update_project Update project settings
Change project settings. They apply to steps run afterwards (e.g. run narration again after a voice change).
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
aspect_ratio | string | 9:16 portrait (Reels/TikTok/Shorts) or 16:9 landscape (YouTube/presentations) |
client_name | string | Client or brand name |
consistency | boolean | Keep characters/style consistent by referencing earlier keyframes (default on) |
contact_email | string | Shown in the closing call to action |
contact_phone | string | |
contact_website | string | |
creative_direction | string | Tone, visual style, focus, audience, things to avoid |
duration_seconds | integer | Target length in seconds; 0 = AI picks from the content |
name | string | |
photo_treatment | string | How user photos become visuals: original = the photo itself, restyle = AI-enhanced from the photo |
voice | string | Narrator voice name or id (see d2v_list_voices) |
voice_stability | number |
d2v_draft_content AI-draft source content
Have AI write the video's source content from a short description (saved as the project's AI content brief by default).
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
prompt * | string | |
save | boolean | Default true |
d2v_suggest_creative_direction Suggest creative direction
Suggest a creative direction from the project's sources and optional preferences; save: true stores it on the project.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
preferences | string | |
save | boolean |
d2v_build_storyboard Build storyboard
Queue the storyboard chain on the server: script → keyframes → narration → preview. `from` starts later in the chain. Starting from the script replaces existing scenes, so it needs force: true when scenes exist. Poll d2v_wait afterwards.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
force | boolean | |
from | string | |
use_credits | boolean | Pay from the user's credits when the call needs it: $0.50 for a storyboard beyond today's free ones, or AI clips beyond what the purchase covers (the credits_confirm_required error says how much). Onl… |
d2v_run_step Run pipeline step
Queue one pipeline step (script, keyframes, narration, preview, clips, assemble), optionally chaining more with `then`. clips and assemble require purchase. Poll d2v_wait afterwards.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
step * | string | |
max_credits_cents | integer | With use_credits: the amount the user agreed to, in cents (the cost_cents you were quoted). If the call would cost more, it asks again instead of charging. |
then | array | |
use_credits | boolean | Pay from the user's credits when the call needs it: $0.50 for a storyboard beyond today's free ones, or AI clips beyond what the purchase covers (the credits_confirm_required error says how much). Onl… |
d2v_wait Wait for jobs
Block until the project's queued/running jobs finish or timeout_seconds passes (default 50), then return status. If done is false, call again. Storyboards take several minutes.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
timeout_seconds | integer |
d2v_view_storyboard View storyboard
See scene keyframe images with their titles and narration. Pass `scenes` to view specific scene numbers (default: all).
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
scenes | array |
d2v_update_scene Update scene
Edit one scene: title, narration text (re-voice with d2v_update_narration), visual engine, approval, or photo. photo accepts a project photo's filename, a document id, an absolute local file path (uploaded), a public link to a photo, or "none" for an AI visual. A photo change regenerates the keyframe unless regenerate_keyframe is false.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
scene * | integer | Scene number (1, 2, 3…) |
approved | boolean | |
narration_text | string | |
photo | string | |
photo_treatment | string | |
regenerate_keyframe | boolean | |
title | string | |
visual_mode | string | still | kenburns (pan/zoom) | runway (AI video) | veo3 (best AI video) |
d2v_regenerate_keyframe Regenerate keyframe
Regenerate one scene's image. With a direction and mode iterate (default when a keyframe exists) the current image is edited; mode fresh creates a new image from the scene description (plus direction). Run the preview step afterwards to update the video.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
scene * | integer | Scene number (1, 2, 3…) |
direction | string | What to change, e.g. "golden-hour light, add the storefront sign" |
mode | string |
d2v_update_narration Update narration
Change a scene's narration and regenerate its voice-over: pass exact `text`, or a `prompt` for an AI rewrite, or neither to just re-voice. regenerate_audio: false saves text only.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
scene * | integer | Scene number (1, 2, 3…) |
prompt | string | |
regenerate_audio | boolean | |
text | string |
d2v_retry_clip Retry AI clip
Retry a scene's failed AI video clip, optionally on another engine (still/kenburns drop the clip). AI clips require purchase; retrying a failed clip is free, while a pricier engine or a new take of a working clip may cost credits.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
scene * | integer | Scene number (1, 2, 3…) |
engine | string | |
max_credits_cents | integer | With use_credits: the amount the user agreed to, in cents (the cost_cents you were quoted). If the call would cost more, it asks again instead of charging. |
use_credits | boolean | Pay from the user's credits when the call needs it: $0.50 for a storyboard beyond today's free ones, or AI clips beyond what the purchase covers (the credits_confirm_required error says how much). Onl… |
d2v_pull_storyboard Save storyboard locally
Download every keyframe PNG plus a storyboard.md (titles, narration, prompts) to a local folder.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
output_dir | string | Defaults to ./d2v-<project-name> |
d2v_estimate_cost Estimate cost
Price to unlock AI clips, final assembly and download, broken down by each scene's visual engine. Only AI work is charged: photos used as-is are free except for AI video clips.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
d2v_create_checkout_link Create checkout link
Create a Stripe checkout URL for the user to open and pay in their browser. Only call when the user asks to purchase.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
d2v_get_credits Get credits
The user's prepaid credit balance, free storyboards left today, and recent credit activity.
d2v_add_credits_link Add credits link
Create a Stripe checkout link for the user to add $5, $10 or $25 of credits in their browser. Only when the user asks.
| Parameter | Type | Description |
|---|---|---|
amount_dollars * | number |
d2v_unlock_with_credits Unlock with credits
Unlock a project (AI clips, final assembly, download) by paying its price from the user's credits. Only when the user asks; show d2v_estimate_cost first.
| Parameter | Type | Description |
|---|---|---|
max_credits_cents * | integer | The price the user agreed to, in cents (amount_cents from d2v_estimate_cost). If the price is higher now, nothing is charged and you're asked again. |
project * | string | Project id, 8-character id prefix, or exact project name |
d2v_redeem_promo_code Redeem promo code
Unlock a project with a promo code the user provided (one code per account).
| Parameter | Type | Description |
|---|---|---|
code * | string | |
project * | string | Project id, 8-character id prefix, or exact project name |
d2v_produce_video Produce final video
Generate AI clips for veo3/runway scenes (if needed) then assemble the final video. Requires purchase; only call when the user asks. Clips beyond what the purchase covers (engines changed to pricier ones after buying) need the user's OK to pay from credits. Poll d2v_wait afterwards.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
max_credits_cents | integer | With use_credits: the amount the user agreed to, in cents (the cost_cents you were quoted). If the call would cost more, it asks again instead of charging. |
use_credits | boolean | Pay from the user's credits when the call needs it: $0.50 for a storyboard beyond today's free ones, or AI clips beyond what the purchase covers (the credits_confirm_required error says how much). Onl… |
d2v_download_video Download final video
Save the final MP4 to this machine (requires purchase).
| Parameter | Type | Description |
|---|---|---|
project * | string | Project id, 8-character id prefix, or exact project name |
output_path | string | Defaults to <project name>.mp4 in the working directory |