vivideo
v1.1.0AI video via the Vivideo API: agents sign up, buy a plan and make auto or manual videos.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_configuration
Check whether a Vivideo API key is configured for this MCP server. Call this FIRST. Returns { configured: boolean }. If false, ask the user to set the VIVIDEO_API_KEY environment variable (a key from https://app.vivideo.ai/account/api-keys) and restart the MCP server. Never asks for or exposes the key. No account yet: start_signup (new email, pay-first). Existing account: request_login_code + verify_login_code.
check_account
Get the account plan, premium status, and remaining credit balance. Use this to decide whether the user can generate a video (rendering needs a premium plan and enough credits). Returns plan, premium, credits, free_video_available, and links (upgrade / buy_credits). Cheap and safe to call often.
list_models
List the video models available for MANUAL mode plus the auto-generate pipeline (id "vivideo-auto"). Each model lists its operations, allowed durations, resolutions, aspect ratios, style presets and per-second credit rate — use these to build a valid create request. Filter with `mode` to keep the response small.
| Parameter | Type | Description |
|---|---|---|
mode | string | Only return models for this mode. |
list_avatars
List available avatars for auto-mode videos (the stock catalogue plus the account's own avatars). Stock avatars are grouped by person, each with a `looks` array — pass a looks[].avatar_id (or an owned avatar's id) as `avatar_id` in create_auto_video. Use `search`/`limit` to keep responses small.
| Parameter | Type | Description |
|---|---|---|
gender | string | |
limit | integer | Max avatars to return (default 20). |
search | string | Filter avatars by name. |
list_voices
List available voices for auto-mode videos. Returns voice ids to pass as `voice_id` in create_auto_video. Filter by language/gender/search and cap with `limit`. Voice cloning is not available via the API.
| Parameter | Type | Description |
|---|---|---|
gender | string | |
language | string | e.g. "English". |
limit | integer | Max voices (default 20). |
search | string |
list_brand_kits
List the account's brand kits (logo, colors, fonts, motion style). Returns brand_ref ids to pass as `brand_kit_id` in create_auto_video to produce an on-brand video.
estimate_credits
Estimate the credits a generation will cost, from the published per-model rates — BEFORE creating it. This is an estimate, not a charge; the exact amount is returned as credits_charged when you create the video. Use it with check_account to confirm the user can afford the request.
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
duration_seconds | integer | |
model | string | Required for manual mode — a model id from list_models. |
resolution | string | Manual mode — one of the model's resolutions. |
create_auto_video
Create a video in AUTO mode: Vivideo writes the script and produces a complete AI-avatar video from your prompt. Returns immediately with a video id and status "processing" (paid) or "preview" (free accounts — see the preview field and upgrade link). Then call wait_for_video or get_video. An Idempotency-Key is sent automatically so a retry never creates a duplicate. Rendering requires a premium plan and credits.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What the video should show or say. |
avatar_id | string | From list_avatars. Omit for a default presenter. |
brand_kit_id | string | A brand_ref from list_brand_kits. |
duration_seconds | integer | 5–300, default 30. |
folder_id | string | |
idempotency_key | string | Optional. Reuse the same key to make a retry safe. |
name | string | |
orientation | string | |
voice_id | string | From list_voices. |
create_manual_video
Create a video in MANUAL mode: send your prompt straight to a specific model (get ids/options from list_models). The operation is inferred from inputs — add image_url for image-to-video. resolution/duration/aspect_ratio must match the model (an invalid value returns a 400 listing what is allowed). Returns a video id and status; then wait_for_video or get_video. Idempotency handled automatically.
| Parameter | Type | Description |
|---|---|---|
model * | string | A model id from list_models, e.g. "veo31_fast". |
prompt * | string | |
aspect_ratio | string | |
duration_seconds | integer | Must be one of the model's durations. |
folder_id | string | |
generate_audio | boolean | |
idempotency_key | string | |
image_url | string | Public https image → image-to-video. |
name | string | |
negative_prompt | string | |
resolution | string | |
seed | integer | |
style | string |
get_video
Get a video's current status and result. status is one of queued | processing | completed | failed | preview. When completed, video_url is the MP4. When failed, credits are refunded and error explains why. Cheap; prefer wait_for_video for polling instead of calling this in a tight loop.
| Parameter | Type | Description |
|---|---|---|
id * | string | The video id from a create call. |
wait_for_video
Wait for a video to reach a terminal state (completed / failed / preview), then return it. Polls safely at the API-suggested interval up to a timeout. If it does not finish in time it returns { timed_out: true } with the latest status so you can hand control back and call again later — it never blocks indefinitely or over-polls.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
timeout_seconds | integer | Max wait (default 300, cap 1800). |
list_videos
List the account's videos, newest first. Filter by status and limit the count to keep responses small.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Default 20. |
status | string |
render_preview
For FREE accounts only: after the user upgrades, render a video that was returned as status "preview". Charges run on the same project (the first video after upgrading is free). If the video is already rendering/complete, returns its current state. If the account is still free, returns an upgrade_required error with an upgrade link.
| Parameter | Type | Description |
|---|---|---|
id * | string | The preview video id. |
start_signup
Create a NEW Vivideo account for your user by paying for a plan (works without an API key). Returns a Stripe checkout_url: SHOW THIS LINK TO YOUR USER, who pays there (card, Link or Apple Pay) — the only human step. Then call get_signup_status with the checkout_id; once paid, the API key is saved and used automatically. If the email already has an account this returns error account_exists: use request_login_code + verify_login_code instead (payment never opens an existing account). The claim token stays inside this server and is never returned.
| Parameter | Type | Description |
|---|---|---|
email * | string | Your user's email; the new account is created for it. |
period * | string | Billing period. |
plan * | string | Plan to buy. |
key_name | string | Names the key "Agent: <key_name>". |
get_signup_status
Check a sign-up started with start_signup: pending | ready | claimed | needs_code | expired | failed. On "ready" the new API key is saved (~/.vivideo/config.json) and every Vivideo tool uses it right away — the key is never shown; if a key is already configured it is NOT replaced (key_issued_not_saved: the user runs `vivideo login`). "needs_code": the email had an account by payment time, the plan went to it; sign in with request_login_code. Pass wait_seconds (max 300) to wait for payment; polls at most every 10 s, so do not call it in a tight loop.
| Parameter | Type | Description |
|---|---|---|
checkout_id * | string | From start_signup. |
claim_token | string | Only if this server did not start the sign-up. Treat as a secret. |
wait_seconds | integer | Wait up to this long for payment (default 0: check once). |
request_login_code
Sign in to an EXISTING Vivideo account (works without an API key): emails a 6-digit code to the address. Ask your user to read it from their inbox, then call verify_login_code. Use this when start_signup says account_exists, when get_signup_status says needs_code, or to get a new key for an account you already use.
| Parameter | Type | Description |
|---|---|---|
email * | string |
verify_login_code
Finish signing in with the 6-digit code from the email (works without an API key). Creates a new API key for the account, saves it (~/.vivideo/config.json) and uses it for every Vivideo tool — the key is never shown. Returns the account plan and credits; if there is no plan yet, start_checkout buys one. If a key is already configured, the new key is NOT saved or used (status key_issued_not_saved): the user switches accounts with `vivideo login`.
| Parameter | Type | Description |
|---|---|---|
code * | string | The 6 digits from the email. |
email * | string | |
key_name | string | Names the key "Agent: <key_name>". |
start_checkout
Buy a plan (plan + period) or a credit top-up (credits) for the signed-in account (needs an API key: from VIVIDEO_API_KEY, start_signup or verify_login_code). Returns a Stripe checkout_url: SHOW IT TO YOUR USER to pay. It never pays by itself. Then call get_checkout. Credits need a plan first (402 plan_required).
| Parameter | Type | Description |
|---|---|---|
credits | integer | Credit top-up instead of a plan. |
idempotency_key | string | Reuse to get the same checkout back on a retry. |
period | string | |
plan | string |
get_checkout
Check a checkout from start_checkout: pending | paid | expired | failed (needs an API key). Pass wait_seconds (max 300) to wait for payment; polls at most every 10 s. After "paid", check_account shows the new plan/credits.
| Parameter | Type | Description |
|---|---|---|
checkout_id * | string | |
wait_seconds | integer | Default 0: check once. |