mcp

v0.5.36
@viralspin/mcp Checked 4 days ago Published 8 days ago

ViralSpin MCP server — publish local videos and carousels to TikTok, Instagram, and YouTube from Claude Code

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_connections

List your connected social media accounts (TikTok, Instagram, YouTube). Returns each account's connection ID — pass the ID to publish_now / schedule_post / send_to_drafts via the account_ids param when you have multiple accounts on the same platform.

publish_now

Upload local file(s) and publish immediately to TikTok, Instagram, and/or YouTube. Pass a folder path to publish all images in it as a carousel. Use account_ids (from list_connections) to target a specific account when you have multiple accounts on the same platform.

ParameterTypeDescription
caption *stringPost caption.
paths *arrayLocal file path(s) or a folder path. Single video → video post. Multiple files → carousel. A video slide is fine for Instagram, but TikTok has no mixed carousel — it stays a carousel there and e…
account_idsarraySpecific connection IDs to publish to. Use list_connections to get IDs. Required when you have multiple accounts on the same platform and want to target a specific one. Takes precedence over 'platform…
hashtagsarrayHashtags without # prefix.
platformsarrayPlatforms to publish to (uses the first connected account per platform). Omit when using account_ids.

schedule_post

Upload local file(s) and schedule a post for a future time. Pass a folder path to schedule all images as a carousel. TikTok has no mixed carousel, so a video slide publishes there as a still — the return value says so, and the frame is pickable in the app.

ParameterTypeDescription
caption *stringPost caption.
paths *arrayLocal file path(s) or a folder path. Single video → video post. Multiple files → carousel. A video slide is fine for Instagram, but TikTok has no mixed carousel — it stays a carousel there and e…
scheduled_time *stringISO 8601 datetime string for when to publish (e.g. '2026-05-10T09:00:00'). Uses your local timezone if no timezone offset provided.
account_idsarraySpecific connection IDs to publish to. Use list_connections to get IDs. Required when you have multiple accounts on the same platform and want to target a specific one. Takes precedence over 'platform…
hashtagsarrayHashtags without # prefix.
platformsarrayPlatforms to publish to (uses the first connected account per platform). Omit when using account_ids.
timezonestringIANA timezone name (e.g. 'America/New_York'). Defaults to UTC.

send_to_drafts

Upload local file(s) and send to the platform's drafts (TikTok inbox / YouTube as private) so the user can finish in the mobile app — useful when they want to add licensed music or polish before publishing. Instagram does NOT support drafts via API (IG drafts are local to the mobile app only) — if instagram is in the platforms list, that platform will return an error explaining the limitation. Pass a folder path to send all images as a carousel draft.

ParameterTypeDescription
caption *stringCaption text. On TikTok video drafts, the caption is NOT used (user enters it in-app); on TikTok photo drafts and YouTube drafts it is preserved.
paths *arrayLocal file path(s) or a folder path. Single video → video draft. Multiple images or image folder → carousel draft.
platforms *arrayPlatforms to send drafts to. Must be connected. Instagram is not supported (API limitation).
hashtagsarrayHashtags without # prefix.

create_video_assembly

Turn an A-roll talking-head/performance clip into a polished vertical (9:16) short by editing in B-roll cutaways. Runs a LOCAL pipeline: transcribes the A-roll, finds each B-roll's focal point (face/subject-aware so nothing is cropped off), matches B-roll to what's being said, and renders with Ken Burns motion + the speaker's voice as the soundtrack (B-roll clip audio is mixed in as a low faded bed). Accepts LOCAL file paths OR public URLs for both A-roll and B-roll, and a B-roll FOLDER is expanded automatically. Pass style_ref (a reference video) to AUTO-INFER the editing style from it — ca…

ParameterTypeDescription
aroll *stringA-roll source: a local file path (e.g. C:/clips/talk.mp4) OR a public video URL.
brollarrayOptional B-roll sources: local file paths, a local FOLDER (expanded to its images/videos), and/or public URLs. Mix freely. Omit for an A-roll-only edit (just motion, no cutaways).
broll_modestringB-roll source mode. 'user_provided' (default) = use local files or Google Photos. 'ai_generated' = AI reads the transcript and generates stylized cinematic B-roll images — no local footage needed. R…
caption_stylestringCaption style. Default 'auto' = AI picks the best style from the transcript. default = bold white spring pop-in. hormozi = word-by-word yellow highlight (high-energy talking-head). glow_neon = neon cy…
destinationstringWhere the project lives. 'local' (default) = render on this machine, return an MP4 path (no upload; reads local disk). 'hosted' = create a Swap & Refine project on the user's ViralSpin account: local…
explainer_index_idstringOptional Twelve Labs index ID returned by index_explainer_sources. When set, long-form videos (>2 min) in the broll folder are searched semantically instead of being clipped from their start. Requires…
google_picker_sessionstringOptional sessionId from start_photo_picker. If set, the photos/clips you picked in Google Photos are ingested as B-roll (in addition to any `broll`).
outstringOptional output MP4 path. Defaults to the engine's out/ folder.
output_formatstringAspect ratio. Default 9x16 (vertical for Reels/TikTok/Shorts).
promptstringOptional creative direction for the edit (mood, what to emphasise, pacing).
stylestringStyle anchor for AI-generated B-roll (required when broll_mode='ai_generated'). sketchbook = hand-drawn ink on graph paper; cinematic_minimal = flat-lay dark surface, warm tungsten lamp; dark_studio =…
style_refstringOptional reference video (local path or URL). The tool watches it and infers the edit style — captions on/off + style, hook headline, keyword pops, cut pace, and aspect ratio — and applies it auto…
templatestringOptional baked template (from the preview-and-select gallery). 'screen_demo' = the viral build-in-public product-demo style: 9x16, fast beat-synced cuts, punch-in zoom to the on-screen action, meme ca…

start_photo_picker

Open a Google Photos picker to choose B-roll for create_video_assembly. Returns a link to open in your browser. Google does not allow listing or searching your albums programmatically — so use the picker's OWN search box to find an album or topic that matches your video (by person, place, event, or theme), select the photos/clips, and finish. Then call create_video_assembly with google_picker_session set to the returned sessionId. Requires a Google account connected at app.viralspin.ai/settings.

suggest_clips

See a project's cutaways and find better B-roll for one of them. LOCAL project (default): pass `cut` (0-based) to get ranked alternatives for that cutaway, each with a thumbnail. HOSTED Swap & Refine project (pass `job_id`, or set VIRALSPIN_HOSTED_JOB_ID): call with no `query` to list the timeline's cutaways (segment id + the beat each covers + current clip); call with `query` (e.g. "newborn in hospital") to search the user's B-roll library — each result includes the library tags it matched on, which is the 'why this clip fits' to show the user. Then call swap_clip to apply a choice.

ParameterTypeDescription
cutnumberLOCAL only: index of the cutaway to replace (0-based; from the cut list create_video_assembly returns).
job_idstringHOSTED: the Swap & Refine project (narrative job) to inspect. Omit to use VIRALSPIN_HOSTED_JOB_ID, or the local project.
querystringHOSTED: theme to search the B-roll library for (the moment's subject). Omit to list the timeline's cutaways instead.

swap_clip

Replace one cutaway with a chosen B-roll asset (from suggest_clips), then re-render. LOCAL project (default): pass `cut` (0-based) + `asset` (filename) → re-renders locally, returns the MP4 path. HOSTED Swap & Refine project (pass `job_id`, or set VIRALSPIN_HOSTED_JOB_ID): pass `segment_id` + `asset_url` → patches the same timeline the browser editor shows and kicks off a cloud re-render; the change appears live in Swap & Refine. Returns immediately — the new preview lands on the project shortly.

ParameterTypeDescription
assetstringLOCAL: asset filename from suggest_clips (e.g. "v03.mp4" or "07.jpg").
asset_kindstringHOSTED: optional — kind of the replacement asset.
asset_urlstringHOSTED: public URL of the replacement B-roll (from suggest_clips).
cutnumberLOCAL: index of the cutaway to replace (0-based).
job_idstringHOSTED: the Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID.
reasonstringHOSTED: optional one-line rationale for WHY this clip fits here (e.g. "the line says 'the day she arrived'"). Stored as provenance + shown on the timeline.
renderbooleanHOSTED: re-render now (costs a render/credits). Default false = instant timeline-only edit; iterate freely, then call render_project once to bake & publish.
segment_idstringHOSTED: the cutaway's segment id (from suggest_clips).

swap_caption_style

Change the caption style of the most recently assembled video and re-render. Uses the cached edit data — much faster than a full re-assembly (no re-transcription, no B-roll re-analysis). Styles: default (bold white spring pop), hormozi (word-by-word yellow highlight), glow_neon (neon cyan pulse), minimalist (lowercase clean fade), whiteboard (left-to-right reveal).

ParameterTypeDescription
caption_style *stringCaption style to apply. default = bold white pop-in (universal). hormozi = word-by-word yellow highlight on black pill (high-energy talking-head). glow_neon = neon cyan pulsing text (dark aesthetic, m…
job_idstringHOSTED: the Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID or the local project.

trim_clip

Shorten (or restore) how long ONE B-roll cutaway stays on screen in a hosted Swap & Refine project, freeing that time back to the A-roll. Audio-safe — total video length is preserved. Get the segment id from suggest_clips. Instant timeline edit by default (no render); call render_project when done.

ParameterTypeDescription
duration_sec *numberNew on-screen duration in seconds (e.g. 1.5).
segment_id *stringThe cutaway to trim (from suggest_clips).
job_idstringThe Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID.
renderbooleanRe-render now (costs credits). Default false = instant timeline-only edit.

remove_span

Cut a span of time [from_sec, to_sec] out of a hosted Swap & Refine video — e.g. a duplicated opening sentence or a dead pause. The backbone A-roll is trimmed and the rest shifts up; reuses cached B-roll. Re-renders; streams into the editor.

ParameterTypeDescription
from_sec *numberStart of the span to remove (seconds).
to_sec *numberEnd of the span to remove (seconds).
job_idstringThe Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID.

reorder_scenes

See or reorder the A-roll's backbone scenes in a hosted Swap & Refine project. Call with no `order` to LIST the scenes (id + label + time) — the reorderable building blocks. Call with `order` (the scene ids in the new running order; omit ids to drop them) to apply it and re-render.

ParameterTypeDescription
job_idstringThe Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID.
orderarrayNew running order as scene ids. Any scene id omitted here is removed from the cut. Omit `order` entirely to just list the scenes.
renderbooleanRe-render now (costs credits). Default false = instant timeline-only edit.

render_project

Bake the current hosted Swap & Refine timeline into a final MP4 — the ONE cloud render after a batch of instant timeline edits (swap_clip / trim_clip / reorder_scenes). Captions, hook, overlays and motion are applied here. Costs a render/credits. Returns immediately; the finished preview lands on the project, then publish with publish_now or schedule_post.

ParameterTypeDescription
job_idstringThe Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID.

trim_silences

Edit out the dead air / empty pauses in a hosted Swap & Refine project. Reads the transcript word timings, finds the silent gaps between spoken words (plus a long lead-in / trailing pause), and removes them to tighten the cut. It re-cuts the A-roll once per gap, so it can take a couple of minutes on a long clip — it does the BIGGEST gaps first (capped by max_cuts). Needs a transcribed talking-head A-roll.

ParameterTypeDescription
job_idstringThe Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID.
max_cutsnumberSafety cap on how many gaps to remove this pass (default 12, biggest first).
min_gap_secnumberSmallest pause to treat as dead air (default 0.7s). Lower = tighter.

get_transcript

Get the timestamped transcript of a hosted Swap & Refine project so YOU (the agent) can spot what to cut — bad takes, restarts ('let me start over'), repeated sentences, filler — or which moments are worth highlighting in a long talking/narrated video. Returns spoken segments with start/end times. Then act: remove_spans to cut bad parts, or keep_windows to keep only the highlight moments.

ParameterTypeDescription
job_idstringThe Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID.

remove_spans

Cut SEVERAL time spans out of a hosted project in one pass (e.g. bad takes / restarts you found via get_transcript), then re-render once. Spans are seconds of the current cut. Re-cuts the A-roll per span, so several takes a minute or two.

ParameterTypeDescription
spans *arraySpans to cut, each { from_sec, to_sec }.
job_idstringProject. Omit to use VIRALSPIN_HOSTED_JOB_ID.

keep_windows

Turn a long video into a highlight reel: KEEP only the given time windows and cut everything else, then re-render. Great for 'find the worth-highlighting moments in this 10-min recording' — get_transcript, pick the punchy windows, then keep_windows. Windows are seconds of the current cut.

ParameterTypeDescription
windows *arrayThe moments to KEEP, each { from_sec, to_sec }. Everything outside them is cut.
job_idstringProject. Omit to use VIRALSPIN_HOSTED_JOB_ID.

preview_folder

Before assembling from a LOCAL folder, count its media so you can warn the user about cost. Each clip is analyzed (tagged for matching) and credits are charged when create_video_assembly runs — so for a big folder, call this first and CONFIRM before proceeding. Counting is instant + free; the exact charge is finalized in the create response. Returns video/image counts (+ a rough credit estimate if a per-asset rate is configured via VIRALSPIN_ANALYZE_CREDITS_PER_ASSET).

ParameterTypeDescription
folder *stringLocal folder path to inspect.

find_moments

Find the highlight-worthy moments INSIDE a long or silent LOCAL video (e.g. a screen recording or B-roll reel) — no need to split it first. Samples frames and scores them with the configured vision model (free + private local Ollama when local mode is on, else cloud), and returns 0.6–3s windows with descriptions. Pass `query` to bias toward a theme. Set `extract: true` to ALSO cut each highlight into its own small clip LOCALLY — then you upload only those snippets (not the long source). Build a reel from them with create_video_assembly: destination:'hosted' uploads ONLY the snippets + op…

ParameterTypeDescription
video_path *stringLocal path to the long video to scan.
extractbooleanAlso cut each highlight into its own small clip locally (so you upload only the snippets). Default false = just list the windows.
modestring'highlight' (default) = VLM-scored striking moments for any footage. 'screen' = SCREEN-RECORDING mode: frame-diff finds where the on-screen ACTION is and returns a focal point (x,y) + suggested punch-…
querystringOptional theme to bias toward (e.g. 'surprise reveal', 'on-screen editing').
thresholdnumberScore cutoff 0..1 for a 'highlight' (default 0.55; lower = more windows).

set_local_mode

Toggle ViralSpin video analysis between LOCAL (free + private — runs a vision model on the user's GPU via Ollama) and CLOUD (Gemini). The choice persists in ~/.viralspin/config.json — no env vars to edit, no restart. Enabling local verifies Ollama + the model and, if missing, returns the one-time setup steps.

ParameterTypeDescription
enabled *booleantrue = LOCAL (GPU/Ollama), false = CLOUD (Gemini).
modelstringOptional Ollama vision model (default qwen2.5vl:7b).

color_grade

Apply a FREE, instant cinematic color grade / LUT look to a LOCAL video (no AI, no cost) — teal-orange, noir, warm-golden, cool-cinematic, vintage, vibrant, or moody-blue. Great for the A-roll or any clip; it's a toggle-able look (keep the original or the graded file). For true relighting / background change, that's the paid relight_clip instead. Omit `look` to list the available looks.

ParameterTypeDescription
video_path *stringLocal path to the video to grade.
lookstringThe look to apply. Omit to list all looks.

edit_raw_clip

EDIT a raw local talking-head video (A-roll) into a finished 9:16 short — THE tool for "use ViralSpin to edit my video", "edit this: <path>", "dress this clip" or "clean up my talking-head recording". It cuts the dead space and filler words (um/uh/…), then runs ViralSpin's reel pipeline on the tightened take: captions, an opening title and the EFFECTS that fit what is said (frosted stat cards on a number, an editing timeline, front-page cuts on what people say, iPhone switches and checklist ticks on a list, snap zooms...), each placed clear of the face. It renders on this computer (0 credi…

ParameterTypeDescription
captionsbooleanBurn captions onto the reel (default true).
effectsbooleanUse ViralSpin's reel pipeline and effects arsenal (default true). false = the simpler on-device edit.
graphicsbooleanAdd on-beat motion-graphics (default true).
out_pathstringWhere to write the finished reel (default: next to the input as <name>_edited.mp4).
raw_takestringInstead of video_path: a take backed up from the ViralSpin iPhone app - "latest", its id (list_raw_takes), or words from its title.
sensitivitynumberDead-space cut threshold in seconds (default 0.5; lower = tighter, more cuts).
video_pathstringLocal path to the raw talking-head video to edit (e.g. G:/clips/talk.mov).

list_raw_takes

List the raw takes (talking-head recordings) the creator filmed in the ViralSpin iPhone app and backed up to the cloud, newest first, with their titles. Use it to find the take they mean ("edit my last take", "the one where I say Claude can edit"), then pass its id to edit_raw_clip as raw_take. `q` keeps takes whose title contains every word.

ParameterTypeDescription
limitnumberHow many (default 10, max 50).
qstringWords that must all appear in the take's title (optional).

relight_clip

Relight or re-scene a SHORT clip (3–10s — best on B-roll / short hero shots) via Fal.ai: change the lighting or drop the subject into a new environment, audio preserved. PAID (~$0.10 for the reference frame + ~$0.168/sec for the video). COST-GATED two-step: call WITHOUT confirm → it preps + relights ONE frame and returns a preview + the video cost + a `folder`; review it, show the user the cost, then call again WITH confirm:true and that `folder` to run the paid video step. Write a geometry-locked, LIGHTING-focused scene_prompt (same framing/pose; change only lighting + background). Need…

ParameterTypeDescription
scene_prompt *stringRelight/re-scene prompt — keep the EXACT framing/pose; change only lighting + background (e.g. 'hard key from high front-left, deep shadow on the other side, warm rim; soft golden-hour rooftop bokeh…
video_path *stringLocal path to a 3–10s clip.
confirmbooleantrue = run the PAID video step (only after the user approved the preview + cost).
folderstringThe `folder` returned by the first (no-confirm) call — required with confirm:true.
modelstringo3 (default, best lip-sync) or o1 (cheaper/faster draft).
reference_imagestringOptional reference image of the scene/lighting to match.

queue_idea

Queue a content idea into the user's persistent Prompt/Idea History (shows in their web /spin/history, cross-browser). Use after brainstorming or after analyzing a saved/pasted post the user wants to replicate. Give it a `hook`, a ready-to-film `script` (they read it off the teleprompter at /create), the `topic`, and an `asset_plan` — per shot, say what to use: existing clip / AI-generated B-roll / web image (logo, person) / kinetic text overlay / footage to film. Set `source_url` if it came from a saved post. For a punchy 5-7s relatable joke where the VALUE IS THE OVERLAY CAPTION (not narra…

ParameterTypeDescription
asset_planarrayPer-shot plan: [{shot, kind:'existing'|'ai_broll'|'web_image'|'kinetic'|'film', note, narration, search_terms, asset_url?}]. ALWAYS set `search_terms` on any SHOW beat (existing / ai_broll) AND on eve…
captionstringFor format 'reel_7s' ONLY: the single punchy OVERLAY CAPTION that IS the joke/value (e.g. "Flight attendant: OMG is there anyone onboard who can align cross-functional stakeholders while navigating am…
formatstringHow it's executed: 'video' (film off the teleprompter) | 'carousel' (image carousel) | 'image' | 'reel_7s' (a 5-7s caption reel — see below). Default video.
hookstringThe scroll-stopping opening line / concept.
scriptstringThe full narration script to film (teleprompter-ready).
source_urlstringThe saved/pasted post URL this idea is modeled on, if any.
tagsarrayOptional tags.
topicstringThe core topic / pillar this idea belongs to.
weekstringISO week tag for weekly batches, e.g. '2026-W27'. Group a week's 5 ideas under the same value.

list_ideas

List the user's queued content ideas (their Prompt/Idea History). Optionally filter by status (queued / scripted / filmed / done / dismissed). Use to resume planning or pick the next idea to execute.

ParameterTypeDescription
statusstringOptional status filter.

set_creator_profile

Save the user's creator profile — their NICHE, social HANDLES (instagram/tiktok/youtube), and core TOPICS — so the weekly idea routine can research WHAT'S CURRENTLY GOING VIRAL in their niche (trending formats, hooks, and 5-7s caption reels — queue_idea format 'reel_7s') and model that week's ideas on proven winners. Capture this at setup: ask the user, or infer handles from list_connections. Call get_creator_profile first.

ParameterTypeDescription
handlesobjectTheir social handles: { instagram, tiktok, youtube }.
nichestringThe user's niche / what their content is about (e.g. 'AI tech for founders').
topicsarrayCore content pillars / recurring topics.
weekly_routinebooleanWhether the weekly 5-ideas routine is on for them.

get_creator_profile

Read the user's saved creator profile (niche, handles, topics, whether the weekly routine is on). Use at the start of a brainstorming or weekly-idea session so you target their actual niche/accounts. If it's empty, ask the user for their niche + handles (or read list_connections) and set_creator_profile.

sync_local_index

Analyze a LOCAL folder of footage (free on the user's GPU when local mode is on) and SYNC the tags to the cloud so it's searchable when planning ideas / asset-plans — WITHOUT uploading the files (tags + paths only; media stays local until actually used). Run this once on the user's B-roll folders so search_local_index and idea planning know what they already have.

ParameterTypeDescription
folder *stringLocal folder of footage to index + sync.

organize_scan

Scan a LOCAL folder (recursive) of pictures and clips and PROPOSE how to organize it into buckets — read-only, nothing is moved, nothing is uploaded. Finds exact + near-identical duplicates, then groups by `by`: folder (default), date (month), topic (needs vision = local vision tags, free on the GPU in local mode), or type. Returns a plan id + the buckets. Show the user the buckets, then call organize_apply (preview first, then confirm) if they want the files moved. Use preview_folder first for a quick count.

ParameterTypeDescription
folder *stringLocal folder to scan, e.g. E:\Money and Design\062521\Money and Design
bystringHow to group. Default folder. topic implies vision.
labelsarrayOptional labels of the creator's own (e.g. ["tennis", "kids at the beach"]): each becomes its own bucket when pictures match. Built-in labels are added as the folder needs them.
thumbsbooleanAlso write 480px thumbnails (for the web animation / opt-in My Story upload). Local only.
visionbooleanTag each picture with the local vision model (slow on thousands). Implied by by:'topic'.

organize_apply

Move the files of an organize_scan plan into <folder>/_Organized/<bucket>/. Without confirm:true it only PREVIEWS (counts + first moves). With confirm:true it renames files (never overwrites, never deletes; duplicates go to a Duplicates bucket) and writes an undo manifest. Only call with confirm:true after the user has seen the preview and agreed.

ParameterTypeDescription
plan *stringPlan id from organize_scan.
confirmbooleantrue = actually move the files.

organize_undo

Put back every file moved by organize_apply for a plan (files changed or re-created since are left alone and counted).

ParameterTypeDescription
plan *stringPlan id.

organize_add_to_story

OPT-IN. Add an organized folder (an organize_scan plan) to the user's My Story assets, so its buckets show in the ViralSpin web app and feed carousels and 7-second reels. Uploads ONLY a 480px thumbnail + tag + bucket per file (duplicates skipped); the original files stay on this computer and nothing is uploaded unless the user asked for this. Run it BEFORE organize_apply (thumbnails are read from the original locations). Needs a ViralSpin sign-in.

ParameterTypeDescription
plan *stringPlan id from organize_scan.
removebooleantrue = take this folder back out of My Story.

search_local_index

Search the user's SYNCED local footage by topic/keyword (from sync_local_index) — use when planning an idea's asset plan to find existing local clips that fit a script BEFORE recommending they film or AI-generate new B-roll.

ParameterTypeDescription
query *stringTopic / keyword (e.g. 'hospital', 'sunset rooftop', 'laptop typing').

list_posts

List your scheduled, published, or failed posts.

ParameterTypeDescription
statusstringFilter by status. Omit to list all posts.

cancel_post

Cancel a pending scheduled post by ID.

ParameterTypeDescription
post_id *stringThe post ID to cancel.

generate_caption

Generate an AI caption and hashtags for a post on a specific platform.

ParameterTypeDescription
platform *stringTarget platform.
title *stringVideo or content title/description.

index_explainer_sources

Index a local folder of screen recordings and OBS videos with Twelve Labs so they can be searched semantically inside create_video_assembly. Call this once per folder — indexing is cached, so re-running skips already-indexed files. Returns an index_id to pass as explainer_index_id in create_video_assembly. Requires TWELVE_LABS_API_KEY in the MCP environment.

ParameterTypeDescription
sources_folder *stringLocal folder containing your screen recordings / OBS videos (e.g. C:/obs-recordings).
index_namestringOptional name for the Twelve Labs index (defaults to the folder's base name).

create_kinetic_text

Render a standalone cinematic typing-animation video — great for explainer intros that visually demo what a user types into the prompt. Text is typed out character-by-character with a blinking cursor while a 3D camera slowly pans, giving a cinematic 'Star Wars pull-back' feel. Three effects: 'typing' (character-by-character with 3D camera), 'billboard_flip' (words fly from Z-depth and snap into place), 'isometric' (letters extrude upward on a tilted plane). Three styles: 'terminal' (green-on-dark, monospace, scanlines), 'cinematic' (white-on-black, serif, vignette), 'minimal' (transparent ba…

ParameterTypeDescription
text *stringThe text to animate — e.g. the prompt the user would type.
cameraobjectOverride the 3D camera end position. Each field defaults to the effect's cinematic preset.
duration_secnumberOverride clip length in seconds. Default: auto (≈ text.length × 0.1s + 1.5s hold).
effectstringAnimation style. Default: typing.
font_sizenumberFont size in px. Auto-sized by format if omitted (72px for 9x16, 96px for 16x9).
formatstringOutput aspect ratio. Default: 9x16 (vertical).
outstringOutput MP4 path. Defaults to engine/out/kinetic_<timestamp>.mp4.
stylestringVisual theme. terminal = green monospace; cinematic = white serif; minimal = transparent BG. Default: terminal.

check_review_status

Check whether a client has approved or requested changes on a review link. Pass the token from the URL (e.g. 'abc123xyz456' from /review/abc123xyz456).

ParameterTypeDescription
token *stringThe 12-character review token from the review URL.

prepare_product_asset

Download and verify a product image from a local path or public URL, upload it to ViralSpin cloud storage, and return a stable cloud URL ready for Higgsfield image ad generation.

ParameterTypeDescription
image_url *stringLocal file path (e.g. C:/photos/product.jpg) or public URL of the product image.

assemble_image_ad

Generate image ad variants from a product photo using Higgsfield AI. Uploads the product image, generates styled variants with your prompt, then creates a client review link showing all variants in a carousel. Requires Higgsfield credentials saved in ViralSpin Settings.

ParameterTypeDescription
product_image_path *stringLocal file path (e.g. C:/photos/product.jpg) or public URL of the product image.
prompt *stringHiggsfield styling prompt describing the desired ad aesthetic. Example: 'luxury product shot on white marble, soft studio lighting, premium brand aesthetic'
pinstringOptional 4-digit PIN to protect the client review link.

publish_to_meta

Publish an image (or video) to Instagram and/or Facebook. Use after a client approves an image ad variant from assemble_image_ad.

ParameterTypeDescription
caption *stringPost caption (include hashtags here if desired).
media_url *stringPublic URL of the approved image or video to publish.
platforms *arrayTarget platforms: 'instagram', 'facebook', or both.

render_locally

Render a ViralSpin REEL on THIS computer (Mac or Windows) instead of the cloud: ViralSpin plans the reel and hands over the media, this machine does the Remotion draw and the audio mix, and the finished mp4 stays on disk (nothing is published or uploaded; 0 credits). First use downloads a ~0.5 GB render kit into ~/.viralspin/kit (needs Node 20+ and 8 GB free disk); later runs reuse it. WITH NO ARGUMENTS it renders the newest reel the person sent to their computer from the ViralSpin app (it says which one it picked); the first time it opens the browser once so they can approve ViralSpin (no tok…

ParameterTypeDescription
backgroundbooleanReturn immediately with a job id; check progress with render_locally_status.
completebooleanAfter the draw, tell ViralSpin it finished (status + timing). Nothing is uploaded. Default false.
concurrencynumberFrames drawn in parallel. Default min(4, cores/2) = 1 here; 6+ was measured slower.
dry_runbooleanInstall/update the kit, prepare the reel, download media, start the draw stack - then stop before drawing.
job_idstringA job the app sent to this computer. Leave out to take the newest waiting one.
render_idstringA reel ViralSpin already planned (its render_id).
requestobjectOR the same body as POST /v1/reel/renders: { plan, aroll_url, style?, style_source? }.
uploadbooleanUpload the finished mp4 so it appears in the app. Default true for app jobs.

render_locally_status

Progress of a render_locally job started with background:true. With no job_id: your reels waiting for / being drawn on a computer, from ViralSpin.

ParameterTypeDescription
job_idstring