mcp-server
v0.6.21MCP server for the Slates desktop app.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
slates_get_workspace_state
Snapshot of the user's Slates workspace: the project list (most recent first) plus the active project in full when you name one. It also returns generationDefaults (the default image and video model and image settings) for when the user states no preference.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many projects to list, newest first. Default 40. |
projectId | string |
slates_get_selection
The user's live selection in the Slates app: ticked cards (with codes), the image open in the viewer, and where they are on the open timeline (playhead, selected clips, the clips under the playhead and the words spoken there).
slates_set_selection
Select cards in Media, Shots on the Board or clips on the timeline, as clicks, Shift-click, Escape and Ctrl/Cmd+A do: replace makes the ids the whole selection, add and remove change only them, clear empties it, all ticks everything the tab shows (Media: the grid as filtered, folded rounds left out; Board: every Shot on the open board; timeline: every clip on the open timeline). Every surface needs a project open in the window, Media its grid showing and the Board the Board or Script tab; slates_set_view opens and switches. On the timeline, clip ids open the Cut on their timeline, scroll to th…
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
surface * | string | |
ids | array | Asset ids or codes (media), Shot ids or codes (board) or clip ids (timeline). Not used by clear or all. |
slates_get_view
What the user is looking at in Slates: Home or a project, the tab (Media, Script or Board), the open board and its View and Filter, Media's tab, chosen folder and narrowing, a Library page, the picture viewer, the timeline Viewer's mode and clip, Compare, the animatic, Settings, whether the prompt box is hidden, the timeline and the side panels, and, from a desktop with the one-window layout, the window's layout (Edit, Plan or one the user saved, whether it changed since saved, the landscape or vertical shape, which areas show, the Viewer's Inspector drawer open or shut for want of room), and…
slates_set_view
Change what the user is looking at, as their own clicks would: open a project or go Home, switch tab, open a board, jump to a scene, set the Board's View and Filter, set Media's tab, folder and narrowing, jump to a card in Media, open a Library page, a picture in the picture viewer or a clip in the timeline's Viewer, Compare, Review mode (review, reviewAssetIds), the animatic or Settings on a pane, show or hide the prompt box, open or park the timeline or switch the cut on it, open a Shot's panel on Script, set the side panels (the project navigator and its folded sections, the Slates Director…
slates_get_manual_picture
A picture of a Slates screen from the app manual, with numbered callouts and their legend, taken from the version the user runs. Pass the picture id the manual names (app-manual sections show "Picture `id`"); no id lists them. Show one when the user cannot find something or asks what a screen looks like; never unasked. When the control is on screen, slates_highlight_control points at the real thing instead.
| Parameter | Type | Description |
|---|---|---|
id | string | Picture id from the manual, e.g. "window-overview". Omit to list. |
slates_highlight_control
Point at a control in the user's Slates window: a grey outline around it for a few seconds, with your caption beside it. It clicks nothing and never changes the view; the user's next click clears it. Target ids are listed at the end of each app-manual surface section ("controls you can point at"), or pass list:true to get every id with whether it is on screen now. shown:false means it is not on screen: tell the user the way there, or open that view with slates_set_view if they want you to.
| Parameter | Type | Description |
|---|---|---|
caption | string | A few words shown beside it, e.g. "Click here to open the timeline". |
list | boolean | Return every target id, its on-screen name, where it is, and whether it is on screen now. |
target | string | Control id, e.g. "shell.titlebar.search". |
slates_get_composer
What the prompt box holds right now, as the user sees it: the lane and model, whether it is editing a Shot or a draft, the words, every setting with the values it offers, each reference tile with its number, role and whether the model's limit leaves it out, the exact text the model receives (See what gets sent), mentions that match nothing, the notice line, and the Generate button's price. Read it before telling the user what a press will do, or before staging with slates_set_composer.
slates_set_composer
Stage a request in the user's prompt box, as their own clicks would, and leave it for them to press Generate: edit a Shot in it or stop, clear or restore the draft, reuse a result's prompt, edit a clip, pick the lane and model, write the words, attach pictures, clips or audio with roles, re-file or remove them, set settings and the voice, fill Lip Sync or Motion Control's inputs. It never generates and never spends; the answer is the box as it settled (the same report as slates_get_composer) plus a line for anything it could not apply and why. Use it when the user wants a setup ready to look a…
| Parameter | Type | Description |
|---|---|---|
addMentions | array | @name / #name added at the end of the words (slates_list_library gives each item its mention). |
attach | array | Pictures, clips or audio from the project (id or code). A picture with no role goes in as a dropped one does; a clip is a video-reference, audio an audio-reference. |
bindShotId | Edit this Shot in the box (id or code; every change is saved to it); null stops editing and brings the draft back. | |
clear | boolean | Empty the unsaved draft; restoreDraft undoes it. Not while a Shot is bound. |
detach | array | Take these out of the box: asset ids or codes, or a character's id to drop the voice her @mention brought. |
editSourceAssetId | string | Edit with AI: this clip becomes the canvas and the box starts clean. |
fromAssetId | string | Reuse prompt: this result's recipe replaces the box (id or code). |
lane | string | The Image / Video / Audio tab; it lands on the last model used there. |
model | string | A model id (slates_list_available_models), `<id>::face` for its Face row, `chatgpt`, `lip-sync` or `motion-transfer`. |
params | object | Settings by id, each to a value it offers (slates_get_composer lists both), applied after the model. |
projectId | string | The project you expect the box to be in; refused if another is open. |
prompt | string | Replaces the words. @name and #name attach what they name, as typing does. |
restoreDraft | boolean | Put back the draft that Clear, Reuse prompt or Edit with AI replaced (they swap). |
restoreSetup | boolean | On a bound Shot, swap back the setup Continue replaced (writes the Shot; again swaps back). |
setRole | array | Re-file pictures already in the box, as a tile's role menu does. |
tool | object | Lip Sync and Motion Control inputs (pick model lip-sync or motion-transfer first). An uploaded audio file is only the user. |
voice | The voice on a voice model: a preset (slates_list_voices), an audio clip in the project, or described in words. |
slates_reorder_folders
Reorder the Folders section of the left dock, as dragging a row does. Pass folder ids in the new order; ones you leave out keep their order after them.
| Parameter | Type | Description |
|---|---|---|
folderIds * | array | |
projectId * | string |
slates_reorder_pins
Reorder the Pinned section of the left dock, as dragging a pin does. Pass the pinned images (UUIDs or badge codes) in the new order; ones you leave out keep their order after them.
| Parameter | Type | Description |
|---|---|---|
assetIds * | array | |
projectId * | string |
slates_get_usage
What Settings → Account → Usage shows: estimated spend across every project for this month (default), the last 7 days or all time, the image and video counts, video seconds and the models spent on most.
| Parameter | Type | Description |
|---|---|---|
period | string |
slates_get_app_settings
The app's own settings an agent may read: the app version, the projects folder, which tab a never-opened project lands on (newProjectLens), whether ChatGPT images is on, (from Slates 1.6.1) who does Slates Director's thinking (studioAgentHost: slates, codex or claude) with each host's model and thinking level ('' is its default), and (newer Slates) makeProxiesAtImport (off by default) with proxies: what the clips' proxies take on disk, per project. Never keys or sign-in.
slates_set_app_settings
Change an app setting the user asked you to: newProjectLens (the tab a never-opened project lands on: media, script or board), chatGptImagesEnabled (Settings → AI tools → ChatGPT images), or who does Slates Director's thinking: studioAgentHost (slates, codex for the user's own Codex on their ChatGPT plan, claude for their own Claude Code on their Claude plan) and each host's model and thinking level, ids from the host's own list or '' for its default; makeProxiesAtImport (Settings → Storage → Make proxies automatically at import: never turn it on unless the user asked, it starts off);…
| Parameter | Type | Description |
|---|---|---|
chatGptImagesEnabled | boolean | |
clearProxies | 'all', or one project's id: deletes its proxies. | |
makeProxiesAtImport | boolean | Only when the user asked: on, every camera file that needs a proxy gets one at import. |
newProjectLens | string | |
studioAgentClaudeEffort | string | |
studioAgentClaudeModel | string | |
studioAgentCodexEffort | string | |
studioAgentCodexModel | string | |
studioAgentHost | string |
slates_get_spend_limits
The project's spend limit and this session's budget, in credits, where a session is this MCP connection or CLI run and a new one starts at the full default budget: each limit (null is none), what is spent against it and what is left, as shown beside Generate. A generation over either one is refused with its cost and what is left; read this before a run of generations.
| Parameter | Type | Description |
|---|---|---|
projectId | string | Defaults to the open project. |
slates_set_spend_limits
Set the project's spend limit or this session's budget (per MCP connection or CLI run, not across them), in credits; null removes one. Lowering a limit is yours to do. Raising or removing one, the session budget included, needs the user's OK in chat first: without confirm it changes nothing and returns requires_confirm. Pass confirm=true only after the user says yes, never on your own.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | Set true only to relay the user's explicit OK to raise or remove a limit. |
projectId | string | Defaults to the open project. |
projectLimitCredits | What this project may spend in all, by hand and by every agent. | |
sessionBudgetCredits | What this MCP connection or CLI run may spend. |
slates_get_asset
One asset in full (UUID or badge code): its recorded prompt, model, settings and inputs, its source picture and linked clips, and how many clips and board shots use it. slates_list_assets rows are compact; read this before reusing or explaining one card.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | |
projectId * | string |
slates_link_asset_source
Link a clip to the picture it came from, as the clip card's Link video to image does (it adds a link; a clip can have several), or pass imageAssetId null to unlink it from every picture. UUIDs or badge codes.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The clip. |
imageAssetId * | The picture, or null to unlink. | |
projectId * | string |
slates_transcribe_asset
Transcribe a video or audio asset's speech into words timed to within a frame, as the card's Transcribe command does. Free: it runs on the user's machine and spends no credits. The first run downloads the speech models once (the result's downloadedModelsMB says how much) and can take minutes; if the call times out, the desktop keeps working, so read slates_get_asset_transcript before trying again. A repeat, or another asset with the same bytes, reuses the stored transcript (reused: true); force re-runs it, and an edited transcript (edited: true) is kept unless forced. noSpeech: true means the…
| Parameter | Type | Description |
|---|---|---|
assetId * | string | A video or audio asset: its code (VID-V3) or id. |
projectId * | string | |
force | boolean | Transcribe again even when a stored transcript exists. |
slates_get_asset_transcript
Read an asset's stored transcript: its words with their times in the asset's own seconds, whether it holds speech, whether the user edited it, and when it was made. Never transcribes: transcript null with a hint means nobody has transcribed it yet (slates_transcribe_asset, free).
| Parameter | Type | Description |
|---|---|---|
assetId * | string | A video or audio asset: its code (VID-V3) or id. |
projectId * | string |
slates_edit_asset_transcript
Correct an asset's transcript by sending its whole text back, edited, as the transcript editor in the app does: a corrected word keeps its time, a removed word goes, and a new word takes time shared out from its neighbours (the silence between them, or the word before it). Paragraph breaks are free; only the words count. By default the captions heard from this asset are made again from the corrected words, on the same tracks in the same style (recaption false skips that); captions estimated from the Shot's line or written from your own words are left alone. Read the current text first with sla…
| Parameter | Type | Description |
|---|---|---|
assetId * | string | A video or audio asset with a transcript: its code (VID-V3) or id. |
projectId * | string | |
text * | string | The whole transcript, edited. Words are separated by spaces or line breaks. |
recaption | boolean | Make this asset's captions again from the edited words. Default true. |
slates_cut_by_transcript
Cut words or pauses out of a video or audio clip on the timeline by its transcript, as Cut on the clip's Transcript page does: each stretch leaves the clip, which splits around it, and the gap closes (ripple), at the clip's own in point and speed. Name words by their index in slates_get_asset_transcript's words (from and to, inclusive), pauses by the index of the word each follows, or stretches of the file's own seconds. A word's cut reaches up to 60 ms before it and 100 ms after it into silence, never into a neighbouring word; a pause keeps 100 ms after the word before and 60 ms before the wo…
| Parameter | Type | Description |
|---|---|---|
clipId * | string | The video or audio clip on the timeline whose words to cut. |
projectId * | string | |
linked | boolean | False: cut only the clip's lane, not its linked sound's. Default true. |
pauses | array | Pauses to cut, each by the index of the word it follows. |
ranges | array | Stretches of the file's own seconds to cut, as the transcript counts them. |
trackIds | array | More lanes to cut and close up the same way, to keep them in sync. |
words | array | Runs of words to cut, by index in the asset's transcript words, from and to inclusive. |
slates_get_subject_mask
Read a video file's subject masks (a mask is a matte that follows one subject, a person or a thing, through the whole file). Without maskId: every mask on the file with its status, mean confidence and lost spans. With maskId (alone, or with the file or clip): that mask in full: status (pending, working with progress, ready, failed), confidence for every file frame from 0 to 1, lostSpans (runs under 0.5 where the track is unsure: the subject hidden or the track gone, in frames and seconds), outOfFrameSpans (the subject out of the picture: nothing to fix), meanConfidence over the frames the subj…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | A video asset: its code (VID-A2) or id. Or name clipId. |
boxes | boolean | Add the subject's box on every frame. |
clipId | string | A video clip on the timeline: its file's masks. With a clip, a prompt or stroke may name timelineFrame. |
maskId | string | One mask, from the list or from slates_mask_subject. |
sheet | boolean | Save a contact sheet PNG and return its path. |
waitSeconds | number | Wait up to this long for a mask still being made. |
slates_mask_subject
Make, fix or remove a subject mask on a video file, as the Viewer's Mask tool does: a matte that follows one subject through the whole file, which a clip's matte (slates_update_clip) and the subject transitions draw through. Free: it runs on this machine and spends nothing; the first mask downloads the subject mask model once (firstRunDownloadMB). action make: prompts on any frame (clicks, a box or a name; a box or a name is surest on a person) track forward and back through the file; it answers at once while it works, so pass waitSeconds (up to 50) or read slates_get_subject_mask with waitSec…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
projectId * | string | |
addPrompts | array | refine: prompts added to the ones it has. |
addStrokes | array | refine: strokes added to the ones it has. |
assetId | string | A video asset: its code (VID-A2) or id. Or name clipId. |
boxes | boolean | Add the subject's box on every frame to the answer. |
clearStrokesOn | array | refine: file frames whose strokes are dropped. |
clipId | string | A video clip on the timeline: its file's masks. With a clip, a prompt or stroke may name timelineFrame. |
edges | boolean | Refine hair and soft edges (default false): for hair or fur against a plain background; it can pull in things passing in front, and takes longer. |
gap | number | pin: space between the subject and the HUD, a fraction of the frame height. Default 0.02. |
hudClipId | string | pin: the clip that rides beside the subject. |
hudSize | array | pin: the HUD's [width, height] in fractions of the frame, for a title whose size the cut does not know. |
label | string | What the mask is called in the app. |
maskId | string | refine, cancel, delete: the mask. pin: the subject clip's mask (default: its matte's, else its newest). |
offset | object | pin: moved further by this, fractions of the frame. |
params | object | The hand controls. |
prompts | array | make: the prompts. refine: replaces every prompt. |
removePrompts | array | refine: places in the prompt list to drop (0 is the first). |
sheet | boolean | With waitSeconds: save a contact sheet PNG of the result. |
side | string | pin: which side of the subject. Default right. |
strokes | array | make: strokes to paint. refine: replaces every stroke. |
waitSeconds | number | make, refine: wait up to this long for the mask. |
slates_get_beat_grid
Read a music file's beat grid, to check it before cutting to it: every beat in the file's own seconds with its downbeat flag and a confidence from 0 to 1 (hand-placed beats read 1), a summary (BPM, beats a bar, the tempo sections, whether the tempo changes), lowConfidence (the spans to check: runs of unsure beats, and gaps where the tempo says a beat belongs) and the hand edits kept on it. With a clipId it also gives onTimeline: where each beat lands on the cut, in frames, at the clip's in point and speed. picture true saves a PNG of the grid over the waveform (downbeats bright with bar number…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | An audio or video asset: its code (AUD-A2) or id. Or name clipId. |
clipId | string | A clip on the timeline: the grid of its file, plus where each beat lands on the cut (onTimeline, in frames). |
fromSec | number | The picture's first second, in the file's own time. |
picture | boolean | Save a picture of the grid over the waveform and return its path. |
toSec | number | The picture's last second, in the file's own time. |
slates_find_beats
Find a music file's beats, downbeats and tempo on the user's machine, as Find beats in the clip's Inspector does. Free: it spends no credits and nothing leaves the machine. The first run downloads the beat model once (the result's downloadedModelMB says how much) and can take a few minutes; if the call times out, the desktop keeps working, so read slates_get_beat_grid before trying again. Hand edits already on the grid are kept and applied over the new beats. Returns the grid as slates_get_beat_grid does; read its lowConfidence spans before you cut. Requires beat-grid; update Slates on capabil…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | An audio or video asset: its code (AUD-A2) or id. Or name clipId. |
clipId | string | A clip on the timeline: the grid of its file, plus where each beat lands on the cut (onTimeline, in frames). |
slates_edit_beat_grid
Correct a music file's beat grid by hand, as the Beat grid controls in the clip's Inspector do: shift the whole grid (sec), set the downbeat (the beat at a second starts a bar; beatsPerBar sets the meter), lay a tempo over a span (fromSec, toSec, bpm; it works with no grid yet, so a known tempo needs no detection), or add, move or delete one beat. Times are the file's own seconds, as slates_get_beat_grid gives them; a beat is named by the nearest one within 0.15 s. Edits apply in order and are kept: finding the beats again never overwrites them. undo takes back the last edit; clearEdits drops…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | An audio or video asset: its code (AUD-A2) or id. Or name clipId. |
clearEdits | boolean | Drop every hand edit and show the found beats. |
clipId | string | A clip on the timeline: the grid of its file, plus where each beat lands on the cut (onTimeline, in frames). |
edits | array | Edits to apply, in order. |
undo | boolean | Take back the last hand edit. |
slates_cut_to_beats
Cut a lane to the music, so its cuts land on the beats of a music clip's grid. mode snap (default) rolls each existing cut on the lane (two clips that meet) to the nearest chosen beat within reachFrames (default half a beat), so the edit keeps its order and its length; mode split cuts the lane's clips at every chosen beat. on downbeat uses only the first beat of each bar; every 2 takes every second one; fromFrame and toFrame hold it to a stretch of the timeline. trackId names the lane (default: the first unlocked video lane with clips). Read the grid first (slates_get_beat_grid) and fix any lo…
| Parameter | Type | Description |
|---|---|---|
musicClipId * | string | The music clip on the timeline whose beats the cuts land on. |
projectId * | string | |
every | integer | Use every Nth chosen beat. Default 1. |
fromFrame | number | Only beats from this timeline frame on. |
mode | string | snap: move the existing cuts onto beats (default). split: cut the clips at every chosen beat. |
on | string | Every beat (default) or only downbeats. |
reachFrames | number | snap: how far a cut may move to reach a beat, in frames. Default half a beat. |
toFrame | number | Only beats up to this timeline frame. |
trackId | string | The lane to cut. Default: the first unlocked video lane with clips. |
slates_get_whip_pans
Read the whip pans found in a video file (fast camera swings an editor can hide a cut inside): each whip's start, peak and end in the file's own frames (the peak is the fastest, blurriest frame), direction (where the camera turned: right, up-right, up, up-left, left, down-left, down, down-right), speed in frame widths a second, confidence from 0 to 1 (hand-set ones read 1) and the hand edits kept on it. With a clipId it also gives onTimeline: where each lands on the cut, in frames. sheets true saves a contact sheet PNG per whip (five frames from start to end, the peak framed, an arrow for the…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | A video asset: its code (VID-A2) or id. Or name clipId. |
clipId | string | A clip on the timeline: its file's whips, plus where each lands on the cut (onTimeline, in frames). |
sheets | boolean | Save a contact sheet per whip and return its path. |
slates_find_whip_pans
Find the whip pans in a video file on the user's machine, as Find whip pans in the clip's menu does: fast camera swings that smear the whole picture in one direction, the moment an editor cuts inside to join two shots. Free: it spends no credits and nothing leaves the machine; a long file takes a while. Answers each whip's start, peak and end (frames of the file), direction, speed, confidence and a contact sheet PNG (sheets false skips them); look at a sheet before trusting a low-confidence whip. Slow pans, someone crossing the lens, walking and handheld shake are left alone, and a swing that…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | A video asset: its code (VID-A2) or id. Or name clipId. |
clipId | string | A clip on the timeline: its file's whips, plus where each lands on the cut (onTimeline, in frames). |
sheets | boolean | Contact sheets per whip; default true. |
slates_edit_whip_pans
Correct a video file's whip pans by hand, as dragging the whip marks on a clip does: move a whip's start, peak or end, or set its direction; add a whip the finder missed (start, peak, end, direction); delete a false one. Frames are the file's own, as slates_get_whip_pans gives them; a whip is named by a frame inside it (at). Edits apply in order and are kept: finding again never overwrites them. undo takes back the last edit; clearEdits drops them all. The marks on the clip follow at once. Free. Returns the whips as slates_get_whip_pans does. Requires whip-pans; update Slates on capability ref…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | A video asset: its code (VID-A2) or id. Or name clipId. |
clearEdits | boolean | Drop every hand edit and show what was found. |
clipId | string | A clip on the timeline: its file's whips, plus where each lands on the cut (onTimeline, in frames). |
edits | array | Edits to apply, in order. |
undo | boolean | Take back the last hand edit. |
slates_join_on_whip
Join two shots on their whip pans, as Join on whip in the clip's menu does: the outgoing clip is trimmed to end on its whip's peak and the incoming one to start on its own, so the frame at the cut shows both peaks, then a short blend is centred on the cut and the cut hides inside the blur. The two clips must meet on one picture lane, and both files need whips (slates_find_whip_pans, or slates_edit_whip_pans to mark one). It uses the outgoing whip nearest the clip's out point and the incoming whip nearest its in point; fromPeak and toPeak (file frames) pick others. blend dissolve (default), whi…
| Parameter | Type | Description |
|---|---|---|
fromClipId * | string | The outgoing clip. |
projectId * | string | |
toClipId * | string | The incoming clip; it starts where the outgoing one ends. |
blend | string | The blend across the cut. Default dissolve. |
blendFrames | integer | The blend in frames, centred on the cut. Default 4. |
fromPeak | integer | The outgoing whip, by a frame of its file inside it. |
toPeak | integer | The incoming whip, by a frame of its file inside it. |
slates_extract_video_frame
Save one frame of a clip as a new picture in Media, as the clip card's camera does: at 'first', 'last' (default 'first') or a second. Free. The usual continuity move: extract a clip's last frame and use it as the next clip's first frame. To only look at a clip, use slates_get_asset_video_frames; this one adds a picture to the project.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The clip, UUID or badge code. |
projectId * | string | |
at |
slates_get_me
Identity, license tier, and credit balance for the connected Slates account.
slates_get_credit_balance
Current credit balance only (credits never expire); slates_get_me also returns identity and license tier. Read it to answer a balance question or to check there is enough for a quoted total.
slates_list_available_models
Registry of generation model cost keys with per-call credit cost, as a compact "key credits" table. Optional `filter` substring (e.g. "kling" or "nano-banana") keeps the result small — prefer it. For a single known model, slates_estimate_generation_cost is cheaper still.
| Parameter | Type | Description |
|---|---|---|
filter | string | Substring match on the model key, e.g. "kling-v3" or "seedance" |
slates_estimate_generation_cost
Quote credits before generating. For saved Shots, boards and scenes use slates_get_board_quote. Pass a model id and settings or an exact cost key (required for non-Kling edits, lip sync and motion transfer). Show the total and wait for approval. Returns the model card and requires_confirm above the threshold.
| Parameter | Type | Description |
|---|---|---|
model * | string | Generation model id (e.g. "seedance-2") or exact cost key (e.g. "seedance-2-1080p-8s"). |
aspectRatio | string | GPT Image: the frame shape changes the price; pass the generation's value. |
audioRefSeconds | number | Combined reference-audio seconds, attached voices too. |
characters | integer | inworld-tts-2 only — the LENGTH OF THE TEXT to speak (250-char buckets). |
duration | integer | Seconds; cost scales linearly. Required with a video or PER-SECOND audio base id. Per-model windows: see slates_generate_video's duration. Audio: seed-audio 3-120 (⚠️ the requested duration IS the… |
prompt | string | Check prompt length before quoting. |
quality | string | GPT Image tier; default high. |
quantity | integer | Number of generations (default 1) |
referenceImages | integer | MiniMax H3 and seedream-5-5: how many reference IMAGES the generation carries. A paid dimension of the cost key: a quote without it UNDER-REPORTS a reference-heavy job. seedream-5-5 pays for every inp… |
resolution | string | Image only. Omit for the model default; pass the same value to generation. |
seedanceDraft | boolean | Create a finishable Seedance 2.5 preview at 480p. |
seedanceFace | boolean | Seedance Face row, for an AI character's face. |
seedanceRealFace | boolean | Seedance with a consented real person (premium key). |
sound | boolean | Kling 3.0: a silent take prices differently from one with sound. Omitted means sound on, as generation bills it; pass false to price a silent take. Kling 4K keys include audio. |
videoRefSeconds | number | DEPRECATED: one clip. |
videoReferenceSecondsEach | array | Seconds of each reference video, one per clip. Never the sum. |
videoResolution | string | Video only. Omitted, each model quotes at its own default. Ladders: see slates_generate_video's videoResolution. |
slates_list_projects
Full records for every project in the desktop workspace, unbounded. To start a session use slates_get_workspace_state instead: the compact list, the active project and generation defaults.
slates_create_project
Create a new Slates project, only when the user asks for one; otherwise work in the current project (slates_get_workspace_state). Returns the new project record.
| Parameter | Type | Description |
|---|---|---|
name * | string |
slates_get_project
Get a Slates project by id.
| Parameter | Type | Description |
|---|---|---|
id * | string |
slates_list_assets
List assets in a Slates project as compact rows (id, code, label, type) — newest first, default limit 50. Each asset carries its short code (IMG-A12 / VID-V3 / AUD-S1 — the badge the user sees on the gallery card) and label. When the user names an asset by code ("use IMG-A36 as the reference"), pass it as `search` to resolve the assetId. Always speak about assets by code + label, never by UUID. A favorited asset carries `isFavorite: true` (absent means not favorited). Generate results already return new asset ids, so do not list to find one you just created.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
limit | integer | Max rows (default 50, newest first) |
search | string | Case-insensitive match on code or label (e.g. "IMG-A36" or "sunset") |
type | string | Only this asset type |
slates_get_asset_image
Read an asset image off disk and return it inline as base64 so the calling LLM sees the actual pixels. The response also carries the asset's short code (e.g. IMG-A12) and human label; use these when referring to the asset in chat with the user (e.g. "I'm using IMG-A12 — Beach Sunset as the first frame") so they can match it to the badged thumbnail in the Slates gallery. Default JPEG 85% ≤1024px long-edge for token economy. Pass fullRes=true for the original PNG. Takes the asset UUID, not a badge code.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
fullRes | boolean |
slates_get_assets_batch
Fetch up to 8 image-asset thumbnails inline in a single call. Use this when picking the right reference from a project gallery — one round trip beats N. Each returned image carries its short code (IMG-A12) and label. Video assets are not supported here — call slates_get_asset_video_frames for those.
| Parameter | Type | Description |
|---|---|---|
ids * | array | 1-8 image-asset UUIDs (not badge codes). Order is preserved in the response. |
slates_get_asset_video_frames
Extract evenly-spaced sampled still frames from a video asset and return them inline as JPEGs. Inspect visible appearance, composition and identity before revising a prompt. Stills do not verify continuous motion, timing, lip sync or sound; actual playback through a capable host is needed for those claims. Default 3 samples; count can request more. The response includes the asset code and label; use them when discussing the clip.
| Parameter | Type | Description |
|---|---|---|
id * | string | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
count | integer | Number of frames to extract. Default 3. |
slates_upload_reference_image
Add a reference image, video clip, or audio file to a Slates project from disk. Pass either filePath (absolute path to a local file) or dataUrl (base64 data: URL) — exactly one. Set type:"video" to bring in a clip (the user's own footage to edit/relocate/trim) or type:"audio" for music/VO/SFX they already have; both are probed on ingest, so duration (and for video, dimensions) are available immediately, and audio gets its waveform. A camera clip the timeline cannot play smoothly (ProRes, HEVC, 4K, sparse keyframes) answers proxy {state:"needed", reason}: tell the user and offer to make its p…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
dataUrl | string | |
filePath | string | |
folderId | Folder the result lands in (slates_list_folders). Omit it to follow the folder chosen in the user's Slates window, else the project root; null is the root, on purpose. | |
label | string | The name shown on the asset card and in lists, with its code, e.g. "Ref: copper No". |
note | string | What the asset is, stored as the asset's prompt text and read back by slates_get_asset. |
type | string | Asset kind for a filePath import — "image" (default), "video", or "audio". A dataUrl is always an image. |
slates_update_asset
Rename an asset (its label, shown with its code on its card and in lists) and/or replace the note stored as its prompt text. UUID or badge code. A note changes only an upload or a picture saved from an external host; a generated asset keeps the prompt that made it but can still be renamed. For a clip, proxy:"make" makes its proxy (a lighter copy the timeline and the Viewer play; export reads the original; a failed one again) and proxy:"remove" deletes it; playOriginal:true plays the camera file and keeps the proxy, false goes back. Make one only when the user said yes: slates_get_timeline's no…
| Parameter | Type | Description |
|---|---|---|
assetId * | string | |
projectId * | string | |
label | string | The name shown on the asset card and in lists, with its code, e.g. "Ref: copper No". |
note | string | What the asset is, stored as the asset's prompt text and read back by slates_get_asset. |
playOriginal | boolean | A clip with a proxy: true plays the camera file instead, false the proxy again. |
proxy | string | A clip's proxy: make it (only on the user's yes) or remove it. |
slates_save_external_image
Save an image generated by an external host with its exact prompt, generator, reference images and measured dimensions. This does not generate or spend Slates credits. Pass filePath or dataUrl for a new result, or assetId to annotate an existing upload in place. Ordinary pasted or dragged files belong to slates_upload_reference_image. Only name a model if the host reported it; requestedSettings records requests, not verified output settings.
| Parameter | Type | Description |
|---|---|---|
generator * | string | |
projectId * | string | |
prompt * | string | |
assetId | string | |
dataUrl | string | |
filePath | string | |
model | string | |
negativePrompt | string | |
referenceAssetIds | array | |
requestedSettings | object |
slates_get_chatgpt_status
Check whether the local Codex host is installed, signed in with ChatGPT, and supports built-in image generation. Does not generate or charge Slates credits.
slates_connect_chatgpt
Start Codex-managed ChatGPT sign-in and return a browser sign-in URL for the user. Call only when the user requests connecting their account. Never ask for credentials or tokens.
slates_generate_chatgpt_image
Generate an image through the local Codex host using the connected ChatGPT account, then save it in Slates with its exact submitted prompt, reference lineage and measured dimensions. Uses ChatGPT account limits, never Slates credits or a paid API fallback. Check slates_get_chatgpt_status first. Supply a new UUID requestId once per intended generation; reuse it for retries to avoid duplicate generation/import. No explicit image model, quality or size controls are exposed. Prompt may request visual properties without guaranteeing them. Background returns a generationId for slates_get_generation_…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
prompt * | string | |
requestId * | string | |
aspectRatio | string | Optional framing request appended verbally to the prompt, not an exact output-size guarantee. |
background | boolean | |
folderId | Folder the result lands in (slates_list_folders). Omit it to follow the folder chosen in the user's Slates window, else the project root; null is the root, on purpose. | |
referenceAssetIds | array |
slates_list_folders
List asset folders in a project.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_create_folder
Create a new asset folder in a project.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string |
slates_move_assets_to_folder
Move one or more assets into a folder, or to the project root (folderId=null).
| Parameter | Type | Description |
|---|---|---|
assetIds * | array | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
folderId * |
slates_set_asset_favorite
Mark or unmark one asset as a favorite. The heart persists on the card in the app, and slates_list_assets reports it as isFavorite.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
favorite * | boolean |
slates_export_assets
Copy the ORIGINAL files of one or more assets (images, clips or audio) into a directory on this machine, named by their codes (IMG-A12.png). Never overwrites: a clash gets -2, -3. The project is untouched. Works for an image-only project with no shot, video or timeline. Returns each exported path and any asset whose file is missing.
| Parameter | Type | Description |
|---|---|---|
assetIds * | array | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
directory * | string | Absolute path; created if it does not exist. |
slates_list_pins
List a project's pinned references: the images kept in the dock's Pinned section, one click from the prompt. A pin attaches nothing to a generation by itself.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_pin_references
Pin one or more images to the dock's Pinned section (UUIDs or badge codes like IMG-A8). Already-pinned ones are reported, not doubled. Pinning keeps a picture at hand; pass it as a reference to a generation to actually use it.
| Parameter | Type | Description |
|---|---|---|
assetIds * | array | Image assets, UUIDs or badge codes. |
projectId * | string |
slates_unpin_reference
Take one image off the dock's Pinned section. The image stays in the project.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | UUID or badge code. |
projectId * | string |
slates_move_assets_to_project
Move assets (images, videos, audio) out of one project into another. The media files move on disk into the destination project folder — this is a real re-home, not a copy. Moved assets leave whatever gallery folder they were in and are issued fresh badge codes in the destination.
| Parameter | Type | Description |
|---|---|---|
assetIds * | array | |
sourceProjectId * | string | |
targetProjectId * | string |
slates_copy_assets_to_project
Copy assets (images, videos, audio) from one project into another. The originals stay exactly where they are — new files, new rows, new badge codes in the destination. Use this instead of slates_move_assets_to_project when the asset is already in use where it lives: an image that is a character, location or look picture, or sits in a board frame, CANNOT be moved out (that would leave the other project pointing at a file it no longer owns), but it can always be copied. Lineage is not copied; the copy starts clean.
| Parameter | Type | Description |
|---|---|---|
assetIds * | array | |
sourceProjectId * | string | |
targetProjectId * | string |
slates_move_entity_to_project
Move a Library item (a character, location, product, look…) into another project, taking every image it references with it; it lands in the target's category of the same name. This is the fix when slates_move_assets_to_project refuses an asset because a Library item still uses it: the image can't leave on its own, but the whole item can. Refuses (rather than cascading) if one of its images is also used by something else; then use slates_copy_library_item_to_project to copy the whole item, or slates_copy_assets_to_project for the images alone. mentioningShots lists this project's Shots that m…
| Parameter | Type | Description |
|---|---|---|
entityId * | string | |
targetProjectId * | string | |
kind | string | Optional and ignored: every value means a Library item. Kept for older callers. |
slates_list_characters
List characters in a Slates project. These are Library items: slates_list_library lists them with every other Library item, each with its category and mention (@name; looks #name).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_create_character
Create a new character in a Slates project. These are Library items: slates_create_library_item creates one in a category you choose and returns its @mention.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string | |
description | string | |
style | string | Art style. Omitted: keeps the reference's medium (Slates 1.6.2 and older use realistic). Canonical styles: photoreal, anime, painterly, 3d-render, comic. Or pass any free-text instruction, e.g. 'turn… |
slates_set_character_identity_asset
Bind one image asset as the character identity (or clear with assetId=null). The user sees the character card update live. These are Library items: slates_update_library_item edits the same row.
| Parameter | Type | Description |
|---|---|---|
assetId * | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. | |
characterId * | string |
slates_list_environments
List the locations (environments) in a Slates project. These are Library items: slates_list_library lists them with every other Library item, each with its category and mention (@name; looks #name).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_create_environment
Create a new location (environment) in a Slates project. These are Library items: slates_create_library_item creates one in a category you choose and returns its @mention.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string | |
description | string | |
style | string | Art style. Omitted: keeps the reference's medium (Slates 1.6.2 and older use realistic). Canonical styles: photoreal, anime, painterly, 3d-render, comic. Or pass any free-text instruction, e.g. 'turn… |
slates_generate_character_identity
Generate one identity sheet (a portrait plus front and back full-body views) from a base portrait and bind it as the item's canonical picture. Works on a character or any Library thing; the item must exist (slates_create_character or slates_create_library_item). Craft: slates-character-identity. Show the user the estimate and wait for their OK before any generation, however small. Cost above 17 credits, or a base portrait, which every call has, also returns requires_confirm — pass confirm=true only to relay that OK.
| Parameter | Type | Description |
|---|---|---|
baseAssetId * | string | The base portrait asset the identity is generated from. Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
characterId * | string | A character, or the id of any Library thing: both sheet tools run on any thing, and the result binds as its image. |
projectId * | string | |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
model | string | Image model for the sheet. Omit for the sheet tool's seat (gpt-image-2-6-sunburst), which is what the app's own button uses. Pass another only to compare seats side by side. |
userNotes | string | Extra instruction, e.g. "use the woman on the left". |
slates_generate_environment_plate
Generate one clean, empty establishing image of a place from an optional base image and bind it as the item's canonical picture. Works on a location or any Library thing; the item must exist (slates_create_environment or slates_create_library_item). Show the user the estimate and wait for their OK before any generation, however small. Cost above 17 credits, or a base image, also returns requires_confirm — pass confirm=true only to relay that OK.
| Parameter | Type | Description |
|---|---|---|
environmentId * | string | A location, or the id of any Library thing: both sheet tools run on any thing, and the result binds as its image. |
projectId * | string | |
baseAssetId | string | Optional base image to establish from (e.g. a rough location shot). |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
userNotes | string |
slates_list_storyboards
List the boards (storyboards) in a Slates project.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_create_storyboard
Create a new board (storyboard) with a default first scene. Returns the board record.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string | |
description | string |
slates_get_storyboard_with_frames
Deep-fetch a board: every scene, every slot, and the SHOT in each slot — its script line, references, model, params and takes — plus the piece's variety distribution. This is the same board, in the same order, that the user is reading.
| Parameter | Type | Description |
|---|---|---|
storyboardId * | string |
slates_add_scene
Add a new scene to a board.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
storyboardId * | string | |
position | integer |
slates_add_frame
Park an EXISTING image in a scene as a new slot. It creates a Shot for that picture automatically, because a scene is a list of Shots. To write a beat — line, references, model, prompt — use slates_create_shot instead; it needs no image and files itself.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
projectId * | string | |
sceneId * | string | |
storyboardId * | string | |
notes | string | |
position | integer | |
shotLabel | string |
slates_generate_image
Generate an image via Slates credits. Pass projectId to save into a Slates project (asset appears live in the desktop UI). All models except nano-banana-2-1 require projectId (no headless path). Pass aspectRatio (the server returns requires_clarification when missing); resolution defaults to the model's own. Show the user the estimate and wait for their OK before any generation, however small. Cost above 17 credits, or any referenceAssetIds, also returns requires_confirm — pass confirm=true only to relay that OK. MCP/CLI generation always charges credits. The estimate returns the model's pro…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
approvedCredits | integer | With confirm=true: the approvedCredits a reply named (its quote, or a quote_exceeded price), once the user has approved it. The desktop counts @mention pictures as paid inputs on seedream-5-5 and runs… |
aspectRatio | string | Pick from the use case: cinematic 16:9 · TikTok/Reels 9:16 · IG square 1:1 · ultra-wide 21:9. 1:1 costs most on GPT Image. Per model: nano-banana-2-1/flux-3/seedream-5-5: 1:1, 16:9, 9:16, 4:3, 3:4,… |
background | boolean | Return generationId(s) now instead of blocking; poll slates_get_generation_status. Recommended for video. |
backgroundMode | string | gpt-image-2-6-flare, gpt-image-2-6-sunburst, seedream-5-5 only. transparent = alpha channel (PNG). Free. |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
count | integer | Variations of this one prompt: every image gets the same prompt, so different subjects are separate calls. Up to 10 with projectId; headless caps at 1. A 2x2 or 3x3 grid in one picture is a Shot's or… |
folderId | Folder the result lands in (slates_list_folders). Omit it to follow the folder chosen in the user's Slates window, else the project root; null is the root, on purpose. Needs projectId. | |
model | string | Image model. Omitted: seedream-5-5 with projectId, nano-banana-2-1 (the only headless seat) without. Nano Banana 2.1: The all-rounder and the only image seat with a headless path: holds many subjects… |
projectId | string | Save into this Slates project. Renderer refreshes live. Required for every model except nano-banana-2-1. |
quality | string | GPT Image only. Default high; estimate the chosen tier before generation. |
referenceAssetIds | array | Project assets as references — UUIDs or badge codes ("IMG-A8"), resolved at call time. Requires projectId. Caps: nano-banana-2-1: 14 · gpt-image-2-6-flare/gpt-image-2-6-sunburst: 16 · flux-3/seedr… |
referenceImageUrls | array | Headless (no projectId) nano-banana-2-1 only. With a projectId, upload via slates_upload_reference_image. Label every image role in the prompt. |
requestId | string | Headless only: the requestId a reply named. The same call sent with it again returns the image that request bought, never a second one. |
resolution | string | Omit for the selected model default. Override for a specific delivery size; use the same setting when estimating. |
slates_generate_video
Generate video via Slates credits. Choose the model with slates-model-selection. Video models prompt very differently: the estimate returns the chosen model's prompting card, and its full guide (slates-prompting-kling-v3 / slates-prompting-seedance / slates-prompting-seedance-2-5 / slates-prompting-omni-flash / slates-prompting-wan-3 / slates-prompting-magi-2 / slates-prompting-minimax-h3) covers modes the card leaves out, via slates_get_prompting_guide. Read slates-content-policy when the scene involves conflict, creatures, crowds, destruction, weapons, or young characters. projectId and dura…
slates_generate_audio
Generate speech (voice-over), a scene sound bed or a sound effect into a project, using credits. The model param lists the surfaces and their routing. The estimate returns the chosen surface's prompting card; its full guide (slates-prompting-seed-audio | slates-prompting-elevenlabs | slates-prompting-inworld-tts) covers what the card leaves out. Seed Audio bills the requested duration, which is appended to the prompt regardless of output length. Show the user the estimate and wait for their OK before any generation, however small. Cost above 17 credits also returns requires_confirm — pass co…
| Parameter | Type | Description |
|---|---|---|
model * | string | Audio surface. Seed Audio 1.0: DEFAULT audio model — the one-pass SCENE workhorse: dialogue, SFX and ambience together from ONE plain sentence. Route here for continuity beds, room tone, crowd and n… |
projectId * | string | Slates project the audio asset lands in. Required — the renderer refreshes live. |
prompt * | string | seed-audio: ONE plain sentence describing the scene (no production jargon, no "SFX:" prefixes; name the crowd/room size). eleven-sfx: the effect described by its physical CAUSE ("heavy oak door slams… |
audioReferenceAssetIds | array | seed-audio only — up to 3 AUDIO assets (UUIDs or badge codes like "AUD-S1"), each ≤30s, referenced in the prompt as @Audio1-@Audio3 ("match the room tone of @Audio1"). MUTUALLY EXCLUSIVE with imag… |
background | boolean | Return generationId(s) now instead of blocking; poll slates_get_generation_status. Recommended for video. |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
durationSeconds | number | seed-audio 3-120 (default 15) — ⚠️ THIS IS THE BILL: appended to the prompt and charged whatever comes back. eleven-sfx 1-22 (default 4) — always sent explicitly so the per-second charge is de… |
folderId | Folder the result lands in (slates_list_folders). Omit it to follow the folder chosen in the user's Slates window, else the project root; null is the root, on purpose. | |
imageReferenceAssetId | string | seed-audio only — ONE image asset to score what is in frame. MUTUALLY EXCLUSIVE with audioReferenceAssetIds. |
loop | boolean | eleven-sfx only — produce a seamless loop (rain, engine hum, crowd murmur). |
multilingual | boolean | seed-audio only — better non-English / mixed-language handling. |
pitch | integer | seed-audio only — semitones. Small moves; ±3 is already a lot. |
promptInfluence | number | eleven-sfx only — 0-1, default 0.3. Higher hugs your wording with less variation between takes. |
speed | number | seed-audio only — 0.5-2.0. Reach for it when dialogue races or drags against picture. |
voice | string | seed-audio only — a preset voice id (e.g. "cedric_en_zh"). Leave unset to let the scene cast itself. Agent-facing only. |
voiceDescription | string | inworld-tts-2 — a voice from words (7-1000 chars) for a character with no recording; keep it via slates_update_library_item voiceAssetId. |
voiceId | string | inworld-tts-2 — a preset voiceId from slates_list_voices, not a character or asset id. Exactly one voice source is required. |
voiceReferenceAssetId | string | inworld-tts-2 — clone this AUDIO asset's voice for the take (5-15s, one clean speaker). To speak AS a character pass its voiceAssetId. Cloning: 2 new voices/min across all of Slates; a burst waits. |
volume | number | seed-audio only — output gain, 0.5-2.0 (1 = unchanged). Prefer the timeline fader for mix decisions. |
slates_list_voices
Browse the inworld-tts-2 preset voices; browsing spends nothing. Pass a returned voiceId to slates_generate_audio with model inworld-tts-2. Filters AND together.
| Parameter | Type | Description |
|---|---|---|
accent | string | Region ("GB") or languageCode ("en-GB"); available accents come from the shelf. |
age | string | young | middle_aged | elderly |
gender | string | male | female |
query | string | Free text over name, description, tags. |
slates_generate_lip_sync
Lip-sync a still image (avatar) or a video clip to audio. Kling only: this tool wraps Kling's dedicated lip-sync endpoints and nothing else: sourceType=video re-syncs a clip, sourceType=image animates a still avatar (avatar-standard, or avatar-pro for the premium seat). Quote each with slates_estimate_generation_cost rather than from memory. Audio from TTS (ttsText + ttsVoice) or an uploaded file. Billed per 5s of the output (the clip, or on a still the voice track). For a Seedance version there is no engine switch here: run a normal slates_generate_video on seedance-2 with the clip attached a…
| Parameter | Type | Description |
|---|---|---|
audioMethod * | string | "tts" = generate speech from ttsText. "upload" = use the file at audioFilePath (absolute path on the user's machine). |
projectId * | string | Slates project the source asset lives in. The new lip-synced video lands here. |
sourceAssetId * | string | Asset id of the still image (avatar flow) or video clip (lip-sync flow). Must already exist in the project — use slates_upload_reference_image or slates_generate_image / slates_generate_video first… |
sourceType * | string | "image" = animate a still portrait (avatar). "video" = re-sync an existing talking-head clip. Determines pricing — be deliberate. |
approvedCredits | integer | With confirm=true: the approvedCredits a reply named (its quote, or a quote_exceeded price), once the user has approved it. The desktop measures the media before it runs and runs nothing above it; a c… |
audioFilePath | string | Required when audioMethod=upload. Absolute path to the audio file on the user's machine (mp3, wav, m4a). |
avatarModel | string | Image-source only. avatar-standard for general use; avatar-pro for sharper face fidelity. Price each with slates_estimate_generation_cost. |
background | boolean | Return generationId(s) now instead of blocking; poll slates_get_generation_status. Recommended for video. |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
ttsLanguage | string | TTS language. Default EN. |
ttsSpeed | number | TTS speech rate. Default 1.0. Range 0.5-2.0. |
ttsText | string | Required when audioMethod=tts. The exact words the avatar/clip will speak, up to 120 characters (longer is cut off); for a longer line upload audio or make it with slates_generate_audio. |
ttsVoice | string | Voice id (e.g. "oversea_male1"). See slates-prompting-lip-sync skill for the voice catalog. |
slates_generate_motion_transfer
Transfer the motion from a reference video onto a target image character. KLING-ONLY — this tool wraps Kling Motion Control and nothing else: kling-mc-std or kling-mc-pro, structured skeleton/depth retargeting, billed per 5s of the driving clip. For a Seedance version there is no engine switch here: run a normal slates_generate_video on seedance-2 with the driving clip attached as a video reference and the motion described in the prompt ("the character from image 1 performs the exact motion from video 1"); that is the same call, with the prompt visible and editable. The craft is slates-promp…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Slates project. Both source and target assets must live here. |
sourceVideoAssetId * | string | Asset id of the reference video — its motion will be retargeted onto the target image. Must already exist in the project. Up to 30s with characterOrientation video, 10s with image; billed per 5s blo… |
targetImageAssetId * | string | Asset id of the target image (the character that will perform the motion). Must already exist in the project. Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
approvedCredits | integer | With confirm=true: the approvedCredits a reply named (its quote, or a quote_exceeded price), once the user has approved it. The desktop measures the media before it runs and runs nothing above it; a c… |
background | boolean | Return generationId(s) now instead of blocking; poll slates_get_generation_status. Recommended for video. |
characterOrientation | string | "video" = use the source video's framing. "image" = use the target image's framing. Default video. |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
motionModel | string | kling-mc-std general motion; kling-mc-pro cleaner anatomy — default. Quote both with slates_estimate_generation_cost. |
prompt | string | Optional refinement. Read slates-prompting-motion-transfer. |
slates_edit_video
Edit an EXISTING video clip with one instruction — character swap, environment change, style transfer — in one pass, no masking. Original motion, camera, and audio are preserved; only what the prompt names changes. Use when a clip is ~90% right (fix it, don't re-roll it) or to AI-edit the user's own footage. Engine routing, clip-length and resolution windows are on the `model` param (subject and style refs: kling-v3.0-omni-edit, kling-v3.0-omni-pro-edit, seedance-2.5-edit only); seedanceFace:true for AI-character faces on seedance-2.5-edit. Cost is per second: output seconds on Kling and O…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project the source clip lives in. |
prompt * | string | The change, not the whole scene — e.g. "replace the man with @marcus", "make it a rainy night", "turn the street into a neon Tokyo alley". Mention subjects with @name; the transport compiles them to… |
sourceVideoAssetId * | string | The VIDEO asset to edit — UUID or badge code ("VID-V3", bare "V3"); codes resolve against the project at call time. Clip-length windows per engine are on `model`. |
background | boolean | Return generationId(s) now instead of blocking; poll slates_get_generation_status. Recommended for video. |
characterAssetIds | array | Subject/element image assets to swap IN (UUIDs or badge codes). Each becomes an element (@ElementN). Only kling-v3.0-omni-edit, kling-v3.0-omni-pro-edit, seedance-2.5-edit take them; the other engines… |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
folderId | Folder the result lands in (slates_list_folders). Omit it to follow the folder chosen in the user's Slates window, else the project root; null is the root, on purpose. | |
keepAudio | boolean | Preserve the original audio track (default true; Kling models only — omni-flash-1-2-edit and seedance-2.5-edit output carry their own audio). |
model | string | Default seedance-2.5-edit. Character and style references: Only kling-v3.0-omni-edit, kling-v3.0-omni-pro-edit, seedance-2.5-edit take them; the other engines refuse them. Seedance 2.5 Edit: DEFAULT V… |
seedanceFace | boolean | seedance-2.5-edit ONLY: set true when a CHARACTER FACE is visible in the clip. Without it a face is blocked outright; with it the edit is priced higher: quote it with slates_estimate_generation_cost b… |
styleAssetIds | array | Style/appearance reference images (@ImageN). Max 5 combined with characterAssetIds. Only kling-v3.0-omni-edit, kling-v3.0-omni-pro-edit, seedance-2.5-edit take them; the other engines refuse them. |
videoResolution | string | seedance-2.5-edit (default 720p) and omni-flash-1-2-edit (default 720p; its 1080p and 4K are upscales). Ignored by the Kling engines, whose output follows the source clip. |
slates_trim_video
Trim a video asset to an exact [inSec, outSec] window and save the result as a NEW clip linked to the original (the original is untouched). This is the fit-to-model primitive: when a clip is longer than the edit or reference window the chosen model accepts (its `model` param and estimate state the window), trim it first, then edit the trimmed clip. Exact re-encode (not a keyframe-snapped cut) so the result honors hard duration caps to the frame; any phone rotation flag is baked into the pixels in the same pass. The new clip lands with correct duration/width/height immediately. inSec defaults t…
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The VIDEO asset to trim — UUID or badge code ("VID-V3", bare "V3"); resolves against the project at call time. |
outSec * | number | Trim end in seconds. Must be greater than inSec. |
projectId * | string | Project the clip lives in. |
inSec | number | Trim start in seconds (default 0). |
pieces | object | Cut the window into several clips instead of one. Needs splitsAtSec or longestSec. |
slates_edit_image
Surgically edit an image asset with a text instruction (e.g. 'make the jacket red') instead of regenerating from scratch — use when ~90% of the image is already right. The result is a NEW asset (prompt prefixed '[Edit]'); the source is untouched. Default model seedream-5-5 (the image-edit tool seat, the model the app's Edit box opens on). Every model also takes referenceAssetIds, up to its reference cap less one: the source is image 1 of the request, and more than that is refused. Use slates-edit-and-iterate for missing edit craft; reuse current guidance already in context. Show the user the…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
prompt * | string | The change, not the whole image. @name and #look words attach nothing here: pass those pictures in referenceAssetIds. |
sourceAssetId * | string | Image asset to edit. Must exist in the project. Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
aspectRatio | string | Omit to keep the source picture's shape: the edit runs at the nearest ratio the model takes, and the reply names it. Each model's ratios: slates_generate_image's aspectRatio. A price dimension on GPT… |
background | boolean | Return generationId(s) now instead of blocking; poll slates_get_generation_status. Recommended for video. |
backgroundMode | string | gpt-image-2-6-flare, gpt-image-2-6-sunburst, seedream-5-5 only. transparent = alpha channel (PNG). Free. |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
editModel | string | |
quality | string | GPT Image tier; default high. |
referenceAssetIds | array | Images beside the source, which is image 1. Each model's own cap: nano-banana-2-1 13, gpt-image-2-6-flare 15, gpt-image-2-6-sunburst 15, flux-3 9, seedream-5-5 9. |
resolution | string | Omit for the model's default. Per model: nano-banana-2-1 1k/2k/4k, gpt-image-2-6-flare 2k/3k/4k, gpt-image-2-6-sunburst 2k/3k/4k, flux-3 1k/2k/4k, seedream-5-5 2k/3k. |
slates_extract_grid_cells
Pull cells out of a 2x2 or 3x3 grid picture, as the picture viewer's Cells tab does: each named cell is cropped and re-rendered at full resolution as its own NEW picture (the grid is untouched). Name cells as they read on screen, row number then column letter: 1A top-left, 2C second row third column. Default seat nano-banana-2-1 (the grid-extract tool seat, what the viewer opens on); resolution and aspect ratio default as the viewer does (the seat's own rung, the ratio nearest the grid's shape). prompt adds words to every cell; on the default seat @name and #look in it attach their pictures, a…
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The grid picture — UUID or badge code. Must be a 2x2 or 3x3 grid. |
cells * | array | Cells to extract, e.g. ["1A","2C"]. |
projectId * | string | |
aspectRatio | string | Output aspect ratio, one the seat offers. Default: the ratio nearest the grid's own shape. |
background | boolean | Return generationId(s) now instead of blocking; poll slates_get_generation_status. Recommended for video. |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
model | string | |
prompt | string | Words for every cell (what the shot is). On the default seat @name and #look attach their pictures; the crop is image 1. |
referenceAssetIds | array | Pictures added beside the crop (default seat only), UUIDs or badge codes. |
resolution | string | Default and ceiling are the seat's own, as in the viewer. |
slates_get_generation_status
Poll one generation by id after a background=true submit. Returns status (pending/processing/completed/failed/cancelled), the error message on failure, and the finished asset record (with id, code, filePath) on completion. Pass waitSeconds 45: the call long-polls and returns the moment the generation ends, so one call replaces many quick polls, each of which re-reads your whole context. A video commonly takes a few long-poll calls. Generations survive app restarts (the desktop resumes in-flight provider jobs on boot).
| Parameter | Type | Description |
|---|---|---|
generationId * | string | |
waitSeconds | integer | Long-poll: block up to N seconds, returning early on completion/failure. Use 45. |
slates_list_generations
List recent and in-flight generations (newest first), optionally filtered by project and/or status. Use status='processing' to see everything still running, or no filter to review the recent history with costs and errors.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
projectId | string | |
status | string |
slates_list_timelines
List the independent named cuts in a project (not a slot's alternative timelines: slates_get_variants names those). Use the selected timelineId for edits, builds and exports.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_save_timeline
Create a named cut, or rename the explicit timelineId, with optional delivery, naming taxonomy and explicit variant grid bindings. Existing cuts and the legacy default stay intact. New fields require ad-variant-export; null clears them. Read delivery ids and dimensions from slates_get_variant_grid; never infer slot roles from labels.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string | |
delivery | Delivery formats and framing defaults; null restores legacy Master export. | |
gridBinding | Explicit existing-cut slot bindings; creates no combinations or nested sequences. | |
taxonomy | Naming fields. Prefill recorded variation choices by position, never infer them from labels. The desktop owns filename formatting and collision resolution. | |
timelineId | string |
slates_export_cuts
Start or retry a background export of existing named cuts to local files without generating media or spending credits. Version 2 selects cuts × delivery aspects from slates_get_variant_grid and returns batchId, manifestPath and frozen named outputs immediately; poll slates_get_export_batch. Version 2 with variants (a pick read through slates_get_variants grid) and items [] exports every variant of a cut's slots in every picked format in one request, adding the rows a combination lacks: one body and ten hooks in four formats is forty named files. Each variant's picture is joined from parts ren…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
action | string | start (default) begins, or re-attaches to a running export; status reads it; cancel stops after the output being rendered. |
batchId | string | Required for version 2. Reuse this id and the same items to reattach or retry. |
copy | object | User-entered batch ad copy and destination defaults. Omission leaves them empty; never copy script or video text here. |
directory | string | |
exportRoot | string | Optional export root; the desktop remembers it and creates a fresh batch folder. |
items | array | Required for version 2 start/retry (may be [] beside variants) and legacy start. Version 2 selects existing timelineIds with aspects/formats/taxonomy; legacy selects timelineId/format. |
manifestId | string | |
outputCopy | object | Per-output ad copy overrides keyed by the desktop receipt output key. |
variants | object | A grid pick to export: each combination gets a variant row if it has none, and every variant exports in every format, beside any items. Requires variant-grid. |
version | number | Use version 2 with batchId and items for delivery-format batches. Omit version for legacy directory/manifestId requests. |
slates_get_export_batch
Inspect the status of an ad variant export batch, or list saved batches in a project when batchId is omitted. Returns receipts and per-output states immediately through GET, including after a desktop restart. Never starts or retries a render and never spends credits. Requires ad-variant-export; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
batchId | string |
slates_cancel_export_batch
Stop an ad variant export now, or after the current output finishes. mode now aborts active encoding; after-current preserves the current output before stopping. Completed files and frozen names remain available for retry with slates_export_cuts. Never generates media or spends credits. Requires ad-variant-export; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
batchId * | string | |
mode * | string | |
projectId * | string |
slates_get_variant_grid
Read the variant grid of existing named cuts, recorded slot choices, missing takes and delivery format ids with actual dimensions. Shows absent combinations without creating them; missing-take prices are local quotes, never generation requests. Select existing timelineIds and returned aspects for slates_export_cuts. For a cut's slots (hooks, body, end card) crossed with formats, read slates_get_variants with grid. Requires ad-variant-export; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_get_variants
Read a cut's ad variants: hooks, a shared body and an end card as slots laid end to end, each slot's alternatives (each a timeline: sequenceId, its length), and the variant rows, one alternative per slot, each built into an ordinary timeline (cutId) with its seams (J-cut, L-cut, crossfade or cut, who picked it and why, and what the media held back) and its state: current, edited by hand and left alone, or unbuilt, with behind once its sources changed since its timeline was built. The cut's own lanes are the bed under every variant. Any timeline of the family answers: the cut, a slot's sequence…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
timelineId * | string | |
grid | object | Add the grid for this pick: {} for every alternative in the cut's formats. Requires variant-grid. |
slates_edit_variant_slots
Add, rename, move or remove a cut's ad-variant slots (hook, body, end card: names, never types) and their alternatives, as the Ad variants view in the Inspector does. add-alternative with clipIds collapses those clips off the cut into a new nested sequence, so the body exists once and a fix to it shows in every variant; the first slot made from clips, or one named Body, anchors the bed where its clips sat. Without clipIds or sequenceId it makes an empty sequence to fill with slates_add_clip_to_timeline (its sequenceId is the timelineId). Removing an alternative also removes the variant rows th…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
projectId * | string | |
alternativeId | string | For update-alternative and remove-alternative. |
at | integer | add: the position among the slots. |
bedFrame | update: the bed frame this slot's first frame meets in every variant (one slot per cut); null clears it. | |
clipIds | array | add-alternative: move these clips (and their linked sound) off the cut into a new sequence; what stays is the bed. |
name | string | A slot's or an alternative's name. Defaults: Hook, Body, End card; '<slot> 1'. |
orderIndex | integer | update or update-alternative: move it to this position. |
sequenceId | string | add-alternative: an existing timeline of this project to hold as it is. |
slotId | string | For update, remove and add-alternative. |
slotName | string | add-alternative without slotId: makes this slot first. |
timelineId | string | The cut: for add, and for add-alternative with slotName instead of slotId. |
slates_edit_variants
Add, change, rebuild or remove ad variant rows on a cut's slots, as the Ad variants view does. Each row picks one alternative per slot and is built into an ordinary timeline (cutId), named for ad export, ready for slates_export_cuts. Seams: the picture always cuts where slots meet; the sound is picked from the transcripts (L-cut when the outgoing line runs past its picture, J-cut when the next slot opens on speech, a short crossfade when both sides have sound on audio lanes, else a cut, a picture cut over the bed with no dialogue), or set by hand per seam; either way held to the media past the…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
projectId * | string | |
choices | object | update: merged into the row. |
combinations | boolean | add: one row per combination of the slots' alternatives not already a row. |
name | string | update: the row and its timeline take it. |
rows | array | add: the rows to add; omit for one row of first alternatives. |
seams | object | update: merged; 'auto' gives a seam back to the automatic pick. |
timelineId | string | add: the cut with the slots. |
variantId | string | update, remove and rebuild. |
slates_get_recipe
Find what made an exported ad from its recipe ID, its full ad name or its file name (anything holding __r-<id>). Returns every export that carried the recipe (batch, export time, ad name, files per format, the timeline id and name, its taxonomy); then each clip with its timing and asset and, when generated, the model, prompt, references and key settings frozen at export, and the Shot and board it came from (Shot, board and asset names and labels are read as they are now, not frozen); then any timeline that still renders the recipe. Searches every project unless projectId is given. When nothing…
| Parameter | Type | Description |
|---|---|---|
recipe * | string | The recipe ID (the characters after __r-), or a whole ad name, file name or path containing __r-<id>. |
projectId | string | Search only this project; omit to search every project. |
slates_reframe_clip
Set or reset a clip framing override for one delivery aspect and return the desktop computed framing report. Changes focus, fill/fit and zoom without duplicating the timeline or generating media. follow: "face" makes a vertical cut follow a talking head, or { maskId } a subject mask (framing, when sent too, lands first) and answers follow: the clip keyframes, samples, found, still and the lost spans in seconds. Requires ad-variant-export, and reframe-follow for follow; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
aspect * | string | Delivery format id from slates_get_variant_grid.formats; the desktop validates it and supplies dimensions. |
clipId * | string | |
projectId * | string | |
timelineId * | string | |
follow | "face" finds the face in the clip and keys its focusX/focusY to it (smooth, held where the face is lost; every format draws those keys, each keyframe editable by hand or with slates_set_clip_keyframes… | |
framing | Normalized focus and zoom for this clip/aspect. Null resets the override; the desktop binds it to the current take. Required unless follow is set. |
slates_get_reframe_report
Inspect effective delivery framing, computed dimensions, kept frame percentage, upscale and stale-take or missing-media warnings for a cut or one clip. Read before reframing; warnings never trigger generation or disable export. Requires ad-variant-export; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
aspect * | string | Delivery format id from slates_get_variant_grid.formats; the desktop validates it and supplies dimensions. |
projectId * | string | |
timelineId * | string | |
clipId | string |
slates_freeze_frame
Hold one frame of a video clip as a still, as the Inspector's Freeze frame does: the frame at the timeline point named (frame, or sec) is saved as a new picture and placed on the clip's own lane for seconds (default 2), the clip splitting around it and everything after moving later; linked: false leaves the clip's linked sound where it is. Returns the clips written, stillClipId and stillAssetId. Free, on this machine. Requires freeze-frame; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | The clip on the timeline (slates_get_timeline lists them). |
projectId * | string | |
frame | integer | The timeline frame to hold. Or sec. |
linked | boolean | False: leave the linked sound in place. Default true. |
sec | number | The timeline second to hold. Or frame. |
seconds | number | How long the still holds, 0.1 to 60 seconds. Default 2. |
slates_stabilize_clip
Steady a shaky video clip, as the Inspector's Stabilize does: the file's motion is analysed on this machine and a steadied copy plays in its place (the original file is untouched). strength light keeps most of the move and crops least, strong holds the frame stillest and crops most; null turns it off. Takes about as long as the clip runs. Free. Requires stabilize; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | The clip on the timeline (slates_get_timeline lists them). |
projectId * | string | |
strength * | How steady; null turns stabilize off. |
slates_slide_clip
Slide a clip between its neighbours, as the Slide tool does: the clip keeps its own content and length and moves deltaFrames later (or earlier, negative), the clip before it growing and the one after shrinking to fill, so nothing else on the timeline moves. Needs a clip touching each side; held to the media each neighbour has. Returns the clips written and slidFrames, the move made. Free. Requires slide-edit; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | The clip on the timeline (slates_get_timeline lists them). |
deltaFrames * | integer | Frames to move: positive later, negative earlier. |
projectId * | string |
slates_punch_in
Punch in on a video clip or picture, as the Inspector's Punch in does: scale and position keys that push in about the subject (its framing focus). From a point: fromFrame (frames from the clip's start, default 0) to the clip's end. On emphasis words: words (indexes into slates_get_asset_transcript's words) each punch in on the word and back out holdSec after it (default about half a second). style: cut (a hard punch), ease-in, slow-push. amount is the scale, above 1 and at most 1.5 (default 1.15). off: true takes the punch away. A clip with hand-set scale or position keys is refused unless rep…
| Parameter | Type | Description |
|---|---|---|
clipId * | string | The clip on the timeline (slates_get_timeline lists them). |
projectId * | string | |
amount | number | The scale, above 1 and at most 1.5. Default 1.15. |
fromFrame | integer | Where the punch starts, in frames from the clip's start. |
holdSec | number | With words: how long each punch holds past its word, 0 to 5 seconds. |
off | boolean | True removes the punch in. |
replaceKeys | boolean | True puts the punch in place of the clip's own scale and position keys. |
style | string | |
words | array | Punch on these words, by index in the clip's transcript words. |
slates_clean_up_dialogue
Clean up a talking clip by its transcript, as the Transcript page's Clean up does. scan (default, writes nothing) lists the fillers, long pauses and repeated words found, with counts, the top fillers, what apply would cut and the joins an earlier clean-up left. apply cuts them all in one edit (ripple; the linked sound and captions follow unless linked: false) and lists each join. restore puts one join's cut back (range, as scan or apply listed it); nudge moves the clip edge at a join (edge start or end) by deltaFrames. options turns each kind on or off and sets the pause length and the air kep…
| Parameter | Type | Description |
|---|---|---|
clipId * | string | The clip on the timeline (slates_get_timeline lists them). |
projectId * | string | |
action | string | Default scan. |
deltaFrames | integer | nudge: frames to move the edge, positive later. |
edge | string | nudge: start (where the cut begins) or end (where it stops). |
linked | boolean | False: cut only the clip's lane. Default true. |
options | object | |
range | object | restore: the join's range, in the file's own seconds. |
slates_auto_colour_clip
Give a video clip or picture a neutral grade from its own frame, as the Inspector's Auto colour does: the frame at frame or sec (default the clip's middle) is read, and exposure, contrast, temperature, tint, highlights and shadows are written to the clip's look as ordinary values (other look fields kept), each editable with slates_update_clip. Returns the values, the look and the frame read. Free, on this machine. Requires clip-grade; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | The clip on the timeline (slates_get_timeline lists them). |
projectId * | string | |
frame | integer | The timeline frame to read. |
sec | number | The timeline second to read. |
slates_auto_duck
Dip music under speech, as the lane's Auto duck does: a music lane (trackId) or one clip (clipId) drops by duckDb wherever another lane speaks, read from the transcripts (a clip with no transcript counts as speech for its whole sound). attackSec and releaseSec shape the dip, holdSec keeps it down past each word, bridgeSec joins gaps shorter than that. Written as one effect on the lane or clip, redone on each call; off: true takes it away. Returns dips, the number of dips. Transcribe the voice first for word-tight dips (slates_transcribe_asset, free). Free. Requires audio-suite; update Slates o…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
attackSec | number | How fast it dips. Default 0.15. |
bridgeSec | number | Gaps in speech shorter than this stay ducked. Default 0.6. |
clipId | string | One clip. Or trackId. |
duckDb | number | The dip in dB, -40 to 0. Default -12. |
holdSec | number | How long it stays down past a word. Default 0.1. |
off | boolean | True removes the auto duck. |
releaseSec | number | How fast it comes back. Default 0.3. |
trackId | string | The music lane. Or clipId. |
slates_match_loudness
Bring a mix or one lane to -14 LUFS, the level social platforms play at, as the Output level popover's Match does: the sound is measured as the export writes it, then one gain is set on the master (or on the lane, with trackId) to land on -14 LUFS integrated under a -1 dBTP true peak (held lower when the peak would pass it). Redone on each call. Returns the target, what was measured, the gain set and the effects. Measure without changing anything with slates_get_timeline_loudness. Free. Requires audio-suite; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
timelineId | string | The cut; absent: the project's default timeline. |
trackId | string | Match this lane alone; absent: the whole mix, on the master. |
slates_upscale_image
Make a sharper copy of a picture at 2x or 4x its size, as the picture viewer's Upscale does: faithful (no new content), saved as a new picture beside the original, which is untouched. Priced by the picture's size; a picture that would pass 144 megapixels at 4x is refused (try 2x). Show the user the estimate and wait for their OK before any generation, however small. Cost above 17 credits also returns requires_confirm — pass confirm=true only to relay that OK. Supply a new UUID requestId once per intended upscale and reuse it for a retry: the same id never pays twice (a retry waits for the sa…
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The picture: its code (IMG-A4) or id. |
factor * | number | 2 or 4 times the size. |
projectId * | string | |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. |
requestId | string | A new UUID per intended upscale; the same one on a retry. Absent: one is made for this call. |
slates_get_review_packet
Read the notes the person sent from Review mode (the Viewer's Review button): each note with its number, its words or a wordless mark (mark: true, no words: 'this is off'), what it points at (a picture region, a clip span, a transition, a transcript join) with a still, its thread, and the ratings changed since (stars, favourite, rejected, redo, more like this). By default the oldest packet the person sent and nobody has read; include: open reads notes and ratings not yet sent; include: all reads every note and rating in the project, with the packets they were sent in, and claims nothing. Readi…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
claim | boolean | False reads without claiming. Default true for a sent packet. |
include | string | sent (default): a packet the person sent. open: unsent notes and ratings. all: every note and rating, with its packets; never claims. |
packetId | string | One packet by id; absent: the oldest unread. |
slates_resolve_review_note
Answer the person's review notes, on the note where it was pinned, as the Notes view shows it. One reply per note: fixed (done; text optional), question (ask what they meant), why_not (why it stays as is), alternates (two or three takes to choose from, assetIds), note (anything else). A wordless mark (mark: true with no words) is answered with alternates, two or three versions, never one guess, unless the person has since written in its thread. Only a sent note can be answered (not one still being written, nor one already answered or done); alternates are two or three different pictures or cli…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
replies * | array |
slates_get_ad_winners
What each exported ad recipe earned in the person's ad account over the last pulled range, as the account reports it: spend, purchases, ROAS, the person's winner or loser mark, the losers, and the project's split tests (splitTests: each local id for slates_evaluate_split_test_winner, campaign, status and stored winner). Never remake a recipe listed in losers. Read this before planning more variants of an ad. Free. Requires meta-winners; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
projectId | string | One project; absent: every project. |
slates_get_client_ad_report
List connected TikTok Ads advertisers, or read date-range ad performance with linked Slates exports. Uses the signed-in desktop connection. Publishing and account changes happen in the window. Google Ads results are shown only in the Slates window: agents cannot read or change Google Ads, so send the person to Ads, then Google Ads.
| Parameter | Type | Description |
|---|---|---|
platform * | string | |
accountId | string | |
managerId | string | |
projectId | string | Resolve linked export names within this project. |
since | string | |
until | string |
slates_set_recipe_verdict
Mark an ad recipe a winner or a loser (null clears the mark), as the person decided from its results. A loser is never remade; More like this starts from a winner. Free. Requires meta-winners; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
recipeId * | string | The recipe ID from slates_get_ad_winners or an export. |
verdict * | ||
note | string | |
projectId |
slates_more_like_this
Start a new cut from a winning export: its hook becomes a slot holding the winning hook plus open ones, and the answer quotes what finishing the variants would cost. Nothing is generated; show the person the quote before filling an open hook. Free. Requires meta-winners; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
exportRef * | string | The export reference from slates_get_ad_winners (exportRef). |
extraHookCount | integer | Open hook alternatives to add; the app caps it. |
openHookSlot | boolean | Default true: the hook becomes a slot. |
slates_plan_split_test
Plan a split test of exported variants: one campaign, one ad set and one paused ad per variant, checked against the spend caps, with every problem named. Creates nothing; the person creates the paused test from New split test… in Meta Ads. Free. Requires meta-winners; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | The ad account id. |
campaignName * | string | |
country * | string | Two-letter audience country. |
currency * | string | |
dailyBudgetMinor * | integer | The ad set's daily budget in the currency's minor units (cents). |
destinationUrl * | string | |
exportRefs * | array | The exported variants, one paused ad each. |
pageId * | string | |
projectId * | string | |
specialAdCategories * | [] when none apply; the plan refuses null. | |
cta | string | |
headline | string | |
primaryText | string | |
thresholdImpressions | ||
thresholdSpend |
slates_evaluate_split_test_winner
Call a split test's winner from the ad account's report for that test's own ads only (read now, from the day the test was made): no call until every variant has results and passes the spend and impression thresholds; it compares ROAS (else cost per purchase, else click rate) and labels every figure as the ad account reports it. A tie or no call clears an older stored winner. Free. Requires meta-winners; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
testId * | string | The local split test id, from splitTests in slates_get_ad_winners. |
thresholds | object | Absent: the test's own thresholds. |
slates_visual_qa_sample
Visual QA, step one of a round: stills of the cut's overlay beats, transition middles and cuts, returned inline so you see every frame, with what this machine measured in them (clipped or crowded text, contrast, hold times, gaps), the rubric and the critique prompt. Score every still against the rubric, then answer with slates_visual_qa_record_round. Pass runId to take the next round's stills after your fixes. Free: the looking is yours. Requires visual-qa; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
budget | integer | The most stills a round takes, up to 24; the app's default applies. |
maxRounds | integer | Rounds a new run takes; the app's default and limits apply. |
projectId | string | Defaults to the open project. |
runId | string | Continue this run with its next round; absent starts a run. |
timelineId | string | Defaults to the project's timeline. |
slates_visual_qa_record_round
Visual QA, step two: record your scores (0-10 per rubric dimension) and findings for the round slates_visual_qa_sample handed you, each finding on its still with what is wrong and the exact fix. A measured finding stays unless your finding restates it (findingId) at the same or a higher severity. Answers pass or iterate, the score change and what stays open; after fixing, sample the next round with the same runId. A round is recorded once: on the final round pass promoteToReview: true, which turns what stays open into Review notes for the person only if the round does not pass. Free. Requires…
| Parameter | Type | Description |
|---|---|---|
findings * | array | |
runId * | string | From slates_visual_qa_sample. |
scores * | object | Every rubric dimension, 0-10. |
promoteToReview | boolean | |
summary | string |
slates_list_visual_qa_runs
A timeline's Visual QA runs, newest first: status, rounds, round one's score against the last and the gain; runId reads one run in full. Free. Requires visual-qa; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
projectId | string | Defaults to the open project. |
runId | string | |
timelineId | string |
slates_list_v2v_passes
The stacked video edits on a timeline (or one clip), bottom first: each pass's kind, moment, settings, recipe ID, status, output and estimated credits. Free. Requires v2v-edits; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
timelineId * | string | |
clipId | string |
slates_edit_v2v_pass
Add, change, remove or reorder a stacked video edit on a video clip's moment: swap the person, change the angle or location, move the camera, relight, or a brushed region. Each pass edits the output of the one under it. Saving a pass generates nothing; quote with slates_quote_v2v_passes, then run. Free. Requires v2v-edits; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
projectId * | string | |
clipId | string | reorder. |
input | object | create: the new pass. |
orderedIds | array | reorder: every pass on the clip, bottom first. |
passId | string | update and delete. |
patch | object | update: the fields to change. |
timelineId | string | reorder. |
slates_quote_v2v_passes
Price stacked video edits before running them: per pass the billed seconds, credits, warnings or what blocks it, its recipe ID, and the total. Show the person the total; slates_run_v2v_passes takes it as maxCredits and quoteFingerprint as the quote it runs. Free. Requires v2v-edits; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
passIds * | array | |
projectId * | string |
slates_run_v2v_passes
Run stacked video edits that slates_quote_v2v_passes priced and the person approved: each pass edits the output of the one under it, independent passes in parallel. maxCredits is the approved total and quoteFingerprint the quote's own; a run that would cost more, or whose passes changed since the quote, is refused before anything runs. Pass a requestId of your own: a retry with the same one returns the first run's result and spends nothing again. The answer's cost_credits is what the run charged. Spends credits. Requires v2v-edits; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
maxCredits * | integer | The quote's total the person approved. |
passIds * | array | |
projectId * | string | |
quoteFingerprint * | string | quoteFingerprint from slates_quote_v2v_passes for these passes. |
timelineId * | string | The passes' timeline; every pass must be on it. |
maxParallel | integer | |
requestId | string | Your idempotency key for this run; reuse it only to retry the same run. |
slates_v2v_passes_to_variants
Send finished video edits of one clip's moment to the variant grid: a slot on the timeline with one alternative per pass, each keeping its recipe ID, so they export as ad variants. Free. Requires v2v-edits; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
passIds * | array | |
projectId * | string | |
timelineId * | string | |
slotName | string |
slates_get_diagnostics_status
Whether this Slates shares crash and error reports and what it last caught, each marked captured locally / queued: delivery is never confirmed, so tell the person a bug was captured and queued, not that it arrived. Reads only. Free. Requires diagnostics; update Slates on capability refusal.
slates_find_winning_ads
Search proven ads: the ads that ran longest, by niche, platform, format and words in the advertiser, headline, body or button, each with how long it ran, its variations and its link. The answer says where the list came from and how fresh it is. Break one down into shots with slates_break_down_winning_ad. Free. Requires winning-ads; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
activeOnly | boolean | |
format | string | |
hasBreakdown | boolean | |
limit | integer | The app caps it. |
minRunDays | integer | |
niche | string | A niche id from slates_list_winning_ad_niches. |
offset | integer | |
platform | string | |
query | string | |
sort | string |
slates_list_winning_ad_niches
The winning-ads niches and how many ads each holds, for slates_find_winning_ads. Free. Requires winning-ads; update Slates on capability refusal.
slates_break_down_winning_ad
Break a winning ad from slates_find_winning_ads down into shots: one shot per cut with its words, built as a board in the project, the same run as slates_break_down_reference. The board copies the ad's structure and generates nothing; the ad's own footage is never used in it. Free. Requires winning-ads; update Slates on capability refusal.
| Parameter | Type | Description |
|---|---|---|
adId * | string | The adId from slates_find_winning_ads. |
build | boolean | As on slates_break_down_reference. |
jobId | string | |
model | string | |
name | string | |
platform | string | Default meta. |
projectId | string | Defaults to the open project. |
slates_get_timeline
Get (or lazily create) a named editing timeline, or the stable legacy default when timelineId is omitted, with all tracks, clips, markers, and a flat clipIndex mapping every clip back to its source asset (assetId + code + label). Frames are the unit of time; durationSec is provided. Call this before adding, reordering, or removing clips, and before exporting — it tells you the timeline id, frame rate, resolution, and current end frame. A clip whose file has or needs a proxy carries proxy (needed with a reason, making, ready, failed; playsSlowly when the monitor measured it stuttering); notic…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
objectWipes | boolean | Also find object wipes: cuts a moving subject could carry, read from the subject masks the clips already have. |
timelineId | string |
slates_get_timeline_loudness
Measure a timeline's loudness as its export writes it: integrated LUFS (gated, ITU-R BS.1770), loudness range (LRA, LU), true peak (dBTP, read 4x oversampled) and sample peak of the whole mix, the same for each lane alone (every other lane muted), and a short-term (3 s) and momentary (400 ms) reading per second in `mix.trace`. Read-only: the desktop renders the sound to a temporary file and measures it; nothing is saved and nothing is spent. Check a mix against its bar before exporting: a short for social is -14 LUFS integrated with a true peak of -1 dBTP or under (`target` in the answer, show…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
fromSec | number | Measure from here (timeline seconds), as if the span were exported alone. |
timelineId | string | The cut to measure; absent: the project's default timeline. |
toSec | number | Measure to here (timeline seconds); absent: the end. |
trackId | string | Read this one lane alone (with the mix); absent: every lane heard. |
slates_add_clip_to_timeline
Append a video or audio asset from the project to the project's timeline (or place it at an explicit startFrame). Defaults match the desktop UI: video clips go to the end of the first video track; audio clips (music, voiceover, AI audio) go after the last clip on the first AUDIO track and are mixed under the video on export. An empty timeline auto-adopts the first video clip's resolution and frame rate; later higher-resolution clips raise the canvas. Overlapping video clips resolve top-track-wins. Optionally trim with sourceInFrame/sourceOutFrame (frames at the SOURCE fps). An audio asset may…
| Parameter | Type | Description |
|---|---|---|
assetId * | string | Video or audio asset already in the project. |
projectId * | string | |
sourceInFrame | integer | |
sourceInSample | integer | The media in as a sample count at 48000 Hz, instead of sourceInSec. |
sourceInSec | number | Audio lane: where in its file the sound starts, in seconds, to the sample. |
sourceOutFrame | integer | |
sourceOutSample | integer | The media out as a sample count at 48000 Hz, instead of sourceOutSec. |
sourceOutSec | number | Audio lane: where in its file the sound ends, in seconds, to the sample. |
startFrame | integer | Timeline frame to place the clip at. Default: append after the last clip. |
startSec | number | Audio lane: where its sound starts on the timeline, in seconds to the sample; it may fall between frames. |
timelineId | string | |
trackId | string | Target track (type must match the asset: video asset → video track, audio asset → audio track). Default: the first track of the matching type. |
slates_reorder_clips
Reorder the clips on one timeline track. Pass the COMPLETE list of the track's clip ids in the desired playback order; clips are repacked back-to-back from frame 0 (existing gaps are removed). Get current clip ids from slates_get_timeline.
| Parameter | Type | Description |
|---|---|---|
clipIds * | array | |
trackId * | string |
slates_remove_clip
Remove a clip from the timeline (the source asset is untouched). By default it leaves a gap at the clip's old position, which MP4 export renders as black. ripple: true closes the gap instead: the lane's later clips move left by the clip's length (needs projectId). An overlay track's text and image clips keep their times, and the gap is just no overlay.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | |
projectId | string | |
ripple | boolean | Close the gap: the lane's later clips move up. Needs projectId. |
slates_edit_timeline_clips
Trim, roll, ripple, slip, move or split clips on the timeline, as the Cut's tools do; the source files are untouched (to cut a new file, use slates_trim_video). trim moves one edge (edge, then frame or deltaFrames): mode overwrite (default) covers a neighbour it grows into, ripple moves the lane's later clips by the change, roll moves the cut shared with the clip that meets this edge. A trim cuts media and never changes speed. slip changes which part of the media a clip shows without moving it (deltaFrames in timeline frames, or deltaSourceFrames in the file's). move takes clipId or clipIds, k…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
projectId * | string | |
clipId | string | |
clipIds | array | move or split: several clips of one timeline. layout: the clips in panel order, the leading one first. |
deltaFrames | integer | trim, slip or move: how far, in timeline frames; negative is left (slip: earlier media). |
deltaSourceFrames | integer | slip: how far, in the file's own frames. |
edge | string | trim: which edge. |
frame | integer | trim: where the edge goes. split: where to cut. layout: where the move starts. Timeline frames. |
gap | number | layout: space between panels, in fractions of the frame's shorter side. Default 0.02. |
layout | string | layout: the arrangement; a tall frame stacks it. |
margin | number | layout: space round the edge, past the safe area, in fractions of the frame's shorter side. Default 0.04. |
mode | string | trim: overwrite, ripple or roll. move: overwrite or insert. |
sec | number | split: where to cut, in seconds. |
seconds | number | layout: how long each panel takes to arrive. Default 0.6. |
staggerSeconds | number | layout: how far apart the panels arrive. Default 0.12. |
startFrame | integer | move: where the first clip lands. |
timelineId | string | split without clipIds: a named cut; omit for the project's timeline. |
trackId | string | move: another lane of the same type. |
slates_update_clip
Set a timeline clip's own speed, volume, split edit (J-cut or L-cut) and fades, as the Cut's Inspector does. Only the fields you name change; null puts one back to the default. speed keeps the clip's media in and out points and its start and changes its length (2 is twice as fast, half as long); with ripple: true the lane's later clips move by the change, otherwise a longer clip covers what follows. audioOffsetFrames, on a video clip, moves its own sound against its picture in sync: below 0 is a J-cut (the sound starts first), above 0 an L-cut (it runs on). Fades are frames: fadeIn/fadeOut for…
slates_add_transition
Put a transition (dissolve, wipe, crossfade and the other kinds) on a cut between two clips that meet on one lane, as the Cut's clip menu does. Name the cut by fromClipId and toClipId, or by one clipId and side ('end' runs this clip into the next, 'start' the last clip into this one). A cut holds one transition, so adding where one exists changes it. It never refuses short media: the result's shortHandles says how many frames are missing and offers the fixes (slates_update_transition fix: freeze or shorten). On an audio lane, durationMs sets a crossfade to the millisecond and curve how the sou…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
alignment | string | center (default) straddles the cut; start begins at the cut; end finishes at it. |
clipId | string | One clip of the cut, with side. |
curve | string | Audio lane: 'equal-power' (default) for two different sounds, 'linear' (straight lines, a triangular crossfade) for a join inside one piece of music. |
durationFrames | integer | How long it lasts, in timeline frames. Default the length transitionKinds gives its kind (defaultSeconds, else 0.5 s), shortened to what the clips allow; a length you name that is too long is refused… |
durationMs | number | Audio lane: the crossfade's length in milliseconds (1 to 10000), placed to the sample, so it may be shorter than a frame. Instead of durationFrames or durationSec. |
durationSec | number | The same, in seconds. |
fromClipId | string | The clip before the cut. |
kind | string | A kind from slates_get_timeline's transitionKinds for this lane: picture kinds on video and overlay lanes, sound kinds on audio lanes. Default: a dissolve, or a crossfade on sound. |
params | object | The kind's settings, listed with defaults and ranges as its params in transitionKinds: wipe, push and slide take direction (left, right, up, down), zoom strength, whip-pan whipAngle (the way the camer… |
side | string | With clipId: 'end' (default) or 'start'. |
toClipId | string | The clip after the cut. |
slates_update_transition
Change a transition's kind, length, alignment or settings by its id (slates_get_timeline lists them under transitions), or apply one of the two fixes for short media: fix 'freeze' holds the edge frame for the missing frames, fix 'shorten' cuts it to the longest the media covers. Only the fields you name change; on an audio lane durationMs and curve set a crossfade to the millisecond, and a length in frames or seconds replaces one in milliseconds. Returns the transition with its span (durationSec, curve) and any frames still missing.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
transitionId * | string | |
alignment | string | center (default) straddles the cut; start begins at the cut; end finishes at it. |
curve | string | Audio lane: 'equal-power' (default) for two different sounds, 'linear' (straight lines, a triangular crossfade) for a join inside one piece of music. |
durationFrames | integer | How long it lasts, in timeline frames. Default the length transitionKinds gives its kind (defaultSeconds, else 0.5 s), shortened to what the clips allow; a length you name that is too long is refused… |
durationMs | number | Audio lane: the crossfade's length in milliseconds (1 to 10000), placed to the sample, so it may be shorter than a frame. Instead of durationFrames or durationSec. |
durationSec | number | The same, in seconds. |
fix | string | Instead of other fields: the short-media fix. |
kind | string | A kind from slates_get_timeline's transitionKinds for this lane: picture kinds on video and overlay lanes, sound kinds on audio lanes. Default: a dissolve, or a crossfade on sound. |
params | object | The kind's settings, listed with defaults and ranges as its params in transitionKinds: wipe, push and slide take direction (left, right, up, down), zoom strength, whip-pan whipAngle (the way the camer… |
slates_remove_transition
Take a transition off its cut, leaving a plain cut; the clips are untouched. The id is in slates_get_timeline under transitions.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
transitionId * | string |
slates_manage_timeline_marker
Add, change or delete a marker on the timeline, as the Cut's ruler and marker menus do (slates_get_timeline lists them under timeline.markers). create: frame, optional name and color. update: markerId plus any of frame, name, color. delete: markerId. The color is one of the app's marker colours by name (e.g. Red); any other is refused with the list. The open Cut shows the change.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
projectId * | string | |
color | string | |
frame | integer | Where the marker sits, in timeline frames. |
markerId | string | |
name | string | |
timelineId | string | A named cut; omit for the project's timeline. |
slates_add_timeline_track
Add a track to the project's timeline (default: an audio track, for layering voiceover + music + AI audio). A video or audio track is appended below the existing tracks; an overlay track, for text and image overlays, goes on top so it draws over every other track. above or below (a lane id) puts it just there instead: picture lanes draw in their order, the top one in front, so an overlay lane between two video lanes draws behind the upper one. Returns the new track and the full timeline.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
above | string | A lane of the timeline: the new one goes just above it. |
below | string | A lane of the timeline: the new one goes just below it. |
name | string | Default: 'Audio N', 'Video N' or 'Overlay N'. |
timelineId | string | |
type | string | Default: audio. overlay needs a desktop with text and image overlays. |
slates_add_text_clip
Put text on the timeline: captions, a headline, a keyword, a call to action, a title-card label, a logo with words. Each item is one text clip on an overlay track, drawn over the video in preview and export; a batch lands in one transaction, all or none. Captions that follow the voice: one clip per line, with each word's timing in words. Set a label exactly with font (a font Slates carries) and fontSize (a fraction of the frame's height); it then centres the middle of its capitals on x, y. pictureAssetId draws an image before the words; clips sharing a line name are set side by side and centre…
| Parameter | Type | Description |
|---|---|---|
items * | array | |
projectId * | string | |
timelineId | string |
slates_add_image_overlay
Put a picture over the video on the timeline: a logo, a product shot, an end card, a badge. Each item is one image clip on an overlay track, drawn in preview and export; a batch lands in one transaction, all or none. The picture is an image asset already in the project. Returns the clips and the timeline. Change one later with slates_update_overlay_clip, remove it with slates_remove_clip.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
projectId * | string | |
timelineId | string |
slates_update_overlay_clip
Change a text clip's words or look, or an image overlay's place, size and opacity. Only the fields you name change; null puts one back to the style's or the default. A text clip also takes font, fontSize, pictureAssetId (null takes the picture away), pictureHeight, pictureGap, line and gap, as slates_add_text_clip describes (needs text-fonts); in a line, x and y are read from its first clip. words replaces a text clip's timings, and [] drops them; new text keeps the old timings, so send words with it. When the clip shows does not change here: to move one, remove it (slates_remove_clip) and add…
| Parameter | Type | Description |
|---|---|---|
items * | array | |
projectId * | string |
slates_set_clip_keyframes
Animate or set a timeline clip's transform with keyframes: a punch-in, a slow push, a Ken Burns move, a slide, a spin, a fade, a crop. Each property you name gets exactly the keys you send ([] clears it back to its static value); properties you leave out keep theirs, and all of them land in one transaction. One key holds a value for the whole clip. Frames count from the clip's start and may fall between frames (110.4), read at that exact time. Units: positionX/positionY move the picture's centre in frame widths/heights (0.1 = a tenth of the frame right or down, -4..4); scale multiplies the fra…
slates_add_captions
Caption the speech in a cut: one text clip per phrase on an overlay track, each carrying its words so the spoken word lights up on the frame it is said. Free; any transcription it needs runs on the user's machine. source transcript (the default) uses the words heard in each clip, aligned to within a frame, transcribing first when needed; script spreads the clip's Shot line over the speech, with estimated timing; words takes your own timed words in timeline seconds. By default every clip with sound is captioned on a new Captions track on top. Phrases follow the caption rules unless you pass you…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
timelineId * | string | The cut (slates_get_timeline or slates_list_timelines). |
clipIds | array | Video or audio clips whose speech to caption. Default with transcript: every clip with sound. |
component | string | A caption component instead of text clips: one HTML clip animating every word in that component's look (style does not apply). Preview them with slates_list_motion_blocks (query: caption, type: compon… |
html | string | Your own caption layer instead of a component or text clips: a composition that reads var WORDS = [{ text, start, end }], RAW_GROUPS (phrases as [first, last] word indexes), KEYWORDS (a Set of emphasi… |
phrases | array | Your own phrases as [from, to) word index ranges, in order and not overlapping: from is the phrase's first word, to is one past its last. Words count across the whole call in timeline order, and only… |
source | string | Default: words when you pass words, else transcript. |
style | string | Default: word-pop, which lights up the spoken word. |
tiers | object | Emphasis by word index (the same count as phrases). Unnamed words are regular. Drawn only by components: caption-editorial-emphasis sets italic and emphasis (slam draws as emphasis); kinetic-slam, cli… |
trackId | string | An overlay track to use. Default: a new Captions track on top. |
variables | object | Values for the composition's or block's declared variables, by name: text, numbers or true/false. A picture (declared type image) takes an image asset id (UUID) of this project, or "" for the layer's… |
words | array | With source words: the words and their times in timeline seconds. |
slates_add_html_clip
Put an HTML motion layer on the timeline: an animated caption, lower third, end card, title, logo sting or background plate, drawn on an overlay track in preview and export. An HTML clip is a composition, an HTML document with a GSAP timeline registered on window.__timelines. Pass your own html, or block with the name of a registry block (slates_list_motion_blocks) and its variables; html with block replaces the block's document and keeps its files. It loads the project's own pictures, SVGs, fonts, stylesheets and scripts by their path in the project's folder (images/logo.svg, fonts/Brand.woff…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
startFrame * | integer | Where the clip starts, in timeline frames. |
timelineId * | string | The cut (slates_get_timeline or slates_list_timelines). |
block | string | A registry block name from slates_list_motion_blocks. |
durationSec | number | How long it shows, in seconds. |
endFrame | integer | The frame it ends before. Give endFrame or durationSec, not both; without either, the duration the composition or block declares. |
html | string | A composition: a whole HTML document whose GSAP timeline is registered on window.__timelines. Slates seeks that timeline to every frame with its callbacks off, so onUpdate, onComplete and the other ca… |
trackId | string | An overlay track (slates_add_timeline_track, type overlay). Without it the desktop picks or makes one; createdTrack says which. |
variables | object | Values for the composition's or block's declared variables, by name: text, numbers or true/false. A picture (declared type image) takes an image asset id (UUID) of this project, or "" for the layer's… |
slates_update_html_clip
Change an HTML clip's composition or its variables. Like slates_add_html_clip, the composition loads the project's own pictures, SVGs, fonts, stylesheets and scripts by their path in the project's folder. Slates' composition check runs again and its findings come back here: fix every error before moving on. Only what you pass changes. To move or retime one, remove it (slates_remove_clip) and add it again.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | An HTML clip (slates_get_timeline). |
projectId * | string | |
html | string | A composition: a whole HTML document whose GSAP timeline is registered on window.__timelines. Slates seeks that timeline to every frame with its callbacks off, so onUpdate, onComplete and the other ca… |
variables | Values for the composition's or block's declared variables, by name: text, numbers or true/false. A picture (declared type image) takes an image asset id (UUID) of this project, or "" for the layer's… |
slates_check_composition
Check a composition before it lands, with Slates' composition check: its errors and warnings, each with a code, a message and, where it has one, the selector it found. Writes nothing. A file the composition names by its path in the project's folder (a picture, SVG, font, stylesheet or script) is served to it, so name one there instead of a remote address the check flags. slates_add_html_clip and slates_update_html_clip run the same check, so use this one while drafting.
| Parameter | Type | Description |
|---|---|---|
html * | string | A composition: a whole HTML document whose GSAP timeline is registered on window.__timelines. Slates seeks that timeline to every frame with its callbacks off, so onUpdate, onComplete and the other ca… |
slates_list_motion_blocks
Search the motion block library for ready-made motion layers, such as captions, lower thirds and end cards: each item's name, type, title, description and tags. The list is the library at the version this Slates build runs, so every item in it draws here. Put a block on the timeline with slates_add_html_clip (block: its name).
| Parameter | Type | Description |
|---|---|---|
query | string | Words to match, such as "lower third" or "kinetic caption". |
type | string | Default: block, the items slates_add_html_clip takes. |
slates_update_timeline_track
Update a timeline track: rename, mute/unmute, lock/unlock, or set its volume fader (linear gain, -∞ to +12 dB). Track volume applies to both preview and MP4 export — audio-track clips are mixed at this gain; a muted video track still shows video but its embedded audio is silenced. effects puts an effect list on a sound lane, heard after its clips' own (the same shape as slates_update_clip, keys in frames from the timeline start). above or below (another lane's id) moves the lane just there: picture lanes draw in their order, the top one in front, video and overlay lanes alike.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
trackId * | string | |
above | string | Another lane of the timeline: this one moves just above it. |
below | string | Another lane of the timeline: this one moves just below it. |
effects | A video or audio lane: its effect list, sent whole; null clears it. | |
locked | boolean | |
muted | boolean | |
name | string | |
volume | number | Track fader as LINEAR gain: 0 = -∞ (silent), 1 = 0 dB (unity), ~3.98 = +12 dB (max boost). |
slates_remove_timeline_track
Remove an EMPTY timeline track (fails if it still has clips, or if it is the last track of its type).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
trackId * | string |
slates_update_timeline_settings
Update a timeline's output settings: resolution, frame rate (24/30/60; all clips are conformed to it on export), masterVolume, or delivery formats, naming taxonomy and explicit variant grid bindings. New fields require ad-variant-export; null clears them. Read aspects and dimensions from slates_get_variant_grid. Delivery-only updates on an explicit timeline return the computed formats. masterVolume is the output fader (linear gain: 0 is silent, 1 is unity, 4 is the maximum boost) applied to the preview and the final mix; use it to prevent clipping when stacking loud tracks. These are normally…
slates_export_video
Render the project's timeline to a video file on disk through the desktop app's timeline engine, the renderer its monitor shows, so the file matches the preview (H.264 + AAC by default, every video lane composited with its transitions, fades and keyframes, gaps rendered as black; the Slates window must be open, and the export opens the timeline's project there first, answering openedProject: true when it did). No dialogs — pass an absolute outputPath ending in .mp4 (.mov for codec prores). presetId exports for a platform (tiktok, reels, meta-feed, stories, shorts, youtube: its bitrate, frame…
| Parameter | Type | Description |
|---|---|---|
outputPath * | string | Absolute path for the rendered file, ending in .mp4, or .mov for prores (e.g. C:\Users\you\Videos\ad.mp4 or /Users/you/ad.mp4). slates_get_project_directory gives a sensible default folder. |
aspect | string | Optional delivery aspect from slates_get_variant_grid; requires ad-variant-export. Omission keeps existing export behavior. |
audioBitrate | number | This file's AAC sound in kb/s (128, 192, 256, 320); omit for the timeline's Sound bitrate. |
codec | string | h264 (default) and h265 write an .mp4; prores writes a .mov with PCM sound for editing elsewhere. |
fps | The file's frame rate; null is the timeline's. | |
overwrite | boolean | |
presetId | string | A platform's targets: its frame size, H.264 bitrate, frame-rate ceiling and sound. |
projectId | string | |
timelineId | string | |
videoBitrateMbps | The picture's Mb/s; null is Auto (the preset's, else the engine's own). Ignored by prores. |
slates_export_timeline_xml
Export the project's timeline as FCP7/XMEML XML — the file DaVinci Resolve imports directly (File → Import → Timeline) to recreate the edit with references to the original clip media on disk. Use this for DaVinci Resolve or Premiere; current Final Cut Pro requires FCPXML, which this tool does not export. Pass an absolute outputPath ending in .xml; fails if the file exists unless overwrite=true. Pass exactly one of projectId (the project's default timeline) or timelineId (a named cut).
| Parameter | Type | Description |
|---|---|---|
outputPath * | string | Absolute path for the XML file, ending in .xml (e.g. C:\Users\you\Videos\ad.xml or /Users/you/ad.xml). |
overwrite | boolean | |
projectId | string | |
timelineId | string |
slates_reveal_file
Open the OS file manager (Explorer/Finder) with the given file selected — use after slates_export_video / slates_export_timeline_xml so the user can see the file you wrote. Absolute path required; the file must exist.
| Parameter | Type | Description |
|---|---|---|
path * | string |
slates_update_project
Update a Slates project's name and/or description.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
description | string | |
name | string |
slates_delete_project
Delete a Slates project. DESTRUCTIVE — permanently removes the project with all its assets, boards, and media files. Requires confirm=true after explicit user OK.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
confirm | boolean | Set true only after the user explicitly OKs the deletion. |
slates_get_project_directory
Get the absolute on-disk folder of a Slates project — useful for choosing an export outputPath default (e.g. <dir>/exports/final.mp4).
| Parameter | Type | Description |
|---|---|---|
id * | string |
slates_relocate_project
Move a project stored in an older folder into the current projects folder (Settings › Storage's move): its files are copied, every path is pointed at the copy, then the old folder is removed. slates_get_project_directory says where it is now. slates_undo_relocate_project puts it back while Slates stays open. Refused while the project is generating.
| Parameter | Type | Description |
|---|---|---|
id * | string |
slates_undo_relocate_project
Put a project moved by slates_relocate_project (or Settings › Storage) back in the folder it came from. Works only for the last move, in the same run of Slates, and only while nothing has moved it since.
| Parameter | Type | Description |
|---|---|---|
id * | string |
slates_delete_asset
Delete an asset from its project. Permanent: also deletes the media file from disk, so ask the user first.
| Parameter | Type | Description |
|---|---|---|
id * | string | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. |
slates_rename_folder
Rename an asset folder.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | |
name * | string |
slates_delete_folder
Delete an asset folder only; its files return to No folder. To delete the files too, call slates_delete_asset on them first.
| Parameter | Type | Description |
|---|---|---|
folderId * | string |
slates_set_folder_cover
Set the cover image of an asset folder (or clear it with assetId=null).
| Parameter | Type | Description |
|---|---|---|
assetId * | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. | |
folderId * | string |
slates_update_character
Update a character's name, description, style, or voice. Use slates_set_character_identity_asset for its canonical image. These are Library items: slates_update_library_item edits the same row.
| Parameter | Type | Description |
|---|---|---|
characterId * | string | |
description | string | |
name | string | |
style | string | Art style. Omit to keep the stored style. Canonical styles: photoreal, anime, painterly, 3d-render, comic. Or pass any free-text instruction, e.g. 'turn this into a real person'. |
voiceAssetId | The AUDIO asset that is this character's voice (what inworld-tts-2 clones for its lines); null detaches, the clip stays. |
slates_delete_character
Delete a character from its project. These are Library items: slates_delete_library_item deletes the same row.
| Parameter | Type | Description |
|---|---|---|
characterId * | string |
slates_update_environment
Update a location's name, description, style, or bound reference image (referenceAssetId=null clears it). These are Library items: slates_update_library_item edits the same row.
| Parameter | Type | Description |
|---|---|---|
environmentId * | string | |
description | string | |
name | string | |
referenceAssetId | ||
style | string | Art style. Omit to keep the stored style. Canonical styles: photoreal, anime, painterly, 3d-render, comic. Or pass any free-text instruction, e.g. 'turn this into a real person'. |
slates_delete_environment
Delete a location from its project. These are Library items: slates_delete_library_item deletes the same row.
| Parameter | Type | Description |
|---|---|---|
environmentId * | string |
slates_list_styles
List the looks (styles) in a Slates project. These are Library items: slates_list_library lists them with every other Library item, each with its category and mention (#name for a look).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_create_style
Create a new look (style) in a Slates project. These are Library items: slates_create_library_item creates one in a category you choose and returns its #mention.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string | |
description | string |
slates_update_style
Update a look's name, description, or bound reference image (imageAssetId=null clears it). These are Library items: slates_update_library_item edits the same row.
| Parameter | Type | Description |
|---|---|---|
styleId * | string | |
description | string | |
imageAssetId | ||
name | string |
slates_delete_style
Delete a look from its project. These are Library items: slates_delete_library_item deletes the same row.
| Parameter | Type | Description |
|---|---|---|
styleId * | string |
slates_list_library
List a project's Library: its categories (user-named; each is kind 'thing' = used as @name in prompts, or 'look' = used as #name) and every saved reference in them. Each item carries `mention` — exactly what to type in a prompt to attach it (a bare name is prose and attaches nothing) — plus its image, source and voice asset ids.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_create_library_item
Save a reference to the Library in one of the project's categories (ids from slates_list_library) — a person, a location, a product, a prop, a look. Names share ONE namespace per sigil: a name whose handle is already taken comes back suffixed ("Candle 2"), so read `mention` from the result instead of assuming it. Pass imageAssetId (UUID or badge code) to bind its picture in the same call.
| Parameter | Type | Description |
|---|---|---|
categoryId * | string | |
name * | string | |
projectId * | string | |
description | string | |
imageAssetId | string | The one image a mention attaches. UUID or badge code ("IMG-A8"). |
style | string | Optional free-text style instruction the sheet tools read. |
slates_update_library_item
Update a Library item: rename it, move it to another category (categoryId), bind its picture (imageAssetId) or its voice (voiceAssetId, an audio asset; a thing in a location category composes as an environment and carries none). null clears an asset; the asset itself stays. Moving between a 'thing' and a 'look' category flips the sigil (@ ↔ #), and moving a thing into or out of a 'location'-template category changes what it composes as. A rename changes its handle. In every case each saved Shot that mentions the item is rewritten to match (the mention in its prompt, and its mention id), and…
| Parameter | Type | Description |
|---|---|---|
itemId * | string | |
projectId * | string | The project the item is in — asset codes resolve against it. |
categoryId | string | |
description | string | |
extraAssetIds | array | More pictures of it, in order: UUIDs or badge codes of pictures in this project. [] clears. |
imageAssetId | UUID or badge code; null clears. | |
name | string | |
palette | array | Its colours: #rrggbb, #rgb or rgb(r, g, b). [] clears. |
retagShots | boolean | Only with categoryId or name. Default true: Shots that mention the item follow a move or a rename that changes how it is mentioned. |
style | string | |
voiceAssetId | An AUDIO asset, UUID or badge code; null detaches. |
slates_delete_library_item
Delete a Library item. Saved Shots that mention it stop attaching it, so tell the user how many. Its images and voice clip stay in the project as ordinary assets.
| Parameter | Type | Description |
|---|---|---|
itemId * | string |
slates_manage_library_category
Create, rename, change what it is (set-behaviour), reorder or delete a Library category. Categories are the USER's labels ("Products", "Mascots"); never invent ones they did not ask for. create: projectId + name + kind ('thing' = used as @name in prompts, 'look' = used as #name), optional template ('person' | 'location'; the app asks "Is this a subject, a place, or a look?" — a 'location' category's things compose as environments and carry no voice; every other thing composes as a character). set-behaviour: categoryId + kind + template (null for no template); retagShots defaults to true and…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
categoryId | string | |
kind | string | |
name | string | Up to 40 characters, as the app's name field. |
orderedIds | array | |
projectId | string | |
retagShots | boolean | |
template |
slates_copy_library_item_to_project
Copy a Library item into another project: the item AND duplicates of its picture, source and voice, filed in the target's category of the same name (made when missing). The original is untouched. Use this to reuse a character or product across projects; use slates_move_entity_to_project to take it out of this one instead.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | |
targetProjectId * | string |
slates_get_template
Read a Slates template file without changing anything. With `path`: what it holds (scenes, shots, library items, the models its shots are set to) and its SWAP SLOTS — every Library item (`item:i1`, labelled with its mention, e.g. @candle, with `extras` (its count of extra pictures) and `palette`) and every directly attached reference (`asset:a3`, with its roles) that slates_import_template can point at one of the project's own assets instead. Without `path`: the templates in the user's templates folder, plus any starter templates the app ships.
| Parameter | Type | Description |
|---|---|---|
path | string | Absolute path of a .slatestemplate file. Omit to list saved templates. |
slates_export_template
Save a board, a scene or one Shot as a template file someone else can start from. Give exactly one of storyboardId, sceneId or shotId. The file carries each Shot's full recipe (prompt, model, settings, reference roles, script words) plus the reference files and the Library items the Shots mention, each with its picture, extra pictures and colours; it carries no takes. The project is untouched. A file saved outside the user's templates folder is not in the template list (slates_get_template without path); the user opens it with Open a file. Returns the path, the counts and a warning for any ref…
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to write, ending in .slatestemplate. Its folder is created if needed. |
projectId * | string | |
description | string | |
name | string | The template's name. Defaults to the board's, scene's or Shot's. |
sceneId | string | |
shotId | string | A Shot id or code (SHOT-A3). |
storyboardId | string |
slates_import_template
Add a template to a project. A board template becomes a new board; a scene template becomes a new scene of `storyboardId` (default: the most recently edited board); a single-Shot template is filed like any new Shot (into `sceneId` when given, else the last scene of `storyboardId` or of the most recently edited board). Its reference files become new assets of this project and its Library items are created here (a taken name is suffixed and the imported prompts are rewritten to match; see `renamed`). `swaps` maps a slot key from slates_get_template to an asset of THIS project (id or code) of the…
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path of the .slatestemplate file. |
projectId * | string | |
sceneId | string | |
sceneIndices | array | Import only these scene indices from the inspected parts, preserving their order. Omit for the whole template. |
storyboardId | string | |
swaps | object | { "item:i1": "IMG-A12", "asset:a3": "<asset id>" }. An item swap also leaves out the template's extra pictures and colours for it. |
useTemplateCategories | boolean | Remove the project's untouched default Library categories the template does not use. Only acts on a project whose Library is empty; defaults to true on a project with no board. |
slates_get_reference_breakdown
Read a reference ad's cuts and words without changing anything: each cut's start, end and seconds, the words heard in it, and the reference's size, frame rate and form (a still, no voice, soft cuts). When slates_break_down_reference already saved this asset's frames, they come back too (framesSaved: true, each cut's keyframeCode and compositeCode, the first and last frame side by side); otherwise there are no pictures and the words are the stored transcript only. Free; writes nothing. To start from a reference, read it here, then break it down.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The reference video or picture in the project: its code (VID-V3) or id. |
projectId * | string |
slates_break_down_reference
Start from a reference ad: break a finished video into a new board with one Shot per cut, as the clip's Break down into shots command does, so the user can remake it with their own product. Each Shot is postered with its cut's keyframe (a poster only, never a reference or first frame), named by its seconds in the reference, and holds the words heard in that cut on the Script page. Nothing is generated and nothing spends: the result carries the board's quote, the Shot codes and each timing gap in words (a cut shorter than the model's shortest length). Local and free; the first transcription can…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
assetId | string | A video or picture already in the project: its code (VID-V3) or id. Give this, filePath or url. |
build | boolean | false: save the frames and return the cuts, with no board. Default true. |
cancel | boolean | true: stop the run named by jobId instead of starting one. |
cuts | array | |
filePath | string | An absolute path to a video or picture on this computer; it is imported first. |
jobId | string | A name for this run, so a later call with cancel can stop it. |
model | string | A video model id for every Shot; defaults to the app's default video model. |
name | string | The board's name. Defaults to the reference's. |
roles | array | Who or what recurs. Without itemId a role becomes a new Library item to fill in. |
sections | array | Headings on the Script page, each before the cut it starts at (hook, problem, offer...). |
transcribe | boolean | Hear the words when no transcript is stored. Default true. |
url | string | A link to the reference: a Meta Ad Library ad or a direct video file link, fetched and imported first. Creative Center and post links are refused with the reason. |
slates_get_product_page
Read a product page without changing anything: the product's name, description, brand, slogan, price, pictures, logo candidates, the brand's declared colours and the page's bullet points, each with where it came from (json-ld product data, a Shopify store's product data, open-graph sharing tags, other meta tags, or the page's own pictures by size), plus notes on what the page lacks. The desktop fetches the page itself (public addresses only, no browser, nothing signed in). A page that builds itself with JavaScript, an ad library link, a post, or a link to a picture or video file is refused wit…
| Parameter | Type | Description |
|---|---|---|
url * | string | The product page, such as a shop's /products/... page. |
slates_import_product
Add a product to the Library from its page, as the app's Add as product does: the product becomes a thing (in Products, or the things categoryId given) with the page's first picture as its picture, the next ones as its extra pictures and the page's bullet points, price and link as its notes; its brand becomes a look with the brand's logo as its picture and the page's and logo's colours as its palette. A look of the same name already in the Library is filled in where empty, never overwritten. Pictures land in a Media folder named after the product. Give url, filePaths (absolute paths to picture…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
brand | boolean | false: make no look for the brand. Default true. |
categoryId | string | A things category (slates_list_library) to file the product in. Defaults to Products. |
filePaths | array | Absolute paths to pictures of the product on this computer, first in the order given. |
html | string | The page's HTML, read instead of fetching the page. Needs url. |
itemId | string | A thing already in the Library (slates_list_library) to fill from the page instead of making a product. |
maxPictures | integer | How many pictures to fetch from the page. Default 6; the desktop takes at most 12. |
name | string | The product's name. Defaults to the page's, else the first file's. |
url | string | The product page. |
slates_update_storyboard
Update a board's name and/or description.
| Parameter | Type | Description |
|---|---|---|
storyboardId * | string | |
description | string | |
name | string |
slates_delete_storyboard
Delete a board with all its scenes and Shots; the media they made stays, and a Shot that also sits on another board survives. The app cannot undo this, so confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
storyboardId * | string |
slates_update_scene
Update a scene's name and/or position within its board.
| Parameter | Type | Description |
|---|---|---|
sceneId * | string | |
name | string | |
position | integer |
slates_delete_scene
Delete a scene and every Shot in it; the pictures and clips they made stay in Media. The app cannot undo this, so confirm with the user first. To drop only the scene break and keep its Shots, use slates_merge_scene.
| Parameter | Type | Description |
|---|---|---|
sceneId * | string |
slates_reorder_scenes
Reorder the scenes of a board. Pass the COMPLETE list of the board's scene ids in the desired order.
| Parameter | Type | Description |
|---|---|---|
sceneIds * | array | |
storyboardId * | string |
slates_update_frame
Update a slot: its shot label, notes, bound asset (assetId=null unbinds), scene or position. A scene or position change carries the words in this slot with it on the Script page. preferredClipId picks the clip the timeline takes for this slot (a video asset id or VID code; null goes back to the newest linked video), as the take menu's "Use in the timeline" does. The BEAT — its line, references, model, prompt and framing — lives on the Shot in this slot; use slates_update_shot for that.
| Parameter | Type | Description |
|---|---|---|
frameId * | string | |
assetId | Asset UUID, not a badge code: pass the code to slates_list_assets as search to resolve it. | |
notes | string | |
position | integer | |
preferredClipId | The clip the timeline takes for this slot: a video asset id or badge code in the project; null clears it. | |
sceneId | string | |
shotLabel | string |
slates_batch_update_frames
Update MANY slots in one call — shot labels, notes, asset binding, scene/position, and preferredClipId (the clip the timeline takes for the slot: a video asset id or VID code, null to clear). Prefer this over repeated slates_update_frame when re-arranging a scene: it is one round-trip and one UI refresh, and every id is validated before anything is written, so the batch never lands half-applied. A scene or position change carries the words in each slot with it on the Script page. To write the BEATS themselves, use slates_create_shot / slates_update_shot.
| Parameter | Type | Description |
|---|---|---|
updates * | array |
slates_delete_frame
Delete a Shot by deleting its slot (frame): this is the delete-Shot tool, and it also removes an exploration slot. The takes stay in Media. The user can press Ctrl+Z in the app to bring a deleted Shot back.
| Parameter | Type | Description |
|---|---|---|
frameId * | string |
slates_create_shot
Write one beat of the piece — a Shot: its script line, its references with their roles, its model and params, and the prompt that fires. It needs NO image to exist, so a whole film can be written, arranged and priced before anything is generated. It lands in the board automatically (the open scene, else the most recent board) — never unfiled. Saves only: it generates and spends nothing; price with slates_get_board_quote and fire with slates_generate_from_shots after the user approves. shotSize and camera are FREE TEXT and are never rejected or rewritten. They are bucketed only for the vari…
slates_update_shot
Change part of a Shot, or attach/detach it from a board frame — anything you omit is left exactly as it was. Saves only: it generates and spends nothing. shotSize and camera are FREE TEXT and are never rejected or rewritten. They are bucketed only for the variety count — shot size into wide / medium / close / extreme-close / other, camera into static / push / pull / handheld / orbit / crane / other — and anything unrecognised counts as "other", which is a fine answer.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The Shot's project — badge codes and entity ids resolve against it. |
shotId * | string | The Shot id, or its SHOT-A code as shown on the row. |
action | ||
attachFrameId | string | Attach this Shot to a board frame. |
audioRefSpokenText | array | |
camera | ||
characterIds | array | |
continues | boolean | |
delivery | ||
detachFrameId | string | Detach it from a frame. Not its last one: pass attachFrameId too, or delete the Shot. |
environmentIds | array | |
firstFrameAssetId | string | |
lastFrameAssetId | string | |
line | ||
model | string | |
name | string | |
params | object | Same shape as slates_create_shot — see it for what each field means. Generation settings for the Shot. |
posterAssetId | string | null | Which reference represents this Shot as a thumbnail. Defaulted automatically (first frame, else the first image reference, else the newest take) — only set it to OVERRIDE, and pass null to go back t… |
prompt | string | |
promptScriptLine | string | null | The exact script line reviewed when authoring this custom prompt. |
prop | ||
recipeMode | string | Script mode compiles active words with production fields. Custom keeps the authored prompt exactly. |
refs | object | Same shape as slates_create_shot — see it for what each field means. Attachments by ROLE, ordered within each role. The role decides the sentence the model is told, so a subject reference and a plai… |
shotSize | ||
speaker | ||
styleIds | array |
slates_duplicate_shot
Fork a saved Shot, changing the prompt, the model or any param on the COPY in the same call — make one, fork it five times, change one thing on each. The original is never touched.
| Parameter | Type | Description |
|---|---|---|
shotId * | string | The Shot id, or its SHOT-A code. |
frameId | Attach the copy to this frame. Omit to keep the original's frame; pass null to leave it unattached. | |
model | string | Point the copy at a different model — the A/B lever. The prompt is NOT rewritten, and the copy records which model it was written for. |
name | string | Name for the copy (default: the original plus "copy"). |
params | object | Same shape as slates_create_shot — see it for what each field means. Generation settings for the Shot. |
projectId | string | The Shot's project. A SHOT-A code is unique only within its project, so pass this with a code. |
prompt | string | Replace the prompt on the copy. Omit to keep the original's. |
slates_split_shot
Split one Shot into two at a caret in its line. The text after the caret moves to the new Shot, which INHERITS the model, params and references and lands directly after it in the scene. A mid-sentence split marks the second row as continuing the first — one sentence, two cuts, which is the signature voiceover move. Takes stay with the first row. Omit the caret to add a sibling cut with the same visuals and no words moved.
| Parameter | Type | Description |
|---|---|---|
shotId * | string | The Shot id, or its SHOT-A code. |
caret | integer | Character offset into the Shot's `line` to cut at. Omitted = the end of the line. |
projectId | string | The Shot's project. A SHOT-A code is unique only within its project, so pass this with a code. |
slates_merge_shots
Merge two adjacent Shots into one. Texts join, references union, the FIRST Shot's model and params win, and the durations SUM — which may exceed the model's window, in which case it is shown and never blocked. Lossy in one direction: the second Shot's model and params are discarded. There is no undo op; the user can press Ctrl+Z in the app straight after, and the takes stay as the history.
| Parameter | Type | Description |
|---|---|---|
firstId * | string | The Shot that survives — its model and params win. Id or SHOT-A code. |
secondId * | string | The Shot folded into it. Id or SHOT-A code. |
projectId | string | The Shots' project. A SHOT-A code is unique only within its project, so pass this with codes. |
slates_split_take
Move a take to a NEW Shot made from its recorded recipe (to move it to an existing Shot, use slates_refile_take). The result (a take under `shotId`) moves to a new Shot whose recipe is the take's RECORDED one — the prompt, model, params and references it was actually made from, which may differ from what the source Shot says now. The new Shot lands directly after the source by default; the source keeps its other takes and its recipe untouched, and is never deleted when emptied. Script fields (line, speaker) start empty on the new row.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The take to move — an asset id or its IMG-A / VID-A code. Must be a take of `shotId`. |
shotId * | string | The source Shot id, or its SHOT-A code. |
name | string | The new Shot's name. Omitted = the take's label or the first 60 characters of its prompt. |
position | integer | Frame position in that scene. Omitted = directly after the source. |
sceneId | string | Scene for the new Shot. Omitted = the source's scene. |
slates_refile_take
Move a take (a result) from one Shot to another in the same project. Only the attribution moves: neither Shot's recipe changes, the asset stays where it is in Media, and a clip that a frame prefers keeps that role. `fromShotId` is a guard — the take moves only if it still hangs under that Shot (omit it to claim an unattributed result). An emptied Shot is kept, never deleted. To start a new Shot from the take, use slates_split_take.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | The take — an asset id or its IMG-A / VID-A code. |
toShotId * | string | The Shot to move it to (id or SHOT-A code). |
fromShotId | string | null | The Shot it hangs under now (id or SHOT-A code). Omitted or null = an unattributed result. |
slates_get_script
A scene's script, the one text its Shots' lines are ranges of, with every ranged Shot's [start, end) offsets and code. For the whole board's document (headings, formatting, every scene) use slates_get_script_document. Read this before slates_edit_script or slates_make_shot_from_script: offsets are character positions into exactly this text. Text no Shot holds is unshot; a Shot listed by slates_list_shots but absent here has no words on the page yet. `rev` names this exact text and `revision` the whole script document: pass either to slates_edit_script so an edit measured on it is refused, not…
| Parameter | Type | Description |
|---|---|---|
sceneId * | string | The scene (slates_get_storyboard_with_frames lists them, each with its script). |
slates_get_script_uses
Review each reused passage before updating it: current and proposed words, destination revision, and local-edit conflicts. Pass only explicitly selected non-conflicting uses to slates_update_script_section (updateUses). sectionId comes from slates_get_script_sections.
| Parameter | Type | Description |
|---|---|---|
sectionId * | string |
slates_get_shot_inputs
Read this Shot's take input history and the finished takes elsewhere in the project made from its exact inputs; add one free with slates_reuse_shot_take. Earlier and unknown inputs remain playable but never count as a match. No generation.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
shotId * | string |
slates_reuse_shot_take
Explicitly link a take with matching saved request and recipe inputs to this shot. Keeps the original generation and independent shot recipe. Input changes are rechecked before reuse; costs no credits. Find candidates with slates_get_shot_inputs; slates_refile_take moves a take instead.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | Asset UUID or badge code from compatibleTakes. |
projectId * | string | |
shotId * | string |
slates_preview_script_variation
Preview explicit version choices (one saved version per section) and independent ID-based reference replacements without writes or generation. An optional ordered arrangement supports repetition and omission. Returns composed requests, custom-prompt/reference warnings, a quote, and a plan marking each shot reuse (a finished take with matching inputs exists) or new. Inspect only the combinations you need.
| Parameter | Type | Description |
|---|---|---|
choices * | array | One saved version per section, ids from slates_get_script_sections. |
expectedRevision * | integer | The revision from slates_get_script_document; a stale one is refused. |
name * | string | |
storyboardId * | string | |
arrangement | array | |
assetOverrides | array | Swap one asset for another of the same type (ids or badge codes). |
idempotencyKey | string | Required to create: a retry with the same key and choices returns the same Board. |
itemOverrides | array | Swap one Library item for another of the same kind and role, a person for a person, a location for a location (item ids). voice keep: the replaced item's voice stays on the Shots it speaks in; replace… |
slates_create_script_variation
Materialize one reviewed variation as an independent Board with local shot IDs and lineage. Pass idempotencyKey: a retry with the same key returns the same Board. Returns a quote through the normal request service. No media generation or implicit take reuse.
| Parameter | Type | Description |
|---|---|---|
choices * | array | One saved version per section, ids from slates_get_script_sections. |
expectedRevision * | integer | The revision from slates_get_script_document; a stale one is refused. |
name * | string | |
storyboardId * | string | |
arrangement | array | |
assetOverrides | array | Swap one asset for another of the same type (ids or badge codes). |
idempotencyKey | string | Required to create: a retry with the same key and choices returns the same Board. |
itemOverrides | array | Swap one Library item for another of the same kind and role, a person for a person, a location for a location (item ids). voice keep: the replaced item's voice stays on the Shots it speaks in; replace… |
slates_get_script_sections
Read free-named script sections, anchored fragments, saved versions and local-change state.
| Parameter | Type | Description |
|---|---|---|
storyboardId * | string |
slates_update_script_section
Create a free-named section from a selected passage, save the words now on the page as a new version (action alternative), save changes to the shown version (save) or choose another (choose), insert an editable copy (reuse), update unedited copies (updateUses), rename or archive a section or one version (alternativeId), or set its free tags (action tags). Choosing, archiving a section, reuse and updateUses first save the page's words and shot bindings into the version that was showing (the page is never unsaved; save remains for an explicit save), and only alternative starts a new version; arc…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
expectedRevision * | integer | The revision from slates_get_script_document; a stale one is refused. |
storyboardId * | string | |
alternativeId | string | |
fragments | array | create: the passage, as ranges of scene text. |
label | string | The name: required for create and alternative, and for rename. |
parentId | string | create: a section that contains this passage. |
sectionId | string | Every action except create. |
tags | array | Free tags for action tags; replaces the list. |
target | object | reuse: the scene the copy goes into, the place in its text, and that board's document revision. |
uses | array | updateUses: the copies to update, with the revisions slates_get_script_uses returns. |
slates_get_script_suggestions
Read suggested replacements on a script: pending ones first (stale when their words changed since), then recent accepted or dismissed ones.
| Parameter | Type | Description |
|---|---|---|
storyboardId * | string |
slates_update_script_suggestions
Propose replacements for exact passages without editing the script (create), or accept or dismiss one. Use create when asked to suggest or improve a passage; the creator reviews and accepts it in the document. Each quotes the words it replaces; one whose words change later is stale and will not apply. Accepting is one undoable write. Never generates media.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
expectedRevision * | integer | |
storyboardId * | string | |
suggestionId | string | |
suggestions | array |
slates_get_script_document
Read the whole script document: scene strings, UTF-16 block/shot anchors, non-spoken headings/directions and a revision for safe writes. Formatting metadata contains no second copy of paragraph text. slates_get_script reads one scene's text with its Shot offsets.
| Parameter | Type | Description |
|---|---|---|
storyboardId * | string |
slates_read_script_markdown
Read the board script as anchored Markdown, with its revision, scene and block offsets, Shot ranges, and new human edits. Advances the reader’s cursor. For edits or a shot breakdown, open the job’s playbook first, then read the script. Use slates_get_script_document for structured text and formatting without advancing the cursor.
| Parameter | Type | Description |
|---|---|---|
storyboardId * | string | |
readerId | string | Reuse a stable reader ID to track human edits independently. Defaults to default. |
slates_propose_script_markdown
Propose changes to the board’s anchored Markdown as a group of text and formatting suggestions for review. Returns the group ID and redlines, or a null group ID if nothing changed. Read with slates_read_script_markdown first and preserve scene anchors in order. For exact passage suggestions use slates_update_script_suggestions. For a direct text edit use slates_edit_script.
| Parameter | Type | Description |
|---|---|---|
boardRevision * | integer | The revision returned by slates_read_script_markdown. Stale revisions are refused. |
markdown * | string | The full revised Markdown, with the scene anchor comments in their original order. |
storyboardId * | string |
slates_propose_shot_breakdown
Save alternative ways to cut script passages into Shots for the creator to review in Slates. Returns the proposal ID, options, existing Shot ranges and a preview of settings each merge would discard. The script and Shots change only when the creator applies an option. For immediate Shot creation from ranges, use slates_update_script_document.
| Parameter | Type | Description |
|---|---|---|
boardRevision * | integer | The revision returned by slates_read_script_markdown. Stale revisions are refused. |
options * | array | At least two distinctly named cut options. |
ranges * | array | Non-overlapping UTF-16 ranges [start, end) in scene text. Include each affected Shot in full. |
storyboardId * | string |
slates_update_script_document
Several script changes in one revision-checked write: ordered text edits across scenes, formatting, moving a block, making Shots from ranges (makeShots), splitting or merging scenes (sceneAction). For one text replacement in one scene use slates_edit_script. Read the document first. Stale writes are refused without replacing either author’s work. A move carries contained shot anchors; restoreRevision restores an existing text/structure revision. No generation side effect. ensureScene creates an empty scene only if needed.
| Parameter | Type | Description |
|---|---|---|
edits * | array | |
expectedRevision * | integer | |
storyboardId * | string | |
ensureScene | boolean | |
makeShots | array | |
move | object | |
restoreRevision | integer | |
sceneAction | ||
structures | array |
slates_edit_script
One text replacement in one scene (for several edits, formatting or scene changes in one write, use slates_update_script_document): one contiguous replacement — `removed` characters at `at` become `text` (insert: removed 0; delete: text ''). Every Shot's range follows the way comment anchors follow a document: text before a Shot moves it, text after leaves it, an edit inside grows or shrinks it, typing at its end extends it unless the text starts a new line, and deleting all of a Shot's words leaves it with no words and no place on the page. Every affected Shot's `line` changes at once: this…
| Parameter | Type | Description |
|---|---|---|
at * | integer | Character offset the replacement starts at. |
removed * | integer | How many characters to remove there (0 to insert). |
sceneId * | string | |
text * | string | What goes in their place ('' to delete). A blank line (\n\n) separates paragraphs. |
expectedRevision | integer | The document `revision` slates_get_script or slates_get_script_document returned. The edit is refused if the document changed since. |
rev | string | The `rev` slates_get_script (or the previous edit) returned. The edit is refused if the text changed since. |
slates_make_shot_from_script
Turn a selected passage of a scene's script into Shots, as the Script page's popover does; start and end are offsets into slates_get_script's text. The action follows what the selection touches: Make shot when the selection touches no Shot; Split when it lies inside one Shot (the Shot keeps its first piece and its takes, every other piece becomes a new Shot after it); Extend when it crosses one Shot's edge; Merge when it spans several (the first takes the span — unshot text between them included, nothing deleted — the others give up their words: one holding a take (finished or generating),…
| Parameter | Type | Description |
|---|---|---|
end * | integer | |
sceneId * | string | |
start * | integer | |
perParagraph | boolean | Over unshot text spanning several paragraphs: one Shot per paragraph. |
waitingShotId | string | null | A Shot with no words (id or SHOT-A code) that should take the selection. |
slates_break_script_into_shots
"Break the script into shots": a Shot for every piece of text no Shot holds — one per paragraph — across a whole board, or one scene. Shots that already exist keep their words. This is the cut after the script is right; slates_paste_script is the step before it.
| Parameter | Type | Description |
|---|---|---|
sceneId | string | Only this scene. |
storyboardId | string | Every scene of this board. |
slates_split_scene
Open a scene at a heading line: the text from `lineEnd` on moves into a NEW scene directly after this one, with its Shots and their slots; the heading line [lineStart, lineEnd) itself is consumed and `name` becomes the new scene's name. Use slates_paste_script to do this for every SCENE / INT. / EXT. / # line of a pasted script at once.
| Parameter | Type | Description |
|---|---|---|
lineEnd * | integer | Offset just past the heading line (the newline after it is consumed too). |
lineStart * | integer | Offset where the heading line starts. |
sceneId * | string | |
name | string | null | The new scene's name. Omitted = 'Scene N'. |
slates_merge_scene
Join a scene to the one before it (Backspace in an emptied heading): the texts join with a blank line, every Shot keeps its words and its slot appends after the previous scene's. Only the scene row goes — no Shot does. Returns the offset in the joined script where this scene's text now starts.
| Parameter | Type | Description |
|---|---|---|
sceneId * | string |
slates_paste_script
Dump a script in as TEXT, not Shots: the text lands in the scene's script (at its end by default), and lines reading `SCENE …`, `INT.` / `EXT.` / `I/E.` or `# Name` open scenes. No Shot is made — cutting is the writer's act or yours: slates_break_script_into_shots for one per paragraph, or slates_make_shot_from_script per selection. With no sceneId, a new scene at the end of the board takes the text (dropped again if the script opens with its own heading). Prefer this over slates_create_shot per paragraph: see the whole script, get it right, then cut it.
| Parameter | Type | Description |
|---|---|---|
text * | string | The script. Blank lines separate paragraphs. |
at | integer | Offset in the scene's script to paste at. Omitted = the end. |
sceneId | The scene to paste into. Omitted = a new scene at the end. | |
storyboardId | string | The board, when no scene is named. |
slates_list_shots
Read the shot list — every Shot as a compact row in board order (scene, then position), with its place on the board (2C: scene number and slot letter, as the window shows it and the user says it), the piece's cut count, runtime, saved-recipe price and its variety distribution. Read this before firing a set: if one shot size is the plurality or three cuts in a row share a camera move, the batch is wrong before a credit is spent.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
frameId | string | Only Shots attached to this frame. |
storyboardId | string | Only Shots attached to a frame in this board. |
slates_get_shot
Read one Shot in full — the COMPOSED prompt the request will actually carry, its numbered references, anything it points at that no longer exists, its exact credit quote, and its place on the board (2C, as the window shows it). Audit your own work here before firing.
| Parameter | Type | Description |
|---|---|---|
shotId * | string | The Shot id, or its SHOT-A code as shown on the row. |
projectId | string | The Shot's project. A SHOT-A code is unique only within its project, so pass this with a code. |
slates_use_pictures_as_first_frames
The Board's 'Use pictures as first frames': each video Shot that has a picture and no first frame starts its video from that picture (its tile picture, else its newest picture take; a picture that was its only plain Reference moves into the frame slot). Nothing is generated and nothing is charged. Pass shotIds (ids or SHOT-A codes) to act on those Shots; omit them to act on every Shot of the board open in the window, as the command does (open one with slates_set_view first). Returns, per Shot, the picture it set or why it had none.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
shotIds | array | Only these Shots. Omit for every Shot of the board open in the window. |
slates_generate_from_shots
Generate results for saved Shots, spending credits. Call without confirm for the itemized prices the Generate panel shows and a fingerprint; show the user the total and wait for their OK, then pass confirm with that fingerprint. Changed recipes require a fresh price. Runs sequentially; after a timeout inspect generations (slates_list_generations, status processing) instead of re-firing. Pass draft to generate previews instead: one picture for each Shot that has none, kept as a take of that Shot; the Shot's recipe does not change.
| Parameter | Type | Description |
|---|---|---|
shotIds * | array | |
confirm | boolean | Set true only to relay the user's explicit OK of this exact spend. Pass it with the quote's fingerprint. |
draft | object | Generate previews: pass {} to price ONE picture for each Shot in scope that has no picture, instead of each Shot recipe, at the chosen image model’s default settings. Works on a Shot with no model.… |
fingerprint | string | |
projectId | string | The Shots' project. A SHOT-A code is unique only within its project, so pass this with codes. |
slates_get_board_quote
Read the itemized prices the Generate panel shows for a board, scene or shot selection, optionally only missing results. No generation. Uses the desktop composer pricing source and returns a fingerprint for slates_generate_from_shots. Pass draft to price previews (one picture per Shot that has none).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
draft | object | Generate previews: pass {} to price one picture for each Shot in scope with no picture, instead of each Shot recipe. |
missingOnly | boolean | |
sceneId | string | |
shotIds | array | |
storyboardId | string |
slates_get_board_progress
Read per-shot spend from generation history, surviving take counts, running/failed counts and recorded-round progress. Deleted takes do not reduce spend.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
slates_quote_draft_finish
Quote a draft take at its full source duration and check its expiry or existing final.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | Draft video asset ID or badge code. |
projectId * | string | |
resolution * | string |
slates_finish_draft
Finish an approved draft at 1080p or 4K. Quote the full price first. Check a background generation with slates_get_generation_status.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | Draft video asset ID or badge code. |
confirm * | boolean | The user approved this finish at the quoted price. |
maxCredits * | integer | Maximum credits the user approved for the finish. |
projectId * | string | |
resolution * | string |
slates_quote_cut_drafts
Price the distinct draft sources used in a cut. Returns full-source prices, expiry and a quote ID for approval.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
timelineId * | string | |
resolutions | object | Target resolution by draft asset UUID. Defaults to 1080p. |
slates_finish_cut_drafts
Start finishing the approved cut in the background. Each ready final replaces its draft throughout the cut. Check progress with slates_get_cut_draft_status.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | The user approved this finish at the quoted price. |
maxCredits * | integer | Maximum credits the user approved for the finish. |
projectId * | string | |
quoteId * | string | Identifier returned by slates_quote_cut_drafts. |
timelineId * | string |
slates_get_cut_draft_status
Check which sources in an approved cut have been finished, replaced, or kept as drafts.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
quoteId * | string | Identifier returned by slates_quote_cut_drafts. |
timelineId * | string |
slates_edit_cut
Build the timeline from the board's chosen clips (a marker per scene), or keep it in step with the board's favourite takes: read pending preferred-take changes, explicitly replace one clip, sync a board’s preferred clips, or build a cut in board order. Read changes first for the count. Swaps keep timeline starts and source timing when possible; shorter takes are visibly marked. Never changes a shot recipe or poster. Undo swaps with restore and the returned before snapshots; undo a build with undo-build and its clipIds/markerIds.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
projectId * | string | |
assetId | string | |
before | array | Exact before snapshots returned by replace/sync, for restore. |
clipId | string | |
clipIds | array | |
markerIds | array | |
skipPresent | boolean | build: add only Shots this cut does not already hold, so a repeated build appends nothing twice. Default appends the whole board. |
storyboardId | string | |
timelineId | string |
slates_get_prompting_guide
Find production craft from the user vision: pass query alone with the brief (for example "two friends talking in a rainy diner") for keyword-ranked guides with matching sections, followed by every other guide's description so you choose by judgment. Omit topic and query, or use topic "catalog", for the whole catalog. Then request a guide name, model id or style name with card/index/section/full depth. Cards are short; query with a topic selects one section or cinematic technique; full returns worked examples, failure modes and sources. Reuse current guidance already in context. Entitled member…
| Parameter | Type | Description |
|---|---|---|
depth | string | Default card is a short overview; index lists sections; query selects a section; full returns the complete guide. |
limit | integer | Page size for a search (default 8) or a catalog listing (default: the whole catalog); continue with offset from nextOffset. Does not change guide bodies. |
offset | integer | Catalog/search offset from nextOffset in the preceding result. |
query | string | Without topic: creative brief or craft need to discover guides. With topic: section keywords, heading or technique ID. |
topic | string | Optional guide name, model id, style name, catalog, app-manual, or working-method (the full working method and hard rules for an MCP client; the app's Slates Director has its own). Omit to search by i… |
slates_remember
Save a lesson to the user's own brain (My brain, on their machine; it wins over the shared brain on every later job). Call it without asking when they say remember, always or never, or correct the same thing a second time; then tell them in one line what was saved and that "undo" removes it. One lesson per call, in their words. file groups lessons by topic (hooks, captions, profile for who they are and what they make; a shared guide's name adds to that guide for them). To change a rule pass replaces with the old line; to undo or forget pass replaces alone. A refusal names why (a cap, a lesson…
| Parameter | Type | Description |
|---|---|---|
file | string | Their file, lowercase-hyphenated: a topic (hooks), profile, or a shared guide name. Default my-rules. |
lesson | string | One rule or preset in the user's words, for example "cut every hook to its first word". Omit with replaces to remove a line. |
replaces | string | Text of the existing line this lesson replaces; alone, the line to remove. |
source | string | What taught it: "said always", "corrected twice", "kept take IMG-A8". |
slates_load_tools
Find Slates tools by task. query searches names and descriptions. names loads up to five exact schemas; group loads a task group. Each load replaces the previous optional selection. Search alone leaves it in place. Groups: library: folders, favorites, pins, the Library (user-named categories of saved references: characters, locations, products, looks) and styles, templates (list, export, import), exporting original asset files, moving and copying assets and Library items between projects, moving a project into the current projects folder, revealing files on disk; script: rich script documents,…
| Parameter | Type | Description |
|---|---|---|
group | string | |
names | array | Exact operation names to load after discovery. Their permission annotations remain separate. |
query | string | Search for a task such as generate image, create shot, or edit video. |
slates_blender_status
Check whether a Blender running the Slates add-on is reachable, and if so return its scene summary (timing, camera, collection tree). Call this FIRST in any previs workflow — every other Blender op fails with the same setup message when the bridge is down, and knowing the frame range and fps up front is what keeps the blocking and the prompt timings in agreement.
slates_blender_execute
Run Python (`bpy`) inside the connected Blender and return whatever the code assigns to a dict named `result`. This is how blocking gets built: primitives, empties, constraints, camera rigs, keyframes, markers. Anything Blender can do, this can do. Assign a dict to `result` to get data back (e.g. `result = {"camera": cam.name}`); print() output comes back separately as stdout. On an exception you get the full traceback — read it, fix the code, retry. Before writing an unfamiliar call, look up its real signature with slates_blender_docs rather than guessing: the add-on ships the Blender API r…
| Parameter | Type | Description |
|---|---|---|
code * | string | Python source. Assign a JSON-serialisable dict to `result` to return data. |
timeoutSeconds | integer | How long to wait for Blender (default 60). Raise it for heavy geometry. |
slates_blender_scene
Scene summary from the connected Blender: frame range, fps, duration, render resolution, the active camera with its keyframe times in both frames and seconds, and the full collection/object tree with transforms and constraints. Cheap — call it freely between edits. It errors when the bridge is down; slates_blender_status checks without failing. The camera keyframe times ARE the cut structure, so read them before writing any shot-by-shot prompt.
slates_blender_docs
Look up a dotted Blender Python API identifier in the bundled Blender API reference — e.g. "bpy.ops.object", "bpy.types.Camera", "bpy.types.FollowPathConstraint". Pass "*" for top-level modules or "bpy.ops.*" to list a namespace. Use this instead of recalling a signature from memory: invented operator names and wrong enum values are the most common way previs code fails, and they fail silently often enough to be worth the lookup.
| Parameter | Type | Description |
|---|---|---|
identifier * | string | Dotted identifier, or a namespace wildcard like "bpy.ops.*". |
slates_blender_search_docs
Full-text search of the bundled Blender documentation for when you do not know the identifier yet. scope "api" searches the Python reference; "manual" searches the user manual for concepts and workflow ("how does Follow Path work", "bezier interpolation handles"). Use slates_blender_docs when you know the name and this when you do not.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
maxResults | integer | Default 8. |
scope | string | Default "api". |
slates_blender_render_blocking
Render the connected Blender scene camera to a grey-box mp4 — the blocking clip that locks camera motion for generation — and, when projectId is given, import it into that Slates project as a video asset in the same call. The returned asset id goes into slates_generate_video's videoReferenceAssetIds and the returned durationSeconds into videoReferenceSecondsEach. Renders through the SCENE camera using scene render settings, never the user's viewport, so output does not depend on where they left their mouse. Untextured is correct: the clip supplies camera path and timing, the references sup…
| Parameter | Type | Description |
|---|---|---|
basename | string | Filename stem: letters, digits, _ and -. Default "blocking". |
fps | integer | Default 24. Match what the shot list assumes. |
frameEnd | integer | Default: the scene's own frame_end. |
frameStart | integer | Default: the scene's own frame_start. |
projectId | string | Import the clip into this project and return its asset. Omit to just get a file path. |
resolutionX | integer | Default 1920. |
resolutionY | integer | Default 1080. |