Slice is an MCP server published by com.tryslicemedia, hosted at mcp.tryslicemedia.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 22 tools, including start_episode, get_episode, make_clips, get_job, restyle_clip.
Turn long podcast episodes, video or audio, into captioned vertical clips and transcripts.
1 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Use this when the user wants a podcast, interview, stream or other video turned into short clips. An audio-only episode (MP3, M4A, WAV, OGG or FLAC) works too: its clips come out as captioned vertical videos drawn with an audio template. With a video or audio file attached in the chat, pass it as file: it is copied into Slice, transcribed, and searched for the moments worth posting, with no further steps. With no file, it returns an upload_url for the user to open and drop the file in (up to three hours and 4.5GB). Follow with get_episode. If the user shared a video without saying what they want, ASK FIRST: "Find the best clips in it, or edit the whole video as one piece?". For the whole video pass purpose "whole": Slice only transcribes it (no clip search, no clips email), then make_clips with one stretch from 0 to its full length makes it one clip (10 minutes at most; a longer video must be split into parts or turned into clips). Do not use when the user only wants the words as text (use transcribe_audio), and do not use for links to YouTube or other web pages; those are not supported.
| Parameter | Type | Description |
|---|---|---|
| file | object | A video or audio file the user attached in the conversation. |
| name | string | What to call the episode. Defaults to the file name. |
| purpose | string | "clips" (default): Slice finds the best clips. "whole": edit the whole video as one piece, with no clip search; ask the user first when they have not said. |
| content_type | string | What kind of video it is, which decides how clips are found: podcast (a podcast or interview), stream (a livestream or gaming video) or other (a vlog, challenge, talk or story). Pass it when the user's video is clearly one of these. Otherwise leave it out and Slice will guess. |
| target_seconds | integer | Optional. How long each clip should be, in seconds (15 to 180), when the user asks for a length, e.g. "30 second clips". Every clip found then plays for at most this long and at most 10% less (at least 3 seconds less), cut at clean sentence or pause boundaries; fewer clips come back if few moments f… |
{
"name": "start_episode",
"title": "Start an episode",
"description": "Use this when the user wants a podcast, interview, stream or other video turned into short clips. An audio-only episode (MP3, M4A, WAV, OGG or FLAC) works too: its clips come out as captioned vertical videos drawn with an audio template. With a video or audio file attached in the chat, pass it as file: it is copied into Slice, transcribed, and searched for the moments worth posting, with no further steps. With no file, it returns an upload_url for the user to open and drop the file in (up to three hours and 4.5GB). Follow with get_episode. If the user shared a video without saying what they want, ASK FIRST: \"Find the best clips in it, or edit the whole video as one piece?\". For the whole video pass purpose \"whole\": Slice only transcribes it (no clip search, no clips email), then make_clips with one stretch from 0 to its full length makes it one clip (10 minutes at most; a longer video must be split into parts or turned into clips). Do not use when the user only wants the words as text (use transcribe_audio), and do not use for links to YouTube or other web pages; those are not supported.",
"inputSchema": {
"type": "object",
"properties": {
"file": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string"
}
},
"description": "A video or audio file the user attached in the conversation.",
"additionalProperties": false
},
"name": {
"type": "string",
"description": "What to call the episode. Defaults to the file name."
},
"purpose": {
"enum": [
"clips",
"whole"
],
"type": "string",
"description": "\"clips\" (default): Slice finds the best clips. \"whole\": edit the whole video as one piece, with no clip search; ask the user first when they have not said."
},
"content_type": {
"enum": [
"podcast",
"stream",
"other"
],
"type": "string",
"description": "What kind of video it is, which decides how clips are found: podcast (a podcast or interview), stream (a livestream or gaming video) or other (a vlog, challenge, talk or story). Pass it when the user's video is clearly one of these. Otherwise leave it out and Slice will guess."
},
"target_seconds": {
"type": "integer",
"maximum": 180,
"minimum": 15,
"description": "Optional. How long each clip should be, in seconds (15 to 180), when the user asks for a length, e.g. \"30 second clips\". Every clip found then plays for at most this long and at most 10% less (at least 3 seconds less), cut at clean sentence or pause boundaries; fewer clips come back if few moments fit. Leave it out for clips of any length (30 to 150 seconds). Works with or without a focus."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"episode_id",
"status",
"message"
],
"properties": {
"name": {
"type": "string"
},
"status": {
"enum": [
"waiting_for_upload",
"uploading",
"transcribing",
"finding_clips",
"ready",
"failed"
],
"type": "string"
},
"message": {
"type": "string"
},
"episode_id": {
"type": "string"
},
"upload_url": {
"type": "string",
"description": "Open this to upload the video or audio file. Works for two hours."
}
}
},
"annotations": {
"title": "Start an episode",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user asks how an episode is going, whether it is ready, or what clips were found. Returns one status for the whole pipeline (waiting_for_upload, uploading, transcribing, finding_clips, ready or failed) and, once ready, the found clips with number, ref, title, opening line, length and whether each has been cut and captioned. With no episode_id it lists recent episodes. Read the live answer from here rather than guessing how long things take. Do not use for transcripts made with transcribe_audio.
| Parameter | Type | Description |
|---|---|---|
| episode_id | string | From start_episode, or from this tool with no id. |
{
"name": "get_episode",
"title": "Get an episode",
"description": "Use this when the user asks how an episode is going, whether it is ready, or what clips were found. Returns one status for the whole pipeline (waiting_for_upload, uploading, transcribing, finding_clips, ready or failed) and, once ready, the found clips with number, ref, title, opening line, length and whether each has been cut and captioned. With no episode_id it lists recent episodes. Read the live answer from here rather than guessing how long things take. Do not use for transcripts made with transcribe_audio.",
"inputSchema": {
"type": "object",
"properties": {
"episode_id": {
"type": "string",
"description": "From start_episode, or from this tool with no id."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"message"
],
"properties": {
"name": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"number",
"ref",
"title",
"length",
"cut_status"
],
"properties": {
"end": {
"type": "string",
"description": "Where it ends in the episode, mm:ss."
},
"ref": {
"type": "string",
"description": "Stable reference for this found clip, e.g. a3f9. Pass to make_clips."
},
"hook": {
"type": "string",
"description": "The opening line, as said."
},
"about": {
"type": "string",
"description": "For a clip found by find_clips_about: the focus it was found for."
},
"start": {
"type": "string",
"description": "Where it starts in the episode, mm:ss."
},
"title": {
"type": "string"
},
"job_id": {
"type": "string",
"description": "The latest cut or render job for this clip. Pass to get_job."
},
"length": {
"type": "string",
"description": "Length of the finished clip, mm:ss."
},
"number": {
"type": "integer",
"description": "Position in this list. Pass to make_clips."
},
"pieces": {
"type": "integer",
"description": "How many passages are joined to make it."
},
"reason": {
"type": "string",
"description": "For a clip found by find_clips_about: how it fits the focus."
},
"clip_id": {
"type": "string",
"description": "The cut clip. Pass to get_job or restyle_clip."
},
"cut_status": {
"enum": [
"not_cut",
"cutting",
"cut",
"failed"
],
"type": "string"
},
"poster_url": {
"type": "string",
"description": "A still from the cut clip."
},
"download_url": {
"type": "string",
"description": "The latest captioned file, when there is one."
},
"export_status": {
"enum": [
"none",
"rendering",
"completed",
"failed"
],
"type": "string"
}
}
}
},
"status": {
"enum": [
"waiting_for_upload",
"uploading",
"transcribing",
"finding_clips",
"ready",
"failed"
],
"type": "string"
},
"message": {
"type": "string"
},
"duration": {
"type": "string",
"description": "Episode length, mm:ss."
},
"episodes": {
"type": "array",
"items": {
"type": "object",
"required": [
"episode_id",
"name",
"status"
],
"properties": {
"name": {
"type": "string"
},
"status": {
"enum": [
"waiting_for_upload",
"uploading",
"transcribing",
"finding_clips",
"ready",
"failed"
],
"type": "string"
},
"created": {
"type": "string"
},
"episode_id": {
"type": "string"
},
"clips_found": {
"type": "integer"
}
}
}
},
"episode_id": {
"type": "string"
},
"upload_url": {
"type": "string"
},
"progress_percent": {
"type": "number"
}
}
},
"annotations": {
"title": "Get an episode",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user picks found clips to make. Cuts each one from the episode and renders it with captions burned in, in one step. Pass the numbers or refs get_episode listed (refs in brackets are fine), or any stretch of the episode as {"start_seconds", "end_seconds", "title"}. Optional style, caption_size, position, hook_title, fit and background apply to these clips. aspect is the shape: 9:16 (Shorts, Reels, TikTok), 4:5 (feeds), 1:1, 16:9 (YouTube) or source. Ask the person which shape before calling; with no aspect the clips are 9:16. Returns a job per clip; follow with get_job for the files. Do not use before get_episode reports the episode ready, and do not use to change a clip that is already made (use restyle_clip).
| Parameter | Type | Description |
|---|---|---|
| fit | string | How the picture sits in the frame. "fill" (the default) crops it to fill the frame. "whole" shows the whole video, nothing cropped, with space around it; use when the user does not want a wide video cropped. |
| clips * | array | Numbers or refs from get_episode, e.g. [2, 5] or ["a3f9"], or stretches {"start_seconds": 312, "end_seconds": 371, "title": "..."} on the episode. Up to 10. |
| style | string | A caption style id or name from list_styles, e.g. bold-punch. |
| aspect | string | The clip's shape. Ask the person first; 9:16 when left out. |
| position | string | Where the captions sit. "up" and "down" move them from where they are now. |
| background | string | What fills the space around a whole video: "black", or "blur" for a blurred copy of the video. Only matters with fit "whole". |
| episode_id |
Use this when the user wants to know whether a clip is cut or rendered, or wants the finished file. Pass the job_id from make_clips or restyle_clip, or a clip_id for that clip's latest render. Returns the status, progress, a still from the clip and, when finished, a short download link. Pass wait: true to hold on up to about 40 seconds for it to finish. Do not use for transcribe_audio jobs.
| Parameter | Type | Description |
|---|---|---|
| wait | boolean | Wait briefly for it to finish instead of reporting now. |
| job_id | string | From make_clips or restyle_clip. |
| clip_id | string | A cut clip, for its latest render. |
{
"name": "get_job",
"title": "Get a clip job",
"description": "Use this when the user wants to know whether a clip is cut or rendered, or wants the finished file. Pass the job_id from make_clips or restyle_clip, or a clip_id for that clip's latest render. Returns the status, progress, a still from the clip and, when finished, a short download link. Pass wait: true to hold on up to about 40 seconds for it to finish. Do not use for transcribe_audio jobs.",
"inputSchema": {
"type": "object",
"properties": {
"wait": {
"type": "boolean",
"description": "Wait briefly for it to finish instead of reporting now."
},
"job_id": {
"type": "string",
"description": "From make_clips or restyle_clip."
},
"clip_id": {
"type": "string",
"description": "A cut clip, for its latest render."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"message"
],
"properties": {
"kind": {
"enum": [
"cut",
"render"
],
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"clip_id",
"title"
],
"properties": {
"title": {
"type": "string"
},
"clip_id": {
"type": "string"
},
"poster_url": {
"type": "string"
},
"download_url": {
"type": "string"
},
"render_job_id": {
"type": "string"
},
"render_status": {
"type": "string"
},
"progress_percent": {
"type": "number"
}
}
},
"description": "For a cut: the clips it made, and the render that follows each."
},
"stage": {
"type": "string",
"description": "The step the job is on, as the worker reports it."
},
"title": {
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"enum": [
"queued",
"cutting",
"rendering",
"completed",
"failed",
"expired",
"not_rendered"
],
"type": "string"
},
"clip_id": {
"type": "string"
},
"message": {
"type": "string"
},
"poster_url": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "A short link that downloads the MP4. Good for 7 days."
},
"file_size_mb": {
"type": "number"
},
"progress_percent": {
"type": "number"
}
}
},
"annotations": {
"title": "Get a clip job",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user wants a made clip changed and rendered again: a different caption style, bigger or smaller captions, captions moved up or down, the hook title turned on, off or reworded, or the whole video shown instead of cropped (fit, background). The change is saved on the clip and a new render starts; follow with get_job. When the user wants the look kept for future clips, pass save_as_default (new clips then start from it). Do not use for clips that have not been made yet (use make_clips). When the person is watching in Slice and you are fixing a clip step by step, prefer the tools that change the saved clip without a render (cut_words, set_hook_title, edit_captions, set_trim, set_caption_style, set_frame) and export once at the end: export true with nothing else makes the video from the clip exactly as it stands.
| Parameter | Type | Description |
|---|---|---|
| fit | string | How the picture sits in the frame. "fill" (the default) crops it to fill the frame. "whole" shows the whole video, nothing cropped, with space around it; use when the user does not want a wide video cropped. |
| style | string | A caption style id or name from list_styles, e.g. bold-punch. |
| export | boolean | True with nothing else to change: make the video from the clip as it stands now (after edits with the no-render tools). |
| clip_id * | string | The clip_id from get_episode or get_job (or the job_id of its render). With episode_id, the clip's number or ref also works. |
| position | string | Where the captions sit. "up" and "down" move them from where they are now. |
| background | string | What fills the space around a whole video: "black", or "blur" for a blurred copy of the video. Only matters with fit "whole". |
Use this when the user wants to know which caption looks they can choose from. Returns each style's id, name, a one-line description and a link to a preview picture. Pass styles to look up particular ones. Do not use to change a clip (use restyle_clip or make_clips).
| Parameter | Type | Description |
|---|---|---|
| styles | array | Ids or names to look up. Default all. |
{
"name": "list_styles",
"title": "List caption styles",
"description": "Use this when the user wants to know which caption looks they can choose from. Returns each style's id, name, a one-line description and a link to a preview picture. Pass styles to look up particular ones. Do not use to change a clip (use restyle_clip or make_clips).",
"inputSchema": {
"type": "object",
"properties": {
"styles": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ids or names to look up. Default all."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"styles"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"styles": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"description"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"preview_url": {
"type": "string"
}
}
}
}
}
},
"annotations": {
"title": "List caption styles",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user wants clips from an episode on a particular topic or for a particular audience, e.g. "clips about creativity for artists" or "moments for young entrepreneurs". Searches the episode again for moments that fit the focus, skipping clips already found, and adds what it finds to the episode's clips. It may find fewer than usual, or none, when little in the episode fits; say so plainly. Returns each new clip's number, ref, title and why it fits. Takes about a minute; if it is still searching, call it again with the same focus to wait for the result. Do not use before get_episode reports the episode ready.
| Parameter | Type | Description |
|---|---|---|
| focus | string | What to look for, in the user's words: a topic or an audience. Optional when target_seconds is given. |
| episode_id * | string | The episode to search. |
| target_seconds | integer | Optional. How long each clip should be, in seconds (15 to 180), when the user asks for a length, e.g. "30 second clips". Every clip found then plays for at most this long and at most 10% less (at least 3 seconds less), cut at clean sentence or pause boundaries; fewer clips come back if few moments f… |
{
"name": "find_clips_about",
"title": "Find clips about a topic",
"description": "Use this when the user wants clips from an episode on a particular topic or for a particular audience, e.g. \"clips about creativity for artists\" or \"moments for young entrepreneurs\". Searches the episode again for moments that fit the focus, skipping clips already found, and adds what it finds to the episode's clips. It may find fewer than usual, or none, when little in the episode fits; say so plainly. Returns each new clip's number, ref, title and why it fits. Takes about a minute; if it is still searching, call it again with the same focus to wait for the result. Do not use before get_episode reports the episode ready.",
"inputSchema": {
"type": "object",
"required": [
"episode_id"
],
"properties": {
"focus": {
"type": "string",
"maxLength": 200,
"description": "What to look for, in the user's words: a topic or an audience. Optional when target_seconds is given."
},
"episode_id": {
"type": "string",
"description": "The episode to search."
},
"target_seconds": {
"type": "integer",
"maximum": 180,
"minimum": 15,
"description": "Optional. How long each clip should be, in seconds (15 to 180), when the user asks for a length, e.g. \"30 second clips\". Every clip found then plays for at most this long and at most 10% less (at least 3 seconds less), cut at clean sentence or pause boundaries; fewer clips come back if few moments fit. Leave it out for clips of any length (30 to 150 seconds). Works with or without a focus."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"episode_id",
"status",
"message"
],
"properties": {
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"number",
"ref",
"title",
"reason"
],
"properties": {
"end": {
"type": "string"
},
"ref": {
"type": "string",
"description": "Pass to make_clips."
},
"start": {
"type": "string"
},
"title": {
"type": "string"
},
"length": {
"type": "string"
},
"number": {
"type": "integer",
"description": "Position in the list get_episode shows. Pass to make_clips."
},
"reason": {
"type": "string",
"description": "How this clip fits the focus."
}
}
}
},
"focus": {
"type": "string"
},
"found": {
"type": "integer",
"description": "How many new clips fit the focus."
},
"status": {
"enum": [
"done",
"searching"
],
"type": "string"
},
"message": {
"type": "string"
},
"episode_id": {
"type": "string"
},
"target_seconds": {
"type": [
"integer",
"null"
],
"description": "The clip length searched for; null for any length."
}
}
},
"annotations": {
"title": "Find clips about a topic",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when someone gives a Slice style ref (like "sref-V4RYN2"), names a style from tryslicemedia.com/styles, or pastes a prompt that says to call get_visual_style. Returns the style's look and feel: palette, materials, motion and type rules, what it suits, how to use it in a clip, and the STORY FIRST rules. A style is a moodboard, never a template: keep its look and invent your own scenes for the clip. Accepts the code or the style's slug.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The style ref ("sref-V4RYN2") or the style's slug ("torn-newsprint"). |
{
"name": "get_visual_style",
"title": "Get a visual style",
"description": "Use this when someone gives a Slice style ref (like \"sref-V4RYN2\"), names a style from tryslicemedia.com/styles, or pastes a prompt that says to call get_visual_style. Returns the style's look and feel: palette, materials, motion and type rules, what it suits, how to use it in a clip, and the STORY FIRST rules. A style is a moodboard, never a template: keep its look and invent your own scenes for the clip. Accepts the code or the style's slug.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The style ref (\"sref-V4RYN2\") or the style's slug (\"torn-newsprint\")."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"message"
],
"properties": {
"style": {
"type": "object",
"description": "The full style record."
},
"message": {
"type": "string"
}
}
},
"annotations": {
"title": "Get a visual style",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the person asks to see Slice's style library, and only then. When someone wants visuals or animation and has no style, design your own looks for the clip first (owner, 1 November 2026: the library is being reworked); never list library styles in the chat unasked. With a library request: Pass the words as text, or a clip_id, job_id or episode_id from Slice to use its transcript. Returns a few ranked styles from the Slice library with a short reason each, plus the whole catalogue so you can choose with your own judgement. Show the person 3 to 5 options with the reasons and let them choose. They can mix styles or use none: there is no need to use a Slice style at all.
| Parameter | Type | Description |
|---|---|---|
| text | string | A transcript, a script or a description of the clip, up to 20,000 characters. |
| count | integer | How many suggestions, 1 to 12. Default 5. |
| aspect | string | The frame shape, if known. Every style works in every shape; this only breaks ties. |
| job_id | string | Instead of text: the job_id of a clip being made or rendered, to use its words. |
| clip_id | string | Instead of text: a Slice clip's clip_id, to use its words. |
| episode_id | string | Instead of text: a Slice episode_id, to use the episode's words. |
Use this when you are about to fix a made clip, first: returns every word with its index, text and times on the clip (seconds), whether it is a filler ("um"), whether a long pause follows it, and whether it is already cut; plus the hook title, the caption look, the trim, the frame (shape, layout, crop, moves, split, speaker follow, logo, end frame), a one-line summary ("14 ums, 3 pauses over 0.6 s") and any notes the person sent you from Slice. Changes nothing.
| Parameter | Type | Description |
|---|---|---|
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
{
"name": "get_clip_edit",
"title": "Read a clip for editing",
"description": "Use this when you are about to fix a made clip, first: returns every word with its index, text and times on the clip (seconds), whether it is a filler (\"um\"), whether a long pause follows it, and whether it is already cut; plus the hook title, the caption look, the trim, the frame (shape, layout, crop, moves, split, speaker follow, logo, end frame), a one-line summary (\"14 ums, 3 pauses over 0.6 s\") and any notes the person sent you from Slice. Changes nothing.",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read a clip for editing",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the person wants to remove words, every filler, or long pauses from a made clip, the way the Slice editor's clean-up does: the sound and the captions both, with breathing room kept so it never sounds choppy. Pass words as a list of indexes from get_clip_edit, or {"fillers": true}, or {"pauses_over_seconds": 0.8}. restore: true puts those cuts back. Saves the clip only, no render: the person sees it in Slice at once and can undo. Export once at the end.
| Parameter | Type | Description |
|---|---|---|
| words * | any | Word indexes from get_clip_edit, or {"fillers": true}, or {"pauses_over_seconds": n}. |
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
| restore | boolean | Put these cuts back instead. |
{
"name": "cut_words",
"title": "Cut words or pauses from a clip",
"description": "Use this when the person wants to remove words, every filler, or long pauses from a made clip, the way the Slice editor's clean-up does: the sound and the captions both, with breathing room kept so it never sounds choppy. Pass words as a list of indexes from get_clip_edit, or {\"fillers\": true}, or {\"pauses_over_seconds\": 0.8}. restore: true puts those cuts back. Saves the clip only, no render: the person sees it in Slice at once and can undo. Export once at the end.",
"inputSchema": {
"type": "object",
"required": [
"clip_id",
"words"
],
"properties": {
"words": {
"oneOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "object",
"properties": {
"fillers": {
"type": "boolean"
},
"pauses_over_seconds": {
"type": "number"
}
}
}
],
"description": "Word indexes from get_clip_edit, or {\"fillers\": true}, or {\"pauses_over_seconds\": n}."
},
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
},
"restore": {
"type": "boolean",
"description": "Put these cuts back instead."
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Cut words or pauses from a clip",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the person wants to reword, turn on or off, or restyle the title card at the top of a made clip. style is a box such as "white box", "black box" or "lime word" (or a title template id). Saves the clip only, no render.
| Parameter | Type | Description |
|---|---|---|
| on | boolean | |
| text | string | The words to show (up to 140 characters). |
| style | string | |
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
{
"name": "set_hook_title",
"title": "Set a clip's hook title",
"description": "Use this when the person wants to reword, turn on or off, or restyle the title card at the top of a made clip. style is a box such as \"white box\", \"black box\" or \"lime word\" (or a title template id). Saves the clip only, no render.",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"on": {
"type": "boolean"
},
"text": {
"type": "string",
"description": "The words to show (up to 140 characters)."
},
"style": {
"type": "string"
},
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Set a clip's hook title",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the person wants to change captions on a made clip, applied in order. Word indexes and seconds come from get_clip_edit. set_text {word, text} fixes a word; split {word} starts a new caption at it; join {word} joins its caption to the one before; line_break {word} breaks the line before it inside the caption; insert {at_seconds, text, duration_seconds?, lane?} adds a caption where none was heard; delete {word} removes the caption that word is in (the sound stays) and restore {word} brings it back; hide / show {from_word, to_word} over a stretch; retime {word, start_seconds?, end_seconds?} moves a caption's edges; shift {word, by_seconds} slides it; set_lane {word, lane: 1 or 2} puts it on the first or second line of captions; place {word, x?, y?} puts that caption at a spot (fractions of the frame, null puts it back in line); move {direction: up or down} moves all captions; words_per_caption {n: 1 to 7}; split_by_speaker puts the second voice on lane 2. Saves the clip only, no render.
| Parameter | Type | Description |
|---|---|---|
| ops * | array | |
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
{
"name": "edit_captions",
"title": "Fix a clip's captions",
"description": "Use this when the person wants to change captions on a made clip, applied in order. Word indexes and seconds come from get_clip_edit. set_text {word, text} fixes a word; split {word} starts a new caption at it; join {word} joins its caption to the one before; line_break {word} breaks the line before it inside the caption; insert {at_seconds, text, duration_seconds?, lane?} adds a caption where none was heard; delete {word} removes the caption that word is in (the sound stays) and restore {word} brings it back; hide / show {from_word, to_word} over a stretch; retime {word, start_seconds?, end_seconds?} moves a caption's edges; shift {word, by_seconds} slides it; set_lane {word, lane: 1 or 2} puts it on the first or second line of captions; place {word, x?, y?} puts that caption at a spot (fractions of the frame, null puts it back in line); move {direction: up or down} moves all captions; words_per_caption {n: 1 to 7}; split_by_speaker puts the second voice on lane 2. Saves the clip only, no render.",
"inputSchema": {
"type": "object",
"required": [
"clip_id",
"ops"
],
"properties": {
"ops": {
"type": "array",
"items": {
"type": "object",
"required": [
"op"
],
"properties": {
"n": {
"type": "integer"
},
"x": {
"type": [
"number",
"null"
]
},
"y": {
"type": [
"number",
"null"
]
},
"op": {
"enum": [
"set_text",
"split",
"join",
"line_break",
"insert",
"delete",
"restore",
"hide",
"show",
"retime",
"shift",
"set_lane",
"place",
"move",
"words_per_caption",
"split_by_speaker"
],
"type": "string"
},
"lane": {
"enum": [
1,
2
],
"type": "integer"
},
"text": {
"type": "string"
},
"word": {
"type": "integer"
},
"to_word": {
"type": "integer"
},
"direction": {
"enum": [
"up",
"down"
],
"type": "string"
},
"from_word": {
"type": "integer"
},
"at_seconds": {
"type": "number"
},
"by_seconds": {
"type": "number"
},
"end_seconds": {
"type": "number"
},
"start_seconds": {
"type": "number"
},
"duration_seconds": {
"type": "number"
}
}
}
},
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Fix a clip's captions",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the person wants to change where a made clip starts or ends, or to cut out any stretch in the middle, in seconds on the clip (get_clip_edit gives the word times). remove [{start_seconds, end_seconds}] cuts stretches (sound, picture and their captions); restore [...] puts cut stretches back. Edges move to the nearest gap between words. A clip keeps at least 3 seconds. Saves the clip only, no render.
| Parameter | Type | Description |
|---|---|---|
| remove | array | |
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
| restore | array | |
| end_seconds | number | |
| start_seconds | number |
{
"name": "set_trim",
"title": "Trim a clip",
"description": "Use this when the person wants to change where a made clip starts or ends, or to cut out any stretch in the middle, in seconds on the clip (get_clip_edit gives the word times). remove [{start_seconds, end_seconds}] cuts stretches (sound, picture and their captions); restore [...] puts cut stretches back. Edges move to the nearest gap between words. A clip keeps at least 3 seconds. Saves the clip only, no render.",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"remove": {
"type": "array",
"items": {
"type": "object",
"required": [
"start_seconds",
"end_seconds"
],
"properties": {
"end_seconds": {
"type": "number"
},
"start_seconds": {
"type": "number"
}
}
}
},
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
},
"restore": {
"type": "array",
"items": {
"type": "object",
"required": [
"start_seconds",
"end_seconds"
],
"properties": {
"end_seconds": {
"type": "number"
},
"start_seconds": {
"type": "number"
}
}
}
},
"end_seconds": {
"type": "number"
},
"start_seconds": {
"type": "number"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Trim a clip",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the person wants to change a made clip's captions, anything a person can change by hand, without a render: style (list_styles names), size (smaller, bigger, small, medium, large, extra_large), position (up, down, top, middle, lower, bottom) or an exact height (caption_y, e.g. to keep them clear of a scene's drawing), colour, highlight colour, font, case, outline, shadow, words per line, captions off, and stretches with no captions (hide: where a scene already writes the words on screen, so they are not shown twice); also weight, italic, size_fraction, appearance (how words appear: word by word, karaoke, typewriter...), card (a box behind the words), letter, word and line spacing, effect (glow, gradient, echo, depth, knockout), highlight_block and highlight_size for the highlighted word, blur in and out, arrangement (a stacked layout), colour_by_speaker and reset. scope {from_word, to_word} gives just those captions their own look; words [{word, color, size, weight, font, italic, case, highlight, big}] styles single words. list_styles kinds font, appearance, effect and arrangement list the choices. A clip with scenes from you follows the change. Use restyle_clip only when the person wants a new video made straight away.
| Parameter | Type | Description |
|---|---|---|
| blur | any | Words blur in and out: false, true, or { "in", "out", "strength": "soft" | "full" }. |
| card | any | A box behind the words: false, true, or { "color", "opacity" 0-1, "padding" 0-1.5, "radius" 0-1.5 }. |
| case | string | one of ["upper","as_said"] |
| font | string | One of Slice's caption fonts: Inter, Montserrat, Poppins, Sora, TeX Gyre Heros, DM Sans, IBM Plex Mono, JetBrains Mono, Courier Prime, Anton, Bebas Neue, Oswald, Nunito, DM Serif Display, Instrument Serif, Cormorant Garamond, Lora, Libre Baskerville, Merriweather, Playfair Display, Space Mono, Pacif… |
| hide | array |
Use this when the person wants to change how a made clip's picture is framed, anything the Slice editor's Frame tab and Layouts do, with no render. aspect: 9:16, 4:5, 1:1, 16:9, 3:4, source (ask the person which shape first). layout: follow-speaker, follow-both, two-people, face-on-top, face-corner, speaker-slides, fill, whole-blur, whole-black (list_styles kind "layout" says what each is; split screens are 9:16 only). fit (fill or whole) and background (black or blur); crop {scale 1-5, x, y} moves and zooms the picture; frame_on {x, y?, scale?} frames ONE person of a wide shot (x: where their face is across the whole picture, 0 left to 1 right; look at a frame first): a fixed crop that never moves to whoever is talking, so use it, not follow, when the person names who to show. The storyboard (scenes, splits, boxes) uses the clip's frame too. moves [{at_seconds, scale, x, y}] reframe part-way through ([] removes them); split {share, swap, border, corner_size} adjusts a split screen; follow speaker, both or off (Slice finds who is talking, as the editor's Follow the speaker does); logo "brand", false or {path, x, y, width, opacity}; end_frame "brand", false or {path, kind, duration_seconds}. Saves the clip only: the person sees it in Slice and can undo.
| Parameter | Type | Description |
|---|---|---|
| fit | string | one of ["fill","whole"] |
| crop | object | scale 1 fills the frame, up to 5; x and y -1 to 1 move the picture (0 is centred). |
| logo | any | "brand" (the account's logo), false (none), or { "path" (a file in this account), "x", "y" (0-1, its centre), "width" (0.04-0.6), "opacity" (0-1) }. |
| moves | array | Camera moves: from at_seconds on, the picture is framed like this. Replaces the clip's moves. |
| split | object | |
| aspect |
Use this when the person wants to take back changes you (the person's AI) made to a clip with the edit tools, newest first, the same as Undo in the Slice editor. A storyboard moment taken off the clip (in the editor or by you) is undone here too: it comes back as it was (edit_id "moment:<id>" from list true). With no edit_id or count it undoes the newest change; count undoes the newest n (up to 10); edit_id undoes back to and including that change. list true only lists the recent changes with their ids. Saves the clip only, no render.
| Parameter | Type | Description |
|---|---|---|
| list | boolean | |
| count | integer | |
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
| edit_id | string |
{
"name": "undo_edit",
"title": "Undo your changes to a clip",
"description": "Use this when the person wants to take back changes you (the person's AI) made to a clip with the edit tools, newest first, the same as Undo in the Slice editor. A storyboard moment taken off the clip (in the editor or by you) is undone here too: it comes back as it was (edit_id \"moment:<id>\" from list true). With no edit_id or count it undoes the newest change; count undoes the newest n (up to 10); edit_id undoes back to and including that change. list true only lists the recent changes with their ids. Saves the clip only, no render.",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"list": {
"type": "boolean"
},
"count": {
"type": "integer",
"maximum": 10,
"minimum": 1
},
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
},
"edit_id": {
"type": "string"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Undo your changes to a clip",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the person likes a look and wants to keep it, or wants their saved look on clips. The same saved templates as the Slice editor's Saved styles. kind: style (the caption look with logo, framing, stacking and caption rules; "setup" also keeps the clip's shape, layout, hook title look and B-roll look), title (a hook title style), audio_brand (the brand template every new audio episode opens in), layout (the starting layout for whole videos), broll_look (a saved Un-Stock look for B-roll) and visual_cut (a storyboard's saved style). save: from_clip (its current look) or settings (style: the set_caption_style fields, e.g. {"style":"bold-punch","color":"#ffffff","font":"Anton"}; title: {"template","colour","mark_colour","font_scale","align"}; broll_look: Un-Stock {"preset"?, "settings"}), with a name. list: every template with its id, kind and which is the default. get: one in full. apply: id to clip_id, clip_ids or an episode_id's clips: no render, one undoable change per clip (undo_edit). new_uploads true makes it the default for new uploads; only when the person asks for that. rename: id and name. delete: call once to get a confirm token and a question; ask the person, then call again with confirm.
| Parameter | Type | Description |
|---|---|---|
| id | string | A template id as list gives it (e.g. "style:<uuid>", "title:<id>", "audio_brand"). |
| kind | string | For save and list. Not needed with an id from list. |
| name | string | Up to 60 characters (save, rename). |
| action * | string | one of ["save","list","get","apply","rename","delete"] |
| clip_id | string | |
| confirm | string |
Use this when the user asks what a clip says, what is on screen at a particular moment, which caption contains a word or a typo, or who said something. It is also the only way to get a caption's id, so read it first whenever a later step needs to name one caption. Narrow with at_seconds, a from/to range, or contains. Do not use for a transcript made with transcribe_audio, or to find clips (use get_episode).
| Parameter | Type | Description |
|---|---|---|
| limit | number | Up to 200. Default 40. |
| clip_id * | string | A made clip's clip_id, from get_episode or get_job. |
| contains | string | Only captions containing this text. Case-insensitive. |
| at_seconds | number | Only the caption(s) on screen at this moment, in seconds. |
| to_seconds | number | End of a time range, in seconds. |
| from_seconds | number | Start of a time range, in seconds. |
| include_removed | boolean | Include captions the editor has removed. They are not in the video. Default false. |
{
"name": "read_captions",
"title": "Read captions on a clip",
"description": "Use this when the user asks what a clip says, what is on screen at a particular moment, which caption contains a word or a typo, or who said something. It is also the only way to get a caption's id, so read it first whenever a later step needs to name one caption. Narrow with at_seconds, a from/to range, or contains. Do not use for a transcript made with transcribe_audio, or to find clips (use get_episode).",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"limit": {
"type": "number",
"description": "Up to 200. Default 40."
},
"clip_id": {
"type": "string",
"description": "A made clip's clip_id, from get_episode or get_job."
},
"contains": {
"type": "string",
"description": "Only captions containing this text. Case-insensitive."
},
"at_seconds": {
"type": "number",
"description": "Only the caption(s) on screen at this moment, in seconds."
},
"to_seconds": {
"type": "number",
"description": "End of a time range, in seconds."
},
"from_seconds": {
"type": "number",
"description": "Start of a time range, in seconds."
},
"include_removed": {
"type": "boolean",
"description": "Include captions the editor has removed. They are not in the video. Default false."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"clip_id",
"captions",
"message"
],
"properties": {
"name": {
"type": "string"
},
"total": {
"type": "integer",
"description": "Captions matching, before the limit."
},
"clip_id": {
"type": "string"
},
"message": {
"type": "string"
},
"captions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"start_seconds",
"end_seconds",
"text"
],
"properties": {
"id": {
"type": "string"
},
"line": {
"type": "integer"
},
"text": {
"type": "string"
},
"removed": {
"type": "boolean"
},
"speaker": {
"type": "string"
},
"end_seconds": {
"type": "number"
},
"start_seconds": {
"type": "number"
}
}
}
}
}
},
"annotations": {
"title": "Read captions on a clip",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user wants the words: speech in an audio or video file turned into text, from a podcast, interview, lecture, meeting or voice note. Accepts a file the user attached (file) or a direct https link to a media file such as .mp3, .m4a, .wav or .mp4 (url). Returns the transcript with speaker turns, plus a page with the full text and .txt, .srt and .vtt downloads. Short files finish in this call; longer ones return status "processing" and a transcription_id for transcription_status. Up to 1 hour per file. The first transcript needs no account; after that it asks for a Slice sign-in, and a signed-in person gets 2 transcripts a month, shared with the Slice website. Do not use when the user wants short video clips made from a video (start_episode does that), for YouTube, Spotify, Apple Podcasts or other web pages (they are pages, not files), for text already in the conversation, or for live audio.
| Parameter | Type | Description |
|---|---|---|
| url | string | A direct https link to an audio or video file, e.g. https://example.com/episode.mp3. Not a web page. |
| file | object | An audio or video file the user attached in the conversation. |
| wait | boolean | Default true: wait briefly so short files come back finished. False returns at once with a transcription_id. |
{
"name": "transcribe_audio",
"title": "Transcribe audio or video",
"description": "Use this when the user wants the words: speech in an audio or video file turned into text, from a podcast, interview, lecture, meeting or voice note. Accepts a file the user attached (file) or a direct https link to a media file such as .mp3, .m4a, .wav or .mp4 (url). Returns the transcript with speaker turns, plus a page with the full text and .txt, .srt and .vtt downloads. Short files finish in this call; longer ones return status \"processing\" and a transcription_id for transcription_status. Up to 1 hour per file. The first transcript needs no account; after that it asks for a Slice sign-in, and a signed-in person gets 2 transcripts a month, shared with the Slice website. Do not use when the user wants short video clips made from a video (start_episode does that), for YouTube, Spotify, Apple Podcasts or other web pages (they are pages, not files), for text already in the conversation, or for live audio.",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "A direct https link to an audio or video file, e.g. https://example.com/episode.mp3. Not a web page."
},
"file": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string"
}
},
"description": "An audio or video file the user attached in the conversation.",
"additionalProperties": false
},
"wait": {
"type": "boolean",
"description": "Default true: wait briefly so short files come back finished. False returns at once with a transcription_id."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"transcription_id",
"results_url",
"message"
],
"properties": {
"status": {
"enum": [
"processing",
"completed",
"failed"
],
"type": "string"
},
"message": {
"type": "string"
},
"language": {
"type": "string",
"description": "Detected language code, e.g. en."
},
"downloads": {
"type": "object",
"required": [
"txt",
"srt",
"vtt"
],
"properties": {
"srt": {
"type": "string"
},
"txt": {
"type": "string"
},
"vtt": {
"type": "string"
}
}
},
"duplicate": {
"type": "boolean",
"description": "True when this is the transcript already made of the same file earlier: nothing new was started or counted. Do not send the file again."
},
"file_name": {
"type": "string"
},
"transcript": {
"type": "string",
"description": "The transcript in paragraphs, with speaker labels when there is more than one voice."
},
"word_count": {
"type": "integer"
},
"results_url": {
"type": "string",
"description": "Page with the full transcript and downloads. No sign-in; share it only with people who should see the transcript."
},
"duration_minutes": {
"type": "number"
},
"transcription_id": {
"type": "string",
"description": "Pass to transcription_status or email_transcript."
},
"transcript_truncated": {
"type": "boolean",
"description": "True when only the first part is included here; the results page has all of it."
}
}
},
"annotations": {
"title": "Transcribe audio or video",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}Use this when transcribe_audio returned status "processing", to check whether the transcript is finished and get its text. Pass the transcription_id it returned. Call it again after a short wait while the status is still "processing". Only answers in the conversation (or Slice account) that started the transcription. Do not use to start a transcription; use transcribe_audio.
| Parameter | Type | Description |
|---|---|---|
| transcription_id * | string | The transcription_id transcribe_audio returned. |
{
"name": "transcription_status",
"title": "Get a transcription",
"description": "Use this when transcribe_audio returned status \"processing\", to check whether the transcript is finished and get its text. Pass the transcription_id it returned. Call it again after a short wait while the status is still \"processing\". Only answers in the conversation (or Slice account) that started the transcription. Do not use to start a transcription; use transcribe_audio.",
"inputSchema": {
"type": "object",
"required": [
"transcription_id"
],
"properties": {
"transcription_id": {
"type": "string",
"description": "The transcription_id transcribe_audio returned."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"transcription_id",
"results_url",
"message"
],
"properties": {
"status": {
"enum": [
"processing",
"completed",
"failed"
],
"type": "string"
},
"message": {
"type": "string"
},
"language": {
"type": "string",
"description": "Detected language code, e.g. en."
},
"downloads": {
"type": "object",
"required": [
"txt",
"srt",
"vtt"
],
"properties": {
"srt": {
"type": "string"
},
"txt": {
"type": "string"
},
"vtt": {
"type": "string"
}
}
},
"duplicate": {
"type": "boolean",
"description": "True when this is the transcript already made of the same file earlier: nothing new was started or counted. Do not send the file again."
},
"file_name": {
"type": "string"
},
"transcript": {
"type": "string",
"description": "The transcript in paragraphs, with speaker labels when there is more than one voice."
},
"word_count": {
"type": "integer"
},
"results_url": {
"type": "string",
"description": "Page with the full transcript and downloads. No sign-in; share it only with people who should see the transcript."
},
"duration_minutes": {
"type": "number"
},
"transcription_id": {
"type": "string",
"description": "Pass to transcription_status or email_transcript."
},
"transcript_truncated": {
"type": "boolean",
"description": "True when only the first part is included here; the results page has all of it."
}
}
},
"annotations": {
"title": "Get a transcription",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this only when the user explicitly asks for a finished transcript to be emailed to them. Needs a Slice sign-in, asked for on first use, and sends the .txt, .srt and .vtt files only to the confirmed email address on that Slice account, never to another address. Each transcript can be emailed one time, and only from the conversation or account that made it. Do not use to send a transcript to somebody else; share the results page instead.
| Parameter | Type | Description |
|---|---|---|
| transcription_id * | string | The transcription_id of a finished transcript. |
{
"name": "email_transcript",
"title": "Email a transcript",
"description": "Use this only when the user explicitly asks for a finished transcript to be emailed to them. Needs a Slice sign-in, asked for on first use, and sends the .txt, .srt and .vtt files only to the confirmed email address on that Slice account, never to another address. Each transcript can be emailed one time, and only from the conversation or account that made it. Do not use to send a transcript to somebody else; share the results page instead.",
"inputSchema": {
"type": "object",
"required": [
"transcription_id"
],
"properties": {
"transcription_id": {
"type": "string",
"description": "The transcription_id of a finished transcript."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"message"
],
"properties": {
"status": {
"enum": [
"sent",
"already_sent",
"not_ready"
],
"type": "string"
},
"message": {
"type": "string"
}
}
},
"annotations": {
"title": "Email a transcript",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}
}Slice turns a long video or audio episode (a podcast, interview or stream) into short captioned clips. For clips, call start_episode: pass an attached video or audio file as file, or with no file give the user the upload_url it returns. Then call get_episode until status is "ready" and show the clips by number. make_clips cuts and captions the ones picked; get_job gives each finished file as a download link; restyle_clip changes a made clip. Uploads only: YouTube and other links are not supported. When the user wants clips on a particular topic or for a particular audience, call find_clips_about with the episode_id and their focus. Use transcribe_audio only when the user wants the words as text, not clips. Report progress from get_episode and get_job rather than guessing times, and share download links exactly as returned. If the user shares a video without saying what they want, ask first: "Find the best clips in it, or edit the whole video as one piece?". For the whole video, pass purpose "whole" to start_episode: Slice only transcribes it (no clip search, no clips email), then make_clips with one stretch from 0 to its full length makes it one clip. One piece runs 10 minutes at most; a longer video is split into parts or turned into clips. Before make_clips, ask which shape the person wants (9:16 for Shorts, Reels and TikTok, 4:5 for feeds, 1:1, or 16:9) and pass it as aspect; with none the clips are 9:16, and say which shape you used. To fix a made clip, change it without a render: get_clip_edit shows it, then cut_words, edit_captions, set_trim, set_caption_style, set_hook_title and set_frame change it while the person watches in Slice. undo_edit takes your last change back. When it is right, export once with restyle_clip export true. When the person likes a look, offer to save it with templates (save from_clip); apply their saved template to new clips (templates apply), and make it the default for new uploads only when they ask. Ask the person before removing anything they did not name. Slice turns speech in audio and video into text. Call transcribe_audio with a file the user attached or a direct https link to a media file. Web pages such as YouTube, Spotify or Apple Podcasts are not files and are refused. Long files return status "processing" with a transcription_id: call transcription_status until "completed". Results include a results_url with the full text and .txt/.srt/.vtt downloads. Limits: 1 hour per file. The first transcript needs no account; after that Slice asks for sign-in, and a signed-in person gets 2 transcripts a month, shared with the Slice website. A transcript can be read only in the conversation or account that made it. Only call email_transcript when the user asks for the files to be emailed to them: it asks for a Slice sign-in and sends only to the address on that account. Share the results_url so the user can open the full transcript; do not invent text that is not in the transcript.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| string |
| The episode the clips were found in. |
| hook_title | ["boolean","string"] | The title box at the top of the clip, on by default for new clips. false removes it, true puts the clip's title there, or give the words to show. |
| caption_size | string | Caption size. "bigger" and "smaller" are relative to now. |
{
"name": "make_clips",
"title": "Make clips",
"description": "Use this when the user picks found clips to make. Cuts each one from the episode and renders it with captions burned in, in one step. Pass the numbers or refs get_episode listed (refs in brackets are fine), or any stretch of the episode as {\"start_seconds\", \"end_seconds\", \"title\"}. Optional style, caption_size, position, hook_title, fit and background apply to these clips. aspect is the shape: 9:16 (Shorts, Reels, TikTok), 4:5 (feeds), 1:1, 16:9 (YouTube) or source. Ask the person which shape before calling; with no aspect the clips are 9:16. Returns a job per clip; follow with get_job for the files. Do not use before get_episode reports the episode ready, and do not use to change a clip that is already made (use restyle_clip).",
"inputSchema": {
"type": "object",
"required": [
"episode_id",
"clips"
],
"properties": {
"fit": {
"enum": [
"fill",
"whole"
],
"type": "string",
"description": "How the picture sits in the frame. \"fill\" (the default) crops it to fill the frame. \"whole\" shows the whole video, nothing cropped, with space around it; use when the user does not want a wide video cropped."
},
"clips": {
"type": "array",
"items": {
"oneOf": [
{
"type": [
"integer",
"string"
]
},
{
"type": "object",
"required": [
"start_seconds",
"end_seconds"
],
"properties": {
"title": {
"type": "string"
},
"end_seconds": {
"type": "number"
},
"start_seconds": {
"type": "number"
}
}
}
]
},
"description": "Numbers or refs from get_episode, e.g. [2, 5] or [\"a3f9\"], or stretches {\"start_seconds\": 312, \"end_seconds\": 371, \"title\": \"...\"} on the episode. Up to 10."
},
"style": {
"type": "string",
"description": "A caption style id or name from list_styles, e.g. bold-punch."
},
"aspect": {
"enum": [
"9:16",
"4:5",
"1:1",
"16:9",
"3:4",
"source"
],
"type": "string",
"description": "The clip's shape. Ask the person first; 9:16 when left out."
},
"position": {
"enum": [
"up",
"down",
"top",
"middle",
"lower",
"bottom"
],
"type": "string",
"description": "Where the captions sit. \"up\" and \"down\" move them from where they are now."
},
"background": {
"enum": [
"black",
"blur"
],
"type": "string",
"description": "What fills the space around a whole video: \"black\", or \"blur\" for a blurred copy of the video. Only matters with fit \"whole\"."
},
"episode_id": {
"type": "string",
"description": "The episode the clips were found in."
},
"hook_title": {
"type": [
"boolean",
"string"
],
"description": "The title box at the top of the clip, on by default for new clips. false removes it, true puts the clip's title there, or give the words to show."
},
"caption_size": {
"enum": [
"smaller",
"bigger",
"small",
"medium",
"large",
"extra_large"
],
"type": "string",
"description": "Caption size. \"bigger\" and \"smaller\" are relative to now."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"episode_id",
"clips",
"message"
],
"properties": {
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"status"
],
"properties": {
"ref": {
"type": "string"
},
"title": {
"type": "string"
},
"job_id": {
"type": "string",
"description": "Pass to get_job."
},
"number": {
"type": "integer"
},
"status": {
"enum": [
"cutting",
"rendering",
"failed"
],
"type": "string"
},
"clip_id": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"aspect": {
"type": "string",
"description": "The shape the clips are made in."
},
"message": {
"type": "string"
},
"episode_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Make clips",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}| episode_id | string | Only needed when clip_id is a number or ref from get_episode. |
| hook_title | ["boolean","string"] | The title box at the top of the clip, on by default for new clips. false removes it, true puts the clip's title there, or give the words to show. |
| caption_size | string | Caption size. "bigger" and "smaller" are relative to now. |
| save_as_default | boolean | True when the user wants this look kept for future clips ("use this from now on", "save this style"). Can be sent with no other change to keep the clip's current look. |
{
"name": "restyle_clip",
"title": "Restyle a clip",
"description": "Use this when the user wants a made clip changed and rendered again: a different caption style, bigger or smaller captions, captions moved up or down, the hook title turned on, off or reworded, or the whole video shown instead of cropped (fit, background). The change is saved on the clip and a new render starts; follow with get_job. When the user wants the look kept for future clips, pass save_as_default (new clips then start from it). Do not use for clips that have not been made yet (use make_clips). When the person is watching in Slice and you are fixing a clip step by step, prefer the tools that change the saved clip without a render (cut_words, set_hook_title, edit_captions, set_trim, set_caption_style, set_frame) and export once at the end: export true with nothing else makes the video from the clip exactly as it stands.",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"fit": {
"enum": [
"fill",
"whole"
],
"type": "string",
"description": "How the picture sits in the frame. \"fill\" (the default) crops it to fill the frame. \"whole\" shows the whole video, nothing cropped, with space around it; use when the user does not want a wide video cropped."
},
"style": {
"type": "string",
"description": "A caption style id or name from list_styles, e.g. bold-punch."
},
"export": {
"type": "boolean",
"description": "True with nothing else to change: make the video from the clip as it stands now (after edits with the no-render tools)."
},
"clip_id": {
"type": "string",
"description": "The clip_id from get_episode or get_job (or the job_id of its render). With episode_id, the clip's number or ref also works."
},
"position": {
"enum": [
"up",
"down",
"top",
"middle",
"lower",
"bottom"
],
"type": "string",
"description": "Where the captions sit. \"up\" and \"down\" move them from where they are now."
},
"background": {
"enum": [
"black",
"blur"
],
"type": "string",
"description": "What fills the space around a whole video: \"black\", or \"blur\" for a blurred copy of the video. Only matters with fit \"whole\"."
},
"episode_id": {
"type": "string",
"description": "Only needed when clip_id is a number or ref from get_episode."
},
"hook_title": {
"type": [
"boolean",
"string"
],
"description": "The title box at the top of the clip, on by default for new clips. false removes it, true puts the clip's title there, or give the words to show."
},
"caption_size": {
"enum": [
"smaller",
"bigger",
"small",
"medium",
"large",
"extra_large"
],
"type": "string",
"description": "Caption size. \"bigger\" and \"smaller\" are relative to now."
},
"save_as_default": {
"type": "boolean",
"description": "True when the user wants this look kept for future clips (\"use this from now on\", \"save this style\"). Can be sent with no other change to keep the clip's current look."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"clip_id",
"job_id",
"status",
"changes",
"message"
],
"properties": {
"job_id": {
"type": "string",
"description": "Pass to get_job."
},
"status": {
"enum": [
"rendering",
"saved"
],
"type": "string"
},
"changes": {
"type": "array",
"items": {
"type": "string"
}
},
"clip_id": {
"type": "string"
},
"message": {
"type": "string"
},
"saved_as_default": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Restyle a clip",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}{
"name": "suggest_visual_styles",
"title": "Suggest visual styles for a clip",
"description": "Use this when the person asks to see Slice's style library, and only then. When someone wants visuals or animation and has no style, design your own looks for the clip first (owner, 1 November 2026: the library is being reworked); never list library styles in the chat unasked. With a library request: Pass the words as text, or a clip_id, job_id or episode_id from Slice to use its transcript. Returns a few ranked styles from the Slice library with a short reason each, plus the whole catalogue so you can choose with your own judgement. Show the person 3 to 5 options with the reasons and let them choose. They can mix styles or use none: there is no need to use a Slice style at all.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "A transcript, a script or a description of the clip, up to 20,000 characters."
},
"count": {
"type": "integer",
"description": "How many suggestions, 1 to 12. Default 5."
},
"aspect": {
"enum": [
"9:16",
"4:5",
"1:1",
"16:9"
],
"type": "string",
"description": "The frame shape, if known. Every style works in every shape; this only breaks ties."
},
"job_id": {
"type": "string",
"description": "Instead of text: the job_id of a clip being made or rendered, to use its words."
},
"clip_id": {
"type": "string",
"description": "Instead of text: a Slice clip's clip_id, to use its words."
},
"episode_id": {
"type": "string",
"description": "Instead of text: a Slice episode_id, to use the episode's words."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"suggestions",
"catalogue",
"note",
"message"
],
"properties": {
"note": {
"type": "string"
},
"message": {
"type": "string"
},
"catalogue": {
"type": "array",
"items": {
"type": "object"
}
},
"suggestions": {
"type": "array",
"items": {
"type": "object"
}
}
}
},
"annotations": {
"title": "Suggest visual styles for a clip",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| Stretches (seconds on the clip) with no captions, e.g. where a scene already writes the words on screen. Replaces the clip's hidden stretches; [] shows captions everywhere again. |
| color | string | The caption words' colour, "#rrggbb". |
| reset | any | "look" (back to the style's own look), "captions" (every caption back on the clip's look), "positions" (captions placed by hand back in line) or "all". |
| scope | object | Give only the captions holding these words this look (colour, font, case, weight, size, outline, shadow, card, effect, appearance...). |
| style | string |
| words | array | Looks for single words (index from get_clip_edit): colour, size (0.5 to 3 times), weight, font, italic, case, highlight, big (the one big word of a Big word caption). |
| effect | any | none, glow, gradient, echo, depth or knockout, or { "type", "color", "color2" }. |
| italic | boolean |
| shadow | any | false, true, or { "color": "#rrggbb", "blur": 0 to 0.5, "offset_y": 0 to 0.3 }. |
| weight | integer | 100 to 900; snapped to the weights the font has. |
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
| outline | any | false, true, or { "width": 0 to 0.3 (fraction of the font size), "color": "#rrggbb" }. |
| captions | string | Captions on or off for the whole clip. |
| position | string |
| caption_y | number | The caption block's centre: a fraction of the frame's height (0.7) or px of 1920 (1340). Kept inside Instagram's safe area. On a clip with scenes from you it holds on every scene. |
| hide_also | array | Stretches to add to the hidden ones. |
| appearance | string | How the words appear: phrase, fade, rise, pop (word by word), bounce, karaoke, word (one at a time), typewriter, punch, slide, sweep, around. |
| arrangement | ["string","null"] | A stacked layout id (list_styles kind "arrangement"), or null to take it off. |
| line_height | ["number","null"] | 0.7 to 2; null for the style's own. |
| caption_size | string |
| word_spacing | ["number","null"] | em, -0.2 to 1; null for the style's own. |
| size_fraction | number | Exact caption size: a fraction of the frame height, 0.015 to 0.15 (0.05 is large). |
| highlight_size | number | The highlighted word's size, 0.5 to 3 times the others. |
| letter_spacing | ["number","null"] | em, -0.1 to 0.5; null for the style's own. |
| words_per_line | any | At most this many words a caption line, 1 to 7, or "auto". |
| highlight_block | any | A block behind the highlighted word: false, true, or { "color", "opacity", "padding", "radius" }. |
| highlight_color | string | The highlighted word's colour, "#rrggbb". |
| colour_by_speaker | any | true gives each voice its own colour, false takes it off, or { "<voice>": "#rrggbb" }. |
{
"name": "set_caption_style",
"title": "Change a clip's caption look",
"description": "Use this when the person wants to change a made clip's captions, anything a person can change by hand, without a render: style (list_styles names), size (smaller, bigger, small, medium, large, extra_large), position (up, down, top, middle, lower, bottom) or an exact height (caption_y, e.g. to keep them clear of a scene's drawing), colour, highlight colour, font, case, outline, shadow, words per line, captions off, and stretches with no captions (hide: where a scene already writes the words on screen, so they are not shown twice); also weight, italic, size_fraction, appearance (how words appear: word by word, karaoke, typewriter...), card (a box behind the words), letter, word and line spacing, effect (glow, gradient, echo, depth, knockout), highlight_block and highlight_size for the highlighted word, blur in and out, arrangement (a stacked layout), colour_by_speaker and reset. scope {from_word, to_word} gives just those captions their own look; words [{word, color, size, weight, font, italic, case, highlight, big}] styles single words. list_styles kinds font, appearance, effect and arrangement list the choices. A clip with scenes from you follows the change. Use restyle_clip only when the person wants a new video made straight away.",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"blur": {
"description": "Words blur in and out: false, true, or { \"in\", \"out\", \"strength\": \"soft\" | \"full\" }."
},
"card": {
"description": "A box behind the words: false, true, or { \"color\", \"opacity\" 0-1, \"padding\" 0-1.5, \"radius\" 0-1.5 }."
},
"case": {
"enum": [
"upper",
"as_said"
],
"type": "string"
},
"font": {
"type": "string",
"description": "One of Slice's caption fonts: Inter, Montserrat, Poppins, Sora, TeX Gyre Heros, DM Sans, IBM Plex Mono, JetBrains Mono, Courier Prime, Anton, Bebas Neue, Oswald, Nunito, DM Serif Display, Instrument Serif, Cormorant Garamond, Lora, Libre Baskerville, Merriweather, Playfair Display, Space Mono, Pacifico, Courgette, Satisfy, Dancing Script, Kaushan Script, Yellowtail, Grand Hotel, Parisienne, Caveat, Archivo Black, Barlow Condensed, Baloo 2, Anybody, Archivo, Bricolage Grotesque, Epilogue, Figtree, Manrope, Outfit, Plus Jakarta Sans, Space Grotesk, Urbanist, Bitter, Bodoni Moda, EB Garamond, Fraunces, Libre Bodoni, Newsreader, Spectral, Young Serif, Zilla Slab, Alfa Slab One, Big Shoulders Display, Black Ops One, Bungee, Fjalla One, Fugaz One, Lilita One, Passion One, Rubik Mono One, Staatliches, Teko, Titan One, Ultra, Abril Fatface, Bungee Inline, Lobster Two, Lobster, Monoton, Poiret One, Sacramento, Silkscreen, Yeseva One, Amatic SC, Bangers, Caveat Brush, Chewy, Fredoka, Gloria Hallelujah, Indie Flower, Luckiest Guy, Patrick Hand, Rock Salt, Shrikhand, Sriracha, Audiowide, Chakra Petch, Major Mono Display, Michroma, Orbitron, Rajdhani, Share Tech Mono, VT323, Heebo, Rubik, Assistant, Frank Ruhl Libre, Secular One, Suez One."
},
"hide": {
"type": "array",
"items": {
"type": "object",
"required": [
"from_seconds",
"to_seconds"
],
"properties": {
"to_seconds": {
"type": "number"
},
"from_seconds": {
"type": "number"
}
}
},
"description": "Stretches (seconds on the clip) with no captions, e.g. where a scene already writes the words on screen. Replaces the clip's hidden stretches; [] shows captions everywhere again."
},
"color": {
"type": "string",
"description": "The caption words' colour, \"#rrggbb\"."
},
"reset": {
"description": "\"look\" (back to the style's own look), \"captions\" (every caption back on the clip's look), \"positions\" (captions placed by hand back in line) or \"all\"."
},
"scope": {
"type": "object",
"required": [
"from_word",
"to_word"
],
"properties": {
"to_word": {
"type": "integer"
},
"from_word": {
"type": "integer"
}
},
"description": "Give only the captions holding these words this look (colour, font, case, weight, size, outline, shadow, card, effect, appearance...)."
},
"style": {
"type": "string"
},
"words": {
"type": "array",
"items": {
"type": "object",
"required": [
"word"
],
"properties": {
"big": {
"type": "boolean"
},
"case": {
"enum": [
"upper",
"lower",
"as_said",
null
],
"type": [
"string",
"null"
]
},
"font": {
"type": [
"string",
"null"
]
},
"size": {
"type": [
"number",
"null"
]
},
"word": {
"type": "integer"
},
"color": {
"type": [
"string",
"null"
]
},
"italic": {
"type": "boolean"
},
"weight": {
"type": [
"integer",
"null"
]
},
"highlight": {
"type": "boolean"
}
}
},
"description": "Looks for single words (index from get_clip_edit): colour, size (0.5 to 3 times), weight, font, italic, case, highlight, big (the one big word of a Big word caption)."
},
"effect": {
"description": "none, glow, gradient, echo, depth or knockout, or { \"type\", \"color\", \"color2\" }."
},
"italic": {
"type": "boolean"
},
"shadow": {
"description": "false, true, or { \"color\": \"#rrggbb\", \"blur\": 0 to 0.5, \"offset_y\": 0 to 0.3 }."
},
"weight": {
"type": "integer",
"description": "100 to 900; snapped to the weights the font has."
},
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
},
"outline": {
"description": "false, true, or { \"width\": 0 to 0.3 (fraction of the font size), \"color\": \"#rrggbb\" }."
},
"captions": {
"enum": [
"on",
"off"
],
"type": "string",
"description": "Captions on or off for the whole clip."
},
"position": {
"type": "string"
},
"caption_y": {
"type": "number",
"description": "The caption block's centre: a fraction of the frame's height (0.7) or px of 1920 (1340). Kept inside Instagram's safe area. On a clip with scenes from you it holds on every scene."
},
"hide_also": {
"type": "array",
"items": {
"type": "object",
"required": [
"from_seconds",
"to_seconds"
],
"properties": {
"to_seconds": {
"type": "number"
},
"from_seconds": {
"type": "number"
}
}
},
"description": "Stretches to add to the hidden ones."
},
"appearance": {
"type": "string",
"description": "How the words appear: phrase, fade, rise, pop (word by word), bounce, karaoke, word (one at a time), typewriter, punch, slide, sweep, around."
},
"arrangement": {
"type": [
"string",
"null"
],
"description": "A stacked layout id (list_styles kind \"arrangement\"), or null to take it off."
},
"line_height": {
"type": [
"number",
"null"
],
"description": "0.7 to 2; null for the style's own."
},
"caption_size": {
"type": "string"
},
"word_spacing": {
"type": [
"number",
"null"
],
"description": "em, -0.2 to 1; null for the style's own."
},
"size_fraction": {
"type": "number",
"description": "Exact caption size: a fraction of the frame height, 0.015 to 0.15 (0.05 is large)."
},
"highlight_size": {
"type": "number",
"description": "The highlighted word's size, 0.5 to 3 times the others."
},
"letter_spacing": {
"type": [
"number",
"null"
],
"description": "em, -0.1 to 0.5; null for the style's own."
},
"words_per_line": {
"description": "At most this many words a caption line, 1 to 7, or \"auto\"."
},
"highlight_block": {
"description": "A block behind the highlighted word: false, true, or { \"color\", \"opacity\", \"padding\", \"radius\" }."
},
"highlight_color": {
"type": "string",
"description": "The highlighted word's colour, \"#rrggbb\"."
},
"colour_by_speaker": {
"description": "true gives each voice its own colour, false takes it off, or { \"<voice>\": \"#rrggbb\" }."
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Change a clip's caption look",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}| string |
| one of ["9:16","4:5","1:1","16:9","3:4","source"] |
| follow | string | one of ["speaker","both","off"] |
| layout | string | one of ["follow-speaker","follow-both","two-people","face-on-top","face-corner","speaker-slides","fill","whole-blur","whole-black"] |
| clip_id * | string | The clip's id (from get_episode, get_job or the Slice link). |
| frame_on | object | Frame one person: x (and optionally y) is where their face is in the whole source picture, 0 to 1; scale 1 fills the frame. A fixed crop: speaker follow goes off. |
| end_frame | any | "brand" (the account's end card), false (none on this clip), or { "path", "kind": "image" | "video", "duration_seconds" }. |
| background | string | one of ["black","blur"] |
{
"name": "set_frame",
"title": "Change a clip's frame and layout",
"description": "Use this when the person wants to change how a made clip's picture is framed, anything the Slice editor's Frame tab and Layouts do, with no render. aspect: 9:16, 4:5, 1:1, 16:9, 3:4, source (ask the person which shape first). layout: follow-speaker, follow-both, two-people, face-on-top, face-corner, speaker-slides, fill, whole-blur, whole-black (list_styles kind \"layout\" says what each is; split screens are 9:16 only). fit (fill or whole) and background (black or blur); crop {scale 1-5, x, y} moves and zooms the picture; frame_on {x, y?, scale?} frames ONE person of a wide shot (x: where their face is across the whole picture, 0 left to 1 right; look at a frame first): a fixed crop that never moves to whoever is talking, so use it, not follow, when the person names who to show. The storyboard (scenes, splits, boxes) uses the clip's frame too. moves [{at_seconds, scale, x, y}] reframe part-way through ([] removes them); split {share, swap, border, corner_size} adjusts a split screen; follow speaker, both or off (Slice finds who is talking, as the editor's Follow the speaker does); logo \"brand\", false or {path, x, y, width, opacity}; end_frame \"brand\", false or {path, kind, duration_seconds}. Saves the clip only: the person sees it in Slice and can undo.",
"inputSchema": {
"type": "object",
"required": [
"clip_id"
],
"properties": {
"fit": {
"enum": [
"fill",
"whole"
],
"type": "string"
},
"crop": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"scale": {
"type": "number"
}
},
"description": "scale 1 fills the frame, up to 5; x and y -1 to 1 move the picture (0 is centred)."
},
"logo": {
"description": "\"brand\" (the account's logo), false (none), or { \"path\" (a file in this account), \"x\", \"y\" (0-1, its centre), \"width\" (0.04-0.6), \"opacity\" (0-1) }."
},
"moves": {
"type": "array",
"items": {
"type": "object",
"required": [
"at_seconds"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"scale": {
"type": "number"
},
"at_seconds": {
"type": "number"
}
}
},
"description": "Camera moves: from at_seconds on, the picture is framed like this. Replaces the clip's moves."
},
"split": {
"type": "object",
"properties": {
"swap": {
"type": "boolean"
},
"share": {
"type": "number"
},
"border": {
"type": "boolean"
},
"corner_size": {
"enum": [
"S",
"M",
"L"
],
"type": "string"
}
}
},
"aspect": {
"enum": [
"9:16",
"4:5",
"1:1",
"16:9",
"3:4",
"source"
],
"type": "string"
},
"follow": {
"enum": [
"speaker",
"both",
"off"
],
"type": "string"
},
"layout": {
"enum": [
"follow-speaker",
"follow-both",
"two-people",
"face-on-top",
"face-corner",
"speaker-slides",
"fill",
"whole-blur",
"whole-black"
],
"type": "string"
},
"clip_id": {
"type": "string",
"description": "The clip's id (from get_episode, get_job or the Slice link)."
},
"frame_on": {
"type": "object",
"required": [
"x"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"scale": {
"type": "number",
"maximum": 5,
"minimum": 1
}
},
"description": "Frame one person: x (and optionally y) is where their face is in the whole source picture, 0 to 1; scale 1 fills the frame. A fixed crop: speaker follow goes off."
},
"end_frame": {
"description": "\"brand\" (the account's end card), false (none on this clip), or { \"path\", \"kind\": \"image\" | \"video\", \"duration_seconds\" }."
},
"background": {
"enum": [
"black",
"blur"
],
"type": "string"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"clip_id": {
"type": "string"
},
"open_in_slice": {
"type": "string",
"description": "The clip in the Slice editor, where the person sees the change."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Change a clip's frame and layout",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}| delete: the token the first delete call gave, once the person has said yes. |
| replace | boolean | save: overwrite a template of the same name. |
| clip_ids | array | apply: up to 30 clips. |
| settings | object | save without a clip: the look itself (see the description). |
| from_clip | string | save: the clip whose current look to keep (a clip id, or a storyboard's clip for visual_cut). |
| episode_id | string | apply: every clip of this episode. |
| from_video | string | save kind layout: the whole video whose layout to keep. |
| new_uploads | boolean | apply or save: true makes it the default for new uploads (only when the person asks); false stops that. |
{
"name": "templates",
"title": "Saved templates: save, list, apply, rename, delete",
"description": "Use this when the person likes a look and wants to keep it, or wants their saved look on clips. The same saved templates as the Slice editor's Saved styles. kind: style (the caption look with logo, framing, stacking and caption rules; \"setup\" also keeps the clip's shape, layout, hook title look and B-roll look), title (a hook title style), audio_brand (the brand template every new audio episode opens in), layout (the starting layout for whole videos), broll_look (a saved Un-Stock look for B-roll) and visual_cut (a storyboard's saved style). save: from_clip (its current look) or settings (style: the set_caption_style fields, e.g. {\"style\":\"bold-punch\",\"color\":\"#ffffff\",\"font\":\"Anton\"}; title: {\"template\",\"colour\",\"mark_colour\",\"font_scale\",\"align\"}; broll_look: Un-Stock {\"preset\"?, \"settings\"}), with a name. list: every template with its id, kind and which is the default. get: one in full. apply: id to clip_id, clip_ids or an episode_id's clips: no render, one undoable change per clip (undo_edit). new_uploads true makes it the default for new uploads; only when the person asks for that. rename: id and name. delete: call once to get a confirm token and a question; ask the person, then call again with confirm.",
"inputSchema": {
"type": "object",
"required": [
"action"
],
"properties": {
"id": {
"type": "string",
"description": "A template id as list gives it (e.g. \"style:<uuid>\", \"title:<id>\", \"audio_brand\")."
},
"kind": {
"enum": [
"style",
"title",
"audio_brand",
"layout",
"broll_look",
"visual_cut",
"setup",
"caption"
],
"type": "string",
"description": "For save and list. Not needed with an id from list."
},
"name": {
"type": "string",
"description": "Up to 60 characters (save, rename)."
},
"action": {
"enum": [
"save",
"list",
"get",
"apply",
"rename",
"delete"
],
"type": "string"
},
"clip_id": {
"type": "string"
},
"confirm": {
"type": "string",
"description": "delete: the token the first delete call gave, once the person has said yes."
},
"replace": {
"type": "boolean",
"description": "save: overwrite a template of the same name."
},
"clip_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "apply: up to 30 clips."
},
"settings": {
"type": "object",
"description": "save without a clip: the look itself (see the description)."
},
"from_clip": {
"type": "string",
"description": "save: the clip whose current look to keep (a clip id, or a storyboard's clip for visual_cut)."
},
"episode_id": {
"type": "string",
"description": "apply: every clip of this episode."
},
"from_video": {
"type": "string",
"description": "save kind layout: the whole video whose layout to keep."
},
"new_uploads": {
"type": "boolean",
"description": "apply or save: true makes it the default for new uploads (only when the person asks); false stops that."
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"template": {
"type": "object"
},
"templates": {
"type": "array"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Saved templates",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": true
}
}