mcp
v0.2.25Official Model Context Protocol (MCP) server for Wevi — AI Video Generation Platform
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wevi_list_templates
List PUBLISHED Wevi video templates (only published templates can be used in projects). One call returns the whole library in story order (hook first, call to action last): read all of it and pick the best fit for each scene, not the first entries. Filter by aspect ratio, category or keyword. Every scene in one project must share the same aspectRatio, so pick all templates for a video from a single aspectRatio group. For a vertical video, filter by aspectRatio 9:16: it lists the templates with a vertical version. Templates with requiresUiCapture=true show real product UI: after creating the pr…
| Parameter | Type | Description |
|---|---|---|
aspectRatio | string | '16:9' = widescreen 1920x1080 (default for most videos). '9:16' = vertical 1080x1920, the templates that have a vertical version. '16:12' = 1920x1440 desktop-app focus frame. |
category | string | Category filter (e.g. 'SaaS', 'CTA', 'Problem', 'Solution', 'Motion') |
limit | number | Number of templates to return (default 100: the whole library) |
page | number | Page number for pagination (default 1) |
search | string | Keyword matched against template names, slugs and descriptions |
wevi_get_template_schema
Inspect the editable parameters (layer keys) of a published template: text, colors, sliders, toggles, dropdown options, media. Call this before wevi_create_project so the `parameters` you pass use exact layer keys and valid values.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | Template ID or slug |
wevi_create_project
Create a Wevi video project from one or more published templates. Pass ALL scenes of the video in `scenes` (in order) — they are rendered and exported together as ONE concatenated video. A video is one project with all its scenes; a project per scene gives separate videos. All templates must share the same aspectRatio. Templates with requiresUiCapture need wevi_capture_scene afterwards; the response lists them under scenesNeedingCapture. Pass `brand.websiteUrl` (ask the user for the product's site if unknown) so logo, app-logo, avatar and color layers are filled automatically; the call is re…
| Parameter | Type | Description |
|---|---|---|
scenes * | array | Ordered scenes; each maps to one template with its parameters |
aspectRatio | string | Leave out to use the templates' own frame. '9:16' makes a vertical video from the templates' vertical versions. |
brand | object | Brand for logo and color layers. Required (websiteUrl or logoUrl) when any template has a logo slot; reused on later projects. |
brandId | string | Existing Wevi brand ID to attach (skip when passing `brand`). |
title | string | Project title (e.g. 'Q3 Product Launch') |
wevi_update_scene
Change one scene of an existing project: layer parameters (merged over current values), narration or title. Use it to fix a failed scene (e.g. set a logo image URL) instead of rebuilding the project; the next wevi_trigger_render re-renders only scenes whose inputs changed.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
sceneId * | string | Scene ID from wevi_create_project or wevi_get_project |
parameters | object | Layer key → value map to merge, e.g. { logoPng: 'https://cdn.example.com/logo.png' }; null clears a value |
title | string | New scene title |
voiceoverText | string | New narration; must fit the scene's voiceover budget |
wevi_add_scene
Add one scene to an existing project (same aspect ratio as the others). Parameters you leave unset are auto-filled like on create; capture templates then need wevi_capture_scene.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
templateId * | string | Published template ID or slug |
parameters | object | Layer key → value map from wevi_get_template_schema |
position | integer | 1-based position to insert at (default: end) |
title | string | Scene title; also used as on-screen copy when a text layer is unset |
voiceoverText | string | Narration within the template's voiceover budget |
wevi_remove_scene
Remove one scene from a project; the remaining scenes close the gap. The next publish exports without it.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
sceneId * | string |
wevi_reorder_scenes
Set the order of all scenes in a project. Pass every scene id exactly once, in the new order.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
sceneIds * | array | All scene ids in the new order |
wevi_swap_template
Switch one scene to another published template (same aspect ratio). Matching parameters carry over, the rest is auto-filled; the response lists dropped keys. Capture templates then need wevi_capture_scene.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
sceneId * | string | |
templateId * | string | New template ID or slug |
parameters | object | Parameters for the new template |
wevi_get_project
Inspect an existing Wevi project: scenes, layer values, lifecycle status and render state.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Wevi project ID |
wevi_trigger_render
Render every scene of a project and export them as ONE concatenated MP4 (music + voiceover mixed in). Waits up to `waitSeconds` for completion; if the video is not ready yet it returns the current phase and you should poll wevi_get_render_status. Costs credits for each scene it renders (unchanged scenes are not rendered again) plus the export by its quality (see costs in wevi_get_credits). A free account's video has a length limit (rules.freeVideoMaxSeconds in wevi_get_credits) and exports at 720p with a watermark; a longer one is refused (FREE_VIDEO_TOO_LONG), so remove a scene to fit. Sandbo…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID from wevi_create_project |
quality * | string | Export quality. When the account has paid access (paidAccess in wevi_get_credits), ask the user before the first render: 1080p suits web and social; 4K (more credits, a slower export) is for large scr… |
includeMusic | boolean | Mix background music (a library track is picked automatically when the project has none) |
includeVoiceover | boolean | Generate and mix voiceover from each scene's voiceoverText |
musicTrackId | string | Wevi library track id (from wevi_list_music) instead of the automatic pick. Only for accounts with paid access; free accounts get the automatic pick. |
soundEffects | string | Sound design: "subtle" (quieter and sparser: the clear interface actions and the strongest moments) suits most product videos, explainers and walkthroughs; "full" is a launch or trailer feel, and what… |
soundStyle | string | Character of the cuts' and accents' sounds, matched to the music: "clean" (light, the default for most product videos), "cinematic" (deep whooshes and booms for a dramatic launch), "playful" (swishes… |
voiceId | string | Narrator voice id (from wevi_list_voices) instead of the default. Only for accounts with paid access; free accounts get the default narrator. |
waitSeconds | number | Seconds to wait in this call before returning progress (0-55, default 45) |
wevi_get_render_status
Check render + export progress for a project started with wevi_trigger_render and get the final video URL when ready. Optionally waits up to `waitSeconds` before returning. Pass `exportId` instead to look up a single export record. Checking also moves the job on: once every scene has rendered, it starts the export that wevi_trigger_render asked for.
| Parameter | Type | Description |
|---|---|---|
exportId | string | Export ID (legacy lookup of one export record) |
projectId | string | Project ID (preferred) |
waitSeconds | number | Seconds to wait for completion before returning (0-55) |
wevi_get_scene_previews
Per-scene render results for a project: state, a preview video URL per rendered scene, and the error for failed ones. Use it to check one scene before exporting or after wevi_update_scene. Like wevi_get_render_status, checking starts the requested export once every scene has rendered.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
wevi_get_sound_design
Lists a project's sound effects as they will play in its video, planned for its scenes and narration: each sound's key, scene, moment (seconds into the scene), what happens there, the library sound and its level; the sounds taken out; the library; and advice, the problems a sound designer would fix in the sound as it now plays (empty when the sound is right). Wevi plans a project's sound effects by the rules a sound designer keeps: a sound only on a moment the eye follows; the library sound that matches what happens there (a payment confirmed, a chat message, a headline landing); whooshes only…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
wevi_set_sound_effects
Sets how much sound design a project gets, its character and its volume, saved on the project for the studio preview and every export; it costs nothing. Level: subtle suits most product videos (explainers, walkthroughs, business and serious products); full suits a launch, a trailer or a hype video; off suits a calm or personal piece, or a user who wants none. Style, matched to the music: clean (light air and soft accents, the default), cinematic (deep whooshes and booms for a dramatic launch), playful (quick swishes and pops for a light consumer product), tech (digital glitches and blips for d…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
level | string | How much sound design: off, subtle or full. |
style | string | The character of the cuts' and accents' sounds. |
volume | number | Sound effects volume, 0 to 100 (100 as designed). |
wevi_change_sound
Changes one sound by its key from wevi_get_sound_design: another library sound (the one whose name matches what happens at that moment), its level against the plan, its moment, and for typing, ticks or scrolling how long it runs (the sound repeats to fill it). Values are set against the plan, not stepped: levelDb 0 is as planned, -3 a clear step quieter, +3 louder; nudgeSeconds 0 is on the planned moment, within 2 seconds either way. Returns the sound design as it now plays, with its advice.
| Parameter | Type | Description |
|---|---|---|
key * | string | The sound's key from wevi_get_sound_design. |
projectId * | string | Project ID |
lengthSeconds | number | Typing, ticks or scrolling only: how many seconds it runs. |
levelDb | number | Level against the plan in dB (0 as planned). |
nudgeSeconds | number | Moment against the planned one, in seconds (0 on it; negative earlier). |
sound | string | A library sound id to play instead. |
wevi_add_sound
Adds a library sound at a moment of a scene: the scene, seconds into its clip, and the sound. A sound belongs on something that happens on screen at that moment; the library sound whose name matches that action fits best. Typing, ticks or scrolling run for lengthSeconds (the sound repeats to fill it). Sound effects must be on (subtle or full). Returns the sound design as it now plays, with its advice.
| Parameter | Type | Description |
|---|---|---|
atSeconds * | number | Seconds into the scene's clip where the sound lands. |
projectId * | string | Project ID |
sceneId * | string | The scene's id (scenes in wevi_get_sound_design). |
sound * | string | The library sound id. |
lengthSeconds | number | Typing, ticks or scrolling only: how many seconds it runs. |
levelDb | number | Level against the sound's usual level in dB (0 as usual). |
wevi_remove_sounds
Takes sounds out by their keys from wevi_get_sound_design. They stay listed under removed and wevi_restore_sounds puts them back. Returns the sound design as it now plays, with its advice.
| Parameter | Type | Description |
|---|---|---|
keys * | array | The keys of the sounds to take out. |
projectId * | string | Project ID |
wevi_restore_sounds
Puts sounds that were taken out back, by their keys; with all set, undoes every change to single sounds (taken out, changed or added) and returns to Wevi's plan. Returns the sound design as it now plays, with its advice.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
all | boolean | Undo every change to single sounds. |
keys | array | The keys of the sounds to put back. |
wevi_get_capabilities
What Wevi can and cannot make, the questions to ask the user before building, supported aspect ratios, free-account and sandbox limits, and credit costs. Useful at the start of a conversation and whenever a request sounds outside Wevi's scope (e.g. 'make a dance video', 'edit my footage'). No API call is made.
wevi_get_credits
Show the account's credit balance: plan credits used and left, credits rolled over from last month, purchased credits, credits set aside for a video in progress, whether the account has paid access, this key's own monthly cap when it has one, and what each action costs. The Wevi studio, its agent and API keys all spend from this one balance. Call it before a large batch, or when a tool fails with 402. Sandbox keys (wevi_test_) never spend credits.
wevi_generate_storyboard
Plan a storyboard against the published templates from a brief: scene order and purpose, one template per scene (all from one aspect ratio), narration already inside each scene's voiceover budget, on-screen text mapped to the template's text layers, and which scenes need a UI capture. For a product video, open the product page first (wevi_open_page) and pass its sessionId: templates are then chosen for the interface actually on the page, and the response says which scene shows what (productUi). Returns createPayload: send it to wevi_create_project as-is (add brand.websiteUrl if the draft asks…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Marketing goal, product description, audience and tone (e.g. '30-second SaaS promo for an AI email writer') |
aspectRatio | string | Aspect ratio for every scene (default 16:9). 9:16 plans a vertical video from the templates with a vertical version. |
brandId | string | Saved brand from wevi_list_brands (wins over brandName/brandUrl) |
brandName | string | Brand or product name |
brandUrl | string | Product website or domain; also becomes createPayload.brand.websiteUrl |
brandVoice | string | Tone of voice (e.g. 'confident, modern, energetic') |
captureUi | boolean | true = the user has a live product page to capture, prefer templates that show real UI; false = avoid capture templates |
maxScenes | integer | Exact scene count (3-12). Omit for 3-6 scenes chosen to fit the brief. |
sessionId | string | An open browser session on the product page (from wevi_open_page). The plan then matches templates to the interface actually on that page: a prompt box gets the template that types into one, a chat th… |
targetDurationSeconds | integer | Target runtime in seconds (10-180). A free account's video has a length limit (see wevi_get_credits). |
wevi_list_brands
Brands saved on this account (name, website, logo, colors). Pass one as brandId to wevi_create_project to reuse it instead of the latest.
wevi_list_music
Background music tracks in the Wevi library with mood and genre tags. Pass a track id as musicTrackId to wevi_trigger_render; without one Wevi picks a track matching the brand's tone. Choosing a track is for accounts with paid access (paidAccess in wevi_get_credits); free accounts get Wevi's pick.
| Parameter | Type | Description |
|---|---|---|
query | string | Filter by title, mood or genre, e.g. 'upbeat' |
wevi_list_voices
Narrator voices with tags and preview clips. Pass a voice id as voiceId to wevi_trigger_render; without one the default narrator is used. Choosing a voice is for accounts with paid access (paidAccess in wevi_get_credits); free accounts get the default narrator.
wevi_open_page
Open a live browser session on a page and return its outline (headings, links, sections, scroll state), a small screenshot of the view it opens on, and an overview picture of the rest of the page as it scrolls down (Wevi looks down the page for you; productUi counts what is further down too). The page is opened by Wevi's own browser service (Wevi Browse API: https://docs.wevi.ai/docs/tools-reference); no third-party API is called. The outline's productUi lists the interface a scene could be built around (a prompt box, a chat thread, a grid of cards…), most prominent first; pick templates who…
| Parameter | Type | Description |
|---|---|---|
url * | string | Page to open |
projectId | string | Project whose scene will be captured (sets the viewport) |
sceneId | string | Scene that will be captured from this session |
wevi_go_to
Go to a URL inside an open browser session and return the page's outline, a screenshot of the view it lands on and an overview picture of the rest of the page. The page is loaded by Wevi's own browser service (Wevi Browse API: https://docs.wevi.ai/docs/tools-reference). Use it to reach one of the app's own views (routes from wevi_open_page or wevi_wait_for_login) or another page of the same site before capturing. Only http(s) pages; the session stays on the site it was opened for plus sites reached this way.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session from wevi_open_page |
url * | string | Page to go to |
screenshot | boolean | Include a small screenshot of the result |
wevi_click
Click an element inside an open browser session (a tab, a menu, a button, a link) and return the resulting outline and screenshot. Name it by CSS selector or by its visible text. To open a dropdown or menu by text, set opensMenu so the control that opens it is clicked rather than a row showing its value. Steps that look like payments, purchases, deletions or account changes are refused; at most 150 steps per session.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session from wevi_open_page |
opensMenu | boolean | Click by text: of the controls whose text matches, click one that opens a menu or list first (a dropdown's trigger, not the row that shows its value) |
screenshot | boolean | Include a small screenshot of the result |
selector | string | CSS selector of the element to click |
text | string | Visible text of the link or button to click, when no selector is known |
wevi_type
Type into a field inside an open browser session (a search box, a filter, a form field) and return the resulting outline and screenshot. Passwords are refused: when a page needs a login, the user signs in at loginUrl themselves and wevi_wait_for_login reports when they are done. Steps that look like payments, purchases, deletions or account changes are refused; at most 150 steps per session.
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of the field |
sessionId * | string | Session from wevi_open_page |
text * | string | The text to type |
clear | boolean | Clear the field before typing |
screenshot | boolean | Include a small screenshot of the result |
submit | boolean | Press Enter after typing |
wevi_hover
Move the pointer over an element inside an open browser session, so what shows on hover (a tooltip, a menu that opens on hover) is on screen, and return the resulting outline and screenshot.
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of the element to hover |
sessionId * | string | Session from wevi_open_page |
screenshot | boolean | Include a small screenshot of the result |
wevi_scroll
Scroll an open browser session to an element, to a position in pixels, or to a share of the page, and return the resulting outline and screenshot. Long pages keep their best cards, tables and widgets below the fold; scroll before judging a page thin.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session from wevi_open_page |
ratio | number | Scroll position as a share of the page, 0 (top) to 1 (bottom) |
screenshot | boolean | Include a small screenshot of the result |
selector | string | CSS selector of the element to scroll into view |
y | number | Absolute scroll position in pixels |
wevi_wait
Wait inside an open browser session, for a number of milliseconds or until an element appears (an app that draws its content after it loads), and return the resulting outline and screenshot.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session from wevi_open_page |
ms | number | Milliseconds to wait (at most 10000) |
screenshot | boolean | Include a small screenshot of the result |
selector | string | CSS selector of the element to wait for |
wevi_press_key
Press a key inside an open browser session (Escape to close a dialog, Enter to submit, Tab to move on) and return the resulting outline and screenshot. Steps that look like payments, purchases, deletions or account changes are refused; at most 150 steps per session.
| Parameter | Type | Description |
|---|---|---|
key * | string | The key, e.g. Escape, Enter, Tab, ArrowDown |
sessionId * | string | Session from wevi_open_page |
screenshot | boolean | Include a small screenshot of the result |
wevi_go_back
Go back one page inside an open browser session and return the resulting outline and screenshot.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session from wevi_open_page |
screenshot | boolean | Include a small screenshot of the result |
wevi_wait_for_login
Wait for the user to finish signing in on loginUrl (the live page of an open session), then return the signed-in page's outline and the app's routes. Call it right after sending the user loginUrl. Returns as soon as the user presses 'I am signed in' or the sign-in screen goes away; gives up after timeoutSeconds with signedIn=false (call again if the user is still at it). Passwords are never requested or typed; the user signs in themselves.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session from wevi_open_page or wevi_capture_scene |
timeoutSeconds | integer | How long to wait this call (default 180) |
wevi_close_page
Close a browser session opened with wevi_open_page (or kept open by wevi_capture_scene).
| Parameter | Type | Description |
|---|---|---|
sessionId * | string |
wevi_capture_scene
Capture a live web page into a scene whose template needs a UI capture (requiresUiCapture = true). The capture is made by Wevi's own capture service (Wevi Capture API: https://docs.wevi.ai/docs/tools-reference); no third-party API is called. Loads the URL (or captures the current view of an open session, after any wevi_go_to, wevi_click or wevi_scroll there), detects UI components, auto-selects the best ones, frames the view on them (zoom + scroll), recaptures a clean background with them hidden, and makes the scene render-ready. On a page nobody scrolled, Wevi looks down the whole page (scrol…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
sceneId * | string | Scene ID from wevi_create_project (see scenesNeedingCapture) |
annotate | boolean | Also return a screenshot with numbered candidate boxes |
autoSelect | boolean | false = capture and list candidates only (with a numbered screenshot), then choose with wevi_select_capture (recommended when the page is unfamiliar) |
focus | array | Keywords describing what to show, matched against component labels and text, and against the words of each part of the page when Wevi looks down it |
frame | string | auto = zoom and scroll so the chosen components fill the frame; current = the view as is; full = top of page at zoom 1 |
keepSession | boolean | Keep the browser session open afterwards (returns sessionId) to capture more scenes from the same site |
page | integer | Templates that show several pages only: which page this capture fills, from 1 (omitted: the first not captured yet) |
selectors | array | Exact CSS selectors to use, in order (overrides auto-selection) |
sessionId | string | Open browser session from wevi_open_page; captures its current view (url optional) |
targetFill | number | How much of the frame the selection should fill in auto framing (default 0.6) |
url | string | Page to capture, e.g. 'https://stripe.com/payments' (optional when sessionId is given) |
wevi_capture_from_image
Use a still image (e.g. a screenshot the user shared, hosted at a public URL) as a scene's captured page. Works for templates whose whole background is the page (uiCaptureSlots.fullPageBackground). Templates that animate individual elements need the live page: use wevi_capture_scene instead. Free. A template that shows several pages takes one image per page, with `page` 1, 2, …
| Parameter | Type | Description |
|---|---|---|
imageUrl * | string | Public png/jpg/webp URL |
projectId * | string | |
sceneId * | string | |
page | integer | Templates that show several pages only: which page this image fills, from 1 (omitted: the first not filled yet) |
wevi_select_capture
Pick different components from a capture returned by wevi_capture_scene (use `captureId` and ids from `candidates`). No page reload, no credit.
| Parameter | Type | Description |
|---|---|---|
captureId * | string | captureId from wevi_capture_scene |
projectId * | string | |
sceneId * | string | |
selectedComponentIds * | array | Component ids, in order (the template's `uiCaptureSlots` say how many). For text templates the first must be the text element. |
cursorPoints | array | Cursor templates only (`uiCaptureSlots.cursorPoints` in the template schema): where the cursor stops, in order, in the capture's CSS pixel space (the space of candidate bboxes). Omit to spread the sto… |
keepSession | boolean | Keep the capture's browser session open after saving |
wevi_capture_web_ui
Take a standalone screenshot of a URL with Wevi's own capture service (Wevi Capture API: https://docs.wevi.ai/docs/tools-reference) and get an image URL back, for templates with a plain image slot (logo/avatar/background). For templates that need a UI capture, use wevi_capture_scene instead. Costs credits (see costs in wevi_get_credits; none on sandbox keys).
| Parameter | Type | Description |
|---|---|---|
url * | string | The website URL to capture (e.g. 'https://stripe.com') |
selector | string | Optional CSS selector to crop a specific component or hero element |
viewport | string | Target viewport size: 'desktop' (1440x900), 'tablet' (768x1024), or 'mobile' (375x812) |