mcp

v0.2.25
@wevi/mcp Checked 3 days ago Published 1 month ago

Official 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…

ParameterTypeDescription
aspectRatiostring'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.
categorystringCategory filter (e.g. 'SaaS', 'CTA', 'Problem', 'Solution', 'Motion')
limitnumberNumber of templates to return (default 100: the whole library)
pagenumberPage number for pagination (default 1)
searchstringKeyword 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.

ParameterTypeDescription
templateId *stringTemplate 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…

ParameterTypeDescription
scenes *arrayOrdered scenes; each maps to one template with its parameters
aspectRatiostringLeave out to use the templates' own frame. '9:16' makes a vertical video from the templates' vertical versions.
brandobjectBrand for logo and color layers. Required (websiteUrl or logoUrl) when any template has a logo slot; reused on later projects.
brandIdstringExisting Wevi brand ID to attach (skip when passing `brand`).
titlestringProject 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.

ParameterTypeDescription
projectId *stringProject ID
sceneId *stringScene ID from wevi_create_project or wevi_get_project
parametersobjectLayer key → value map to merge, e.g. { logoPng: 'https://cdn.example.com/logo.png' }; null clears a value
titlestringNew scene title
voiceoverTextstringNew 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.

ParameterTypeDescription
projectId *stringProject ID
templateId *stringPublished template ID or slug
parametersobjectLayer key → value map from wevi_get_template_schema
positioninteger1-based position to insert at (default: end)
titlestringScene title; also used as on-screen copy when a text layer is unset
voiceoverTextstringNarration 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.

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
sceneIds *arrayAll 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.

ParameterTypeDescription
projectId *string
sceneId *string
templateId *stringNew template ID or slug
parametersobjectParameters for the new template

wevi_get_project

Inspect an existing Wevi project: scenes, layer values, lifecycle status and render state.

ParameterTypeDescription
projectId *stringWevi 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…

ParameterTypeDescription
projectId *stringProject ID from wevi_create_project
quality *stringExport 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…
includeMusicbooleanMix background music (a library track is picked automatically when the project has none)
includeVoiceoverbooleanGenerate and mix voiceover from each scene's voiceoverText
musicTrackIdstringWevi library track id (from wevi_list_music) instead of the automatic pick. Only for accounts with paid access; free accounts get the automatic pick.
soundEffectsstringSound 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…
soundStylestringCharacter 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…
voiceIdstringNarrator voice id (from wevi_list_voices) instead of the default. Only for accounts with paid access; free accounts get the default narrator.
waitSecondsnumberSeconds 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.

ParameterTypeDescription
exportIdstringExport ID (legacy lookup of one export record)
projectIdstringProject ID (preferred)
waitSecondsnumberSeconds 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.

ParameterTypeDescription
projectId *stringProject 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…

ParameterTypeDescription
projectId *stringProject 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…

ParameterTypeDescription
projectId *stringProject ID
levelstringHow much sound design: off, subtle or full.
stylestringThe character of the cuts' and accents' sounds.
volumenumberSound 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.

ParameterTypeDescription
key *stringThe sound's key from wevi_get_sound_design.
projectId *stringProject ID
lengthSecondsnumberTyping, ticks or scrolling only: how many seconds it runs.
levelDbnumberLevel against the plan in dB (0 as planned).
nudgeSecondsnumberMoment against the planned one, in seconds (0 on it; negative earlier).
soundstringA 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.

ParameterTypeDescription
atSeconds *numberSeconds into the scene's clip where the sound lands.
projectId *stringProject ID
sceneId *stringThe scene's id (scenes in wevi_get_sound_design).
sound *stringThe library sound id.
lengthSecondsnumberTyping, ticks or scrolling only: how many seconds it runs.
levelDbnumberLevel 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.

ParameterTypeDescription
keys *arrayThe keys of the sounds to take out.
projectId *stringProject 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.

ParameterTypeDescription
projectId *stringProject ID
allbooleanUndo every change to single sounds.
keysarrayThe 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…

ParameterTypeDescription
prompt *stringMarketing goal, product description, audience and tone (e.g. '30-second SaaS promo for an AI email writer')
aspectRatiostringAspect ratio for every scene (default 16:9). 9:16 plans a vertical video from the templates with a vertical version.
brandIdstringSaved brand from wevi_list_brands (wins over brandName/brandUrl)
brandNamestringBrand or product name
brandUrlstringProduct website or domain; also becomes createPayload.brand.websiteUrl
brandVoicestringTone of voice (e.g. 'confident, modern, energetic')
captureUibooleantrue = the user has a live product page to capture, prefer templates that show real UI; false = avoid capture templates
maxScenesintegerExact scene count (3-12). Omit for 3-6 scenes chosen to fit the brief.
sessionIdstringAn 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…
targetDurationSecondsintegerTarget 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.

ParameterTypeDescription
querystringFilter 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…

ParameterTypeDescription
url *stringPage to open
projectIdstringProject whose scene will be captured (sets the viewport)
sceneIdstringScene 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.

ParameterTypeDescription
sessionId *stringSession from wevi_open_page
url *stringPage to go to
screenshotbooleanInclude 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.

ParameterTypeDescription
sessionId *stringSession from wevi_open_page
opensMenubooleanClick 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)
screenshotbooleanInclude a small screenshot of the result
selectorstringCSS selector of the element to click
textstringVisible 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.

ParameterTypeDescription
selector *stringCSS selector of the field
sessionId *stringSession from wevi_open_page
text *stringThe text to type
clearbooleanClear the field before typing
screenshotbooleanInclude a small screenshot of the result
submitbooleanPress 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.

ParameterTypeDescription
selector *stringCSS selector of the element to hover
sessionId *stringSession from wevi_open_page
screenshotbooleanInclude 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.

ParameterTypeDescription
sessionId *stringSession from wevi_open_page
rationumberScroll position as a share of the page, 0 (top) to 1 (bottom)
screenshotbooleanInclude a small screenshot of the result
selectorstringCSS selector of the element to scroll into view
ynumberAbsolute 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.

ParameterTypeDescription
sessionId *stringSession from wevi_open_page
msnumberMilliseconds to wait (at most 10000)
screenshotbooleanInclude a small screenshot of the result
selectorstringCSS 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.

ParameterTypeDescription
key *stringThe key, e.g. Escape, Enter, Tab, ArrowDown
sessionId *stringSession from wevi_open_page
screenshotbooleanInclude 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.

ParameterTypeDescription
sessionId *stringSession from wevi_open_page
screenshotbooleanInclude 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.

ParameterTypeDescription
sessionId *stringSession from wevi_open_page or wevi_capture_scene
timeoutSecondsintegerHow 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).

ParameterTypeDescription
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…

ParameterTypeDescription
projectId *stringProject ID
sceneId *stringScene ID from wevi_create_project (see scenesNeedingCapture)
annotatebooleanAlso return a screenshot with numbered candidate boxes
autoSelectbooleanfalse = capture and list candidates only (with a numbered screenshot), then choose with wevi_select_capture (recommended when the page is unfamiliar)
focusarrayKeywords 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
framestringauto = zoom and scroll so the chosen components fill the frame; current = the view as is; full = top of page at zoom 1
keepSessionbooleanKeep the browser session open afterwards (returns sessionId) to capture more scenes from the same site
pageintegerTemplates that show several pages only: which page this capture fills, from 1 (omitted: the first not captured yet)
selectorsarrayExact CSS selectors to use, in order (overrides auto-selection)
sessionIdstringOpen browser session from wevi_open_page; captures its current view (url optional)
targetFillnumberHow much of the frame the selection should fill in auto framing (default 0.6)
urlstringPage 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, …

ParameterTypeDescription
imageUrl *stringPublic png/jpg/webp URL
projectId *string
sceneId *string
pageintegerTemplates 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.

ParameterTypeDescription
captureId *stringcaptureId from wevi_capture_scene
projectId *string
sceneId *string
selectedComponentIds *arrayComponent ids, in order (the template's `uiCaptureSlots` say how many). For text templates the first must be the text element.
cursorPointsarrayCursor 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…
keepSessionbooleanKeep 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).

ParameterTypeDescription
url *stringThe website URL to capture (e.g. 'https://stripe.com')
selectorstringOptional CSS selector to crop a specific component or hero element
viewportstringTarget viewport size: 'desktop' (1440x900), 'tablet' (768x1024), or 'mobile' (375x812)