mcp
v0.5.36ViralSpin 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.
| Parameter | Type | Description |
|---|---|---|
caption * | string | Post caption. |
paths * | array | Local 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_ids | array | Specific 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… |
hashtags | array | Hashtags without # prefix. |
platforms | array | Platforms 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.
| Parameter | Type | Description |
|---|---|---|
caption * | string | Post caption. |
paths * | array | Local 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 * | string | ISO 8601 datetime string for when to publish (e.g. '2026-05-10T09:00:00'). Uses your local timezone if no timezone offset provided. |
account_ids | array | Specific 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… |
hashtags | array | Hashtags without # prefix. |
platforms | array | Platforms to publish to (uses the first connected account per platform). Omit when using account_ids. |
timezone | string | IANA 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.
| Parameter | Type | Description |
|---|---|---|
caption * | string | Caption 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 * | array | Local file path(s) or a folder path. Single video → video draft. Multiple images or image folder → carousel draft. |
platforms * | array | Platforms to send drafts to. Must be connected. Instagram is not supported (API limitation). |
hashtags | array | Hashtags without # prefix. |
publish_carousel_as_video
Convert a folder of images into a 1080×1920 slideshow MP4 and publish it. Use this when (a) you want the carousel as a TikTok DRAFT (TikTok's API rejects PHOTO carousels for drafts but accepts VIDEO drafts so the user can add trending music in-app), or (b) you want to attach a specific MP3 to the carousel (TikTok/IG don't allow audio attachment to photo posts via API, but a video with baked-in audio works). Requires ffmpeg installed locally. Returns a single video post, not a carousel post.
| Parameter | Type | Description |
|---|---|---|
caption * | string | Post caption. |
paths * | array | Folder containing slide images, or a list of image file paths. Files are sorted alphabetically — name them 01_, 02_, etc. for ordering. |
platforms * | array | Platforms to publish to. Must be connected. For mode='draft', Instagram is not allowed (no IG drafts API). |
account_ids | array | Specific connection IDs (from list_connections) to target. REQUIRED when you have multiple accounts on a platform — without it the post fans out to EVERY connected account on the platform (e.g. a dr… |
audio_path | string | Optional. Local path to an MP3/WAV/M4A/AAC file to use as soundtrack. If omitted, the video has no audio (creator can add trending music in-app if mode='draft'). |
duration_per_slide | number | Optional. Seconds each slide is displayed. Defaults to 3. |
hashtags | array | Hashtags without # prefix. |
mode | string | Optional. 'publish' (default) publishes immediately. 'draft' sends to TikTok inbox / YouTube as private — user finishes in mobile app. |
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…
| Parameter | Type | Description |
|---|---|---|
aroll * | string | A-roll source: a local file path (e.g. C:/clips/talk.mp4) OR a public video URL. |
broll | array | Optional 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_mode | string | B-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_style | string | Caption 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… |
destination | string | Where 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_id | string | Optional 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_session | string | Optional 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`). |
out | string | Optional output MP4 path. Defaults to the engine's out/ folder. |
output_format | string | Aspect ratio. Default 9x16 (vertical for Reels/TikTok/Shorts). |
prompt | string | Optional creative direction for the edit (mood, what to emphasise, pacing). |
style | string | Style 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_ref | string | Optional 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… |
template | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
cut | number | LOCAL only: index of the cutaway to replace (0-based; from the cut list create_video_assembly returns). |
job_id | string | HOSTED: the Swap & Refine project (narrative job) to inspect. Omit to use VIRALSPIN_HOSTED_JOB_ID, or the local project. |
query | string | HOSTED: 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.
| Parameter | Type | Description |
|---|---|---|
asset | string | LOCAL: asset filename from suggest_clips (e.g. "v03.mp4" or "07.jpg"). |
asset_kind | string | HOSTED: optional — kind of the replacement asset. |
asset_url | string | HOSTED: public URL of the replacement B-roll (from suggest_clips). |
cut | number | LOCAL: index of the cutaway to replace (0-based). |
job_id | string | HOSTED: the Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID. |
reason | string | HOSTED: 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. |
render | boolean | HOSTED: re-render now (costs a render/credits). Default false = instant timeline-only edit; iterate freely, then call render_project once to bake & publish. |
segment_id | string | HOSTED: 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).
| Parameter | Type | Description |
|---|---|---|
caption_style * | string | Caption 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_id | string | HOSTED: 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.
| Parameter | Type | Description |
|---|---|---|
duration_sec * | number | New on-screen duration in seconds (e.g. 1.5). |
segment_id * | string | The cutaway to trim (from suggest_clips). |
job_id | string | The Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID. |
render | boolean | Re-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.
| Parameter | Type | Description |
|---|---|---|
from_sec * | number | Start of the span to remove (seconds). |
to_sec * | number | End of the span to remove (seconds). |
job_id | string | The 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.
| Parameter | Type | Description |
|---|---|---|
job_id | string | The Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID. |
order | array | New running order as scene ids. Any scene id omitted here is removed from the cut. Omit `order` entirely to just list the scenes. |
render | boolean | Re-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.
| Parameter | Type | Description |
|---|---|---|
job_id | string | The 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.
| Parameter | Type | Description |
|---|---|---|
job_id | string | The Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID. |
max_cuts | number | Safety cap on how many gaps to remove this pass (default 12, biggest first). |
min_gap_sec | number | Smallest 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.
| Parameter | Type | Description |
|---|---|---|
job_id | string | The 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.
| Parameter | Type | Description |
|---|---|---|
spans * | array | Spans to cut, each { from_sec, to_sec }. |
job_id | string | Project. 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.
| Parameter | Type | Description |
|---|---|---|
windows * | array | The moments to KEEP, each { from_sec, to_sec }. Everything outside them is cut. |
job_id | string | Project. 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).
| Parameter | Type | Description |
|---|---|---|
folder * | string | Local 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…
| Parameter | Type | Description |
|---|---|---|
video_path * | string | Local path to the long video to scan. |
extract | boolean | Also cut each highlight into its own small clip locally (so you upload only the snippets). Default false = just list the windows. |
mode | string | '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-… |
query | string | Optional theme to bias toward (e.g. 'surprise reveal', 'on-screen editing'). |
threshold | number | Score 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.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | true = LOCAL (GPU/Ollama), false = CLOUD (Gemini). |
model | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
video_path * | string | Local path to the video to grade. |
look | string | The 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…
| Parameter | Type | Description |
|---|---|---|
captions | boolean | Burn captions onto the reel (default true). |
effects | boolean | Use ViralSpin's reel pipeline and effects arsenal (default true). false = the simpler on-device edit. |
graphics | boolean | Add on-beat motion-graphics (default true). |
out_path | string | Where to write the finished reel (default: next to the input as <name>_edited.mp4). |
raw_take | string | Instead of video_path: a take backed up from the ViralSpin iPhone app - "latest", its id (list_raw_takes), or words from its title. |
sensitivity | number | Dead-space cut threshold in seconds (default 0.5; lower = tighter, more cuts). |
video_path | string | Local 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.
| Parameter | Type | Description |
|---|---|---|
limit | number | How many (default 10, max 50). |
q | string | Words 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…
| Parameter | Type | Description |
|---|---|---|
scene_prompt * | string | Relight/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 * | string | Local path to a 3–10s clip. |
confirm | boolean | true = run the PAID video step (only after the user approved the preview + cost). |
folder | string | The `folder` returned by the first (no-confirm) call — required with confirm:true. |
model | string | o3 (default, best lip-sync) or o1 (cheaper/faster draft). |
reference_image | string | Optional 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…
| Parameter | Type | Description |
|---|---|---|
asset_plan | array | Per-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… |
caption | string | For 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… |
format | string | How it's executed: 'video' (film off the teleprompter) | 'carousel' (image carousel) | 'image' | 'reel_7s' (a 5-7s caption reel — see below). Default video. |
hook | string | The scroll-stopping opening line / concept. |
script | string | The full narration script to film (teleprompter-ready). |
source_url | string | The saved/pasted post URL this idea is modeled on, if any. |
tags | array | Optional tags. |
topic | string | The core topic / pillar this idea belongs to. |
week | string | ISO 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.
| Parameter | Type | Description |
|---|---|---|
status | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
handles | object | Their social handles: { instagram, tiktok, youtube }. |
niche | string | The user's niche / what their content is about (e.g. 'AI tech for founders'). |
topics | array | Core content pillars / recurring topics. |
weekly_routine | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
folder * | string | Local 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.
| Parameter | Type | Description |
|---|---|---|
folder * | string | Local folder to scan, e.g. E:\Money and Design\062521\Money and Design |
by | string | How to group. Default folder. topic implies vision. |
labels | array | Optional 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. |
thumbs | boolean | Also write 480px thumbnails (for the web animation / opt-in My Story upload). Local only. |
vision | boolean | Tag 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.
| Parameter | Type | Description |
|---|---|---|
plan * | string | Plan id from organize_scan. |
confirm | boolean | true = 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).
| Parameter | Type | Description |
|---|---|---|
plan * | string | Plan 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.
| Parameter | Type | Description |
|---|---|---|
plan * | string | Plan id from organize_scan. |
remove | boolean | true = 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Topic / keyword (e.g. 'hospital', 'sunset rooftop', 'laptop typing'). |
list_posts
List your scheduled, published, or failed posts.
| Parameter | Type | Description |
|---|---|---|
status | string | Filter by status. Omit to list all posts. |
cancel_post
Cancel a pending scheduled post by ID.
| Parameter | Type | Description |
|---|---|---|
post_id * | string | The post ID to cancel. |
generate_caption
Generate an AI caption and hashtags for a post on a specific platform.
| Parameter | Type | Description |
|---|---|---|
platform * | string | Target platform. |
title * | string | Video or content title/description. |
set_keyword_link
Map a keyword to a resource/destination link for DM automation. When a follower comments/DMs the keyword, the link is sent back (delivery activates once Instagram messaging access is approved). Re-running with the same keyword + scope updates the link instead of creating a duplicate. Omit media_id for a global rule (fires on any post); set media_id for a single post.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | The trigger word, e.g. 'guide' or 'link'. Case-insensitive. |
link * | string | The destination URL to send (e.g. a resource-hub article). |
comment_reply_text | string | Custom wording for that public reply. Omit to rotate through the built-in phrases. |
match_type | string | 'word' (default, recommended) fires when the keyword appears as a whole word — 'the app.' matches, 'appreciate' does not. 'contains' fires on any substring, which misfires on short keywords. 'exact'… |
media_id | string | Optional. A specific post/media id to scope the rule to. Omit for a global rule across all posts. |
platform | string | Platform this rule applies to. Omit for any connected platform. Only Instagram delivers today. |
reply_to_comment | boolean | Also post a public reply to the comment (e.g. 'Check your DMs', wording varies). Defaults to true. |
list_keyword_links
List your keyword→link DM-automation rules.
delete_keyword_link
Delete a keyword→link rule by its keyword. If multiple rules share the keyword, all of them are removed.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | The keyword whose rule(s) should be deleted. |
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.
| Parameter | Type | Description |
|---|---|---|
sources_folder * | string | Local folder containing your screen recordings / OBS videos (e.g. C:/obs-recordings). |
index_name | string | Optional 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…
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to animate — e.g. the prompt the user would type. |
camera | object | Override the 3D camera end position. Each field defaults to the effect's cinematic preset. |
duration_sec | number | Override clip length in seconds. Default: auto (≈ text.length × 0.1s + 1.5s hold). |
effect | string | Animation style. Default: typing. |
font_size | number | Font size in px. Auto-sized by format if omitted (72px for 9x16, 96px for 16x9). |
format | string | Output aspect ratio. Default: 9x16 (vertical). |
out | string | Output MP4 path. Defaults to engine/out/kinetic_<timestamp>.mp4. |
style | string | Visual theme. terminal = green monospace; cinematic = white serif; minimal = transparent BG. Default: terminal. |
create_review_link
After assembling a video, generate a private shareable review link for a client. The client opens the link in their browser — no account required — sees the video in a premium 'Private Review Room', and clicks Approve or Request Changes. Returns the review URL to paste into an email or DM.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | The local file path or public URL of the rendered MP4 — e.g. the path returned by create_video_assembly. |
expires_hours | number | How many hours until the link expires (default: 168 = 7 days). |
metadata | object | Optional context shown in the review room: caption, hook_text, style, format, platform_targets. |
pin | string | Optional 4-digit PIN the client must enter before viewing the review. |
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).
| Parameter | Type | Description |
|---|---|---|
token * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
image_url * | string | Local 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.
| Parameter | Type | Description |
|---|---|---|
product_image_path * | string | Local file path (e.g. C:/photos/product.jpg) or public URL of the product image. |
prompt * | string | Higgsfield styling prompt describing the desired ad aesthetic. Example: 'luxury product shot on white marble, soft studio lighting, premium brand aesthetic' |
pin | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
caption * | string | Post caption (include hashtags here if desired). |
media_url * | string | Public URL of the approved image or video to publish. |
platforms * | array | Target 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…
| Parameter | Type | Description |
|---|---|---|
background | boolean | Return immediately with a job id; check progress with render_locally_status. |
complete | boolean | After the draw, tell ViralSpin it finished (status + timing). Nothing is uploaded. Default false. |
concurrency | number | Frames drawn in parallel. Default min(4, cores/2) = 1 here; 6+ was measured slower. |
dry_run | boolean | Install/update the kit, prepare the reel, download media, start the draw stack - then stop before drawing. |
job_id | string | A job the app sent to this computer. Leave out to take the newest waiting one. |
render_id | string | A reel ViralSpin already planned (its render_id). |
request | object | OR the same body as POST /v1/reel/renders: { plan, aroll_url, style?, style_source? }. |
upload | boolean | Upload 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.
| Parameter | Type | Description |
|---|---|---|
job_id | string |