Shotstack MCP by usefulapi

v1.2.1
io.usefulapi/shotstack Checked 3 days ago Published 2 days ago

Render videos from timelines, manage templates, probe media and quote AI generation in Shotstack.

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

shotstack_render_video Render a video

Submit a timeline and output to render a video. Returns a render id: poll shotstack_get_render until status is done or failed. Production renders use credits; sandbox renders are free and watermarked. Edit API: POST /render.

ParameterTypeDescription
output *objectShotstack output object: `format` (required, for example mp4), plus `resolution`, `aspectRatio`, `fps`, `size`, `quality`, `destinations`.
timeline *objectShotstack timeline object: `tracks` (required, each with `clips`), plus optional `background`, `soundtrack`, `fonts`, `cache`.
mergearrayMerge fields: each `{{ find }}` placeholder in the timeline is replaced by `replace`.

shotstack_get_render Get a render

Get a render's status (queued, fetching, rendering, saving, done or failed) and, when done, its output url. Set data or merged to also return the edit JSON. Edit API: GET /render/{id}.

ParameterTypeDescription
render_id *stringThe render id (from shotstack_render_video).
databooleanAlso return the edit JSON that produced the render.
mergedbooleanReturn the edit JSON with merge fields applied (needs data).

shotstack_list_templates List templates

List the saved Shotstack templates in this environment, with their ids and names. Good first call before shotstack_render_template. Edit API: GET /templates.

shotstack_get_template Get a template

Get one saved template by id, including its timeline and output. Edit API: GET /templates/{id}.

ParameterTypeDescription
template_id *stringThe template id (from shotstack_list_templates or shotstack_create_template).

shotstack_create_template Create a template

Save a timeline and output as a named template, so it can be rendered later with merge fields. Creates a new template; it does not render. Edit API: POST /templates.

ParameterTypeDescription
name *stringA name for the template.
output *objectShotstack output object: `format` (required, for example mp4), plus `resolution`, `aspectRatio`, `fps`, `size`, `quality`, `destinations`.
timeline *objectShotstack timeline object: `tracks` (required, each with `clips`), plus optional `background`, `soundtrack`, `fonts`, `cache`.
mergearrayMerge fields: each `{{ find }}` placeholder in the timeline is replaced by `replace`.

shotstack_update_template Update a template

Replace the name, timeline and output of a saved template. The whole template is replaced, so send the full timeline and output. Edit API: PUT /templates/{id}.

ParameterTypeDescription
name *stringThe new template name.
output *objectShotstack output object: `format` (required, for example mp4), plus `resolution`, `aspectRatio`, `fps`, `size`, `quality`, `destinations`.
template_id *stringThe template id (from shotstack_list_templates or shotstack_create_template).
timeline *objectShotstack timeline object: `tracks` (required, each with `clips`), plus optional `background`, `soundtrack`, `fonts`, `cache`.
mergearrayMerge fields: each `{{ find }}` placeholder in the timeline is replaced by `replace`.

shotstack_delete_template Delete a template

Delete a saved template by id. The template cannot be recovered afterwards. Renders already made are not affected. Edit API: DELETE /templates/{id}.

ParameterTypeDescription
template_id *stringThe template id (from shotstack_list_templates or shotstack_create_template).

shotstack_render_template Render a template

Render a saved template, with optional merge fields for this video. Returns a render id: poll shotstack_get_render. Production renders use credits. Edit API: POST /templates/render.

ParameterTypeDescription
template_id *stringThe template id (from shotstack_list_templates or shotstack_create_template).
mergearrayMerge fields: each `{{ find }}` placeholder in the timeline is replaced by `replace`.

shotstack_probe_media Inspect a media file

Inspect a public media file (video, audio or image) by url: duration, dimensions, codecs and frame rate. Use it before you put footage in a timeline. Edit API: GET /probe/{url}.

ParameterTypeDescription
media_url *stringPublic https url of the media file.

shotstack_list_models List AI models

List the AI generation models (video, image, voice and music) with their options. Listing costs nothing. Edit API: GET /models.

shotstack_get_model Get an AI model

Get one AI generation model by id, with its options and pricing basis. Edit API: GET /models/{id}.

ParameterTypeDescription
model_id *stringThe model id (from shotstack_list_models).

shotstack_quote_generation Quote an AI generation

Price an AI-generated asset before you generate it. Quoting does not generate or charge the asset. Edit API: POST /generate/quote.

ParameterTypeDescription
asset *objectAsset to price: `type` (video, image, audio, ...), plus `prompt`, `model` and `options`.
lengthnumberLength in seconds, for video and audio assets.