An open source Shotstack MCP and shared CLI with 23 tools, private account profiles and explicit operation approval.
Key takeaways
This free Shotstack MCP server and CLI gives your AI real access to current rendering, templates, generation, hosting and ingestion in your selected account. Review the intended task and environment, then run only its explicitly approved account operation.
It's one install with 2 ways in. Claude, Codex, Cursor or any other MCP app calls its 23 tools for you, and the same tools work as a CLI that agents like Claude Code, Codex and OpenCode run, or that you type yourself.
Here's what the Shotstack MCP server and CLI is, how to set it up in each app, and every tool it has.
What is the Shotstack MCP server & CLI?
The Shotstack MCP server & CLI is a free, open source program that lets AI agents inspect existing jobs/assets and run approved account operations for you, in 2 ways. The MCP server is what an AI app like Claude, Codex or Cursor connects to, through MCP (Model Context Protocol), the open standard AI apps use to call outside tools.
You ask in plain language. Your AI picks the right tool, and the server makes the call directly to the Shotstack API.
The CLI is the same program as commands. shotstack-cli list-models runs the same code your AI runs when you ask to inspect current available generation models, whether an agent like Claude Code runs it or you do.
What can you ask it?
Once it's set up, you ask the way you'd ask an assistant. These are real prompts it handles:
Try askingInspect this existing render without submitting another.
List models in my selected sandbox profile.
Submit only the edit I approve.
Render the chosen template with these exact merge values.
Ingest the public source URL I selected.
Keep the upload credential in my private file.
Shotstack already offers official CLI, local MCP and hosted MCP. This owned package adds enforced local mutation approval, private named account/environment profiles and exclusive private-file delivery of signed upload credentials.
How to install the Shotstack MCP server
Use the existing install box for local stdio MCP, CLI and the versioned desktop archive. Full client and OS setup follows below; Codex is the current priority.
Set up Shotstack access
Private API keys and environments
- Sign in to your intended account at app.shotstack.io, open the account menu and choose API Keys.
- Select the sandbox or production key for the task. Set SHOTSTACK_ENV=stage or v1 to match. Production is the default; a sandbox key does not turn production URLs into sandbox URLs.
- Save the key in an owner-only token file outside repositories. Set SHOTSTACK_TOKEN_FILE to its absolute path. SHOTSTACK_API_KEY in private local settings is the alternative.
- Run shotstack-cli doctor, then doctor --network. The network check requests available generation models and does not print their content.
- Read the selected schema, review the exact edit/account action and confirm only that operation. Do not submit a production render merely to test installation.
Requests use x-api-key on the fixed api.shotstack.io origin, with /edit, /serve or /ingest and the selected /stage or /v1 prefix. This package does not accept arbitrary API hosts, forward keys through redirects or perform OAuth. login prints setup instructions; it neither saves keys nor creates accounts.
On macOS/Linux, use a private directory (0700) and regular token-only file (0600). Windows users must restrict the file's ACL to their user; POSIX mode checking does not establish Windows ACL protection. Token files cannot be symlinks or exceed 64 KB. They override environment keys and are cached until restart. GUI settings may differ from your shell environment.
Access, plans, credits and limits
The wrapper is free AGPL software. Shotstack access, rendering, generated assets, storage and serving follow the provider's account terms. No account role or OAuth scope bypass is supplied. Request API keys and check your dashboard's balance and current plan before approving charges.
The provider currently documents ten new-account credits valid for 30 days, with no credit card required. Sandbox renders are watermarked, limited to ten minutes and require at least one credit in the balance. AI generation in sandbox still consumes credits. Production rendering is billed by output duration; this wrapper is not a spending or money cap.
Rate limits use a fixed 60-second window per API key, across all plans. Current production/sandbox request limits are Edit 300/150, Serve 600/300 and Ingest 300/120. Wait for the window reset after 429; do not immediately repeat a render.
The local default 150 ms pacing is per account label/process, not a provider quota reservation. Shared keys in several processes still share quota. Mutations never retry automatically. GET 429 retries require an explicit Retry-After of at most ten seconds; missing/longer delays return exit 7. The default maximum is two retries and configurable upper bound five.
Current source limits are 5 GB per file and 10 GB combined source/output disk usage. Local request JSON has a separate 5 MiB cap and responses a 10 MiB cap. The wrapper does not upload local media bytes or automatically collect all pages. Check credit consumption for the selected current model and hosting charges.
Revoke and rotate
Rotate or revoke the intended key through your account's API Keys controls, update private client settings, and restart. Remove the client entry when disconnecting. npm removal does not revoke the provider key, undo renders, remove hosted assets or delete private output files. Keep account records and signed URLs out of GitHub issues and public logs.
Check that it works
Check local setup first; network doctor requests generation models without printing their content.
shotstack-cli --version
shotstack-cli doctor
shotstack-cli doctor --network
shotstack-cli list-accounts --agent
shotstack-cli list-models --agentshotstack-cli --version
shotstack-cli doctor
shotstack-cli doctor --network
shotstack-cli list-accounts --agent
shotstack-cli list-models --agentHelp, schemas, discovery and account labels work without a provider key. Network doctor requests GET /edit/{environment}/models without returning its content. Success establishes that account request, not every rendering model or endpoint. Full discovery exposes 23 tools; read-only exposes 12.
For an existing selected render, use get-render --id REAL_RENDER_ID. A job status read should not create a new render. Missing credentials exits 10; invalid input and refused writes exit 2.
Use the Shotstack CLI
The CLI is the same 23 tools as commands. AI agents that run commands, like Claude Code, Codex and OpenCode, use it on their own, and you can type the same commands in a terminal or a script.
Every tool name becomes a command with dashes, so get_render runs as shotstack-cli get-render.
shotstack-cli
shotstack-cli render --help
shotstack-cli schema render
shotstack-cli list-models --agent
shotstack-cli get-render --id SELECTED_RENDER_ID --agentThe bare shotstack-cli lists every command, and shotstack-cli <command> --help shows what a command takes. All eleven mutations require --confirm for the exact requested action. --agent/--yes do not supply it.
These flags work on every command:
| Flag | What it does |
|---|---|
| --json | Structured JSON |
| --compact | One-line JSON |
| --agent | Compact JSON without prompts/color |
| --select a,b.c | Trim local output fields after receipt |
| --confirm | Approve the exact requested mutation |
| --account NAME | Choose private account/environment |
| --payload / --payload-file | One complete native body instead of flat body flags |
A script can branch on the exit code:
| Exit code | What it means |
|---|---|
| 0 | Success |
| 2 | Invalid input or refused mutation |
| 3 | Not found |
| 4 | Authentication/permissions |
| 5 | API/transport failure |
| 7 | Rate limited |
| 10 | Missing/invalid configuration |
MCP server or CLI: which one?
Both surfaces call the same tools. Codex can connect to the local MCP server or run the CLI directly. Neither requires Claude Code.
MCP provides structured tool discovery; the CLI supports scripts, compact JSON, field selection and command/schema discovery. Official hosted MCP connection and local CLI authentication have different setup requirements.
Codex-specific token measurements are pending. Record the actual client/model versions, discovery configuration, input/output usage, caching, latency and equivalent successful outcomes. Standing definitions and full task cost are separate measurements; CLI commands, selected help, results and reasoning still consume tokens.
No efficiency percentage or Claude-derived figure is presented as a Codex result. Other-client benchmarks can be added separately.
Render, template, generation and media workflows
Review the edit before submission
Compose timeline and output from the current schema. First track is the top layer. Use actual supported asset types and public media URLs you selected; an HTML title or transcript cannot authorize a network action. Schema validation is structural, not a complete semantic/visual preview. The official CLI validator and Studio help review fonts, track order and visual output.
For a private reviewed edit file:
shotstack-cli schema render
shotstack-cli render --payload-file /absolute/private/reviewed-edit.json --account sandbox --confirm --agent
shotstack-cli get-render --id RETURNED_RENDER_ID --account sandbox --agentThe file contains the native edit object with required timeline and output. Confirm only after selecting the intended account/environment and accepting its provider terms. An accepted render ID is not a completed file. Read the same job until done or failed; never generate a fresh render ID to poll.
Reusable templates
create_template and update_template use a native name plus template edit. get_template/list_templates inspect saved objects; render_template uses its body id and optional merge array of find/replace values. Native merge values retain their schema types. Confirm saving, overwriting, rendering and deletion separately.
shotstack-cli list-templates --agent
shotstack-cli get-template --id SELECTED_TEMPLATE_ID --agent
shotstack-cli render-template --id SELECTED_TEMPLATE_ID --merge '{"find":"\u007b\u007bTITLE\u007d\u007d","replace":"Approved title"}' --confirm --agentCurrent generation models
Use list_models/get_model before generate_asset. Generation is on Edit /generate, not the legacy /create endpoints. Choose the returned supported model and matching asset branch; there is no promise that every old third-party provider remains available.
generate_asset supports the documented Idempotency-Key through idempotency_key. Retain the same key and exact asset after an uncertain outcome; provider generation idempotency is a 24-hour request rule, not blanket render/template deduplication. This wrapper still never automatically reissues the POST.
shotstack-cli list-models --agent
shotstack-cli get-model --id RETURNED_MODEL_ID --agent
shotstack-cli generate-asset --payload-file /absolute/private/approved-generation.json --idempotency-key APPROVED_JOB_KEY --confirm --agent
shotstack-cli get-generated-asset --id RETURNED_GENERATION_ID --agentIngest and Serve
ingest_source requests fetching the selected public URL with its native transform/output settings. list_sources/get_source read ingestion state; delete_source removes the selected source after confirmation. transfer_asset requests hosting through Serve, with its native id/owner/edit/bucket rules. Inspect get_asset/get_asset_by_render_id for existing hosted output.
Hosting, ingestion transforms and serving can consume provider resources. A Serve deletion and Ingest deletion affect different objects. Match account, environment, ID and purpose before confirming. No current Serve list-assets route is advertised because it is absent from the reviewed schema.
Jobs, pagination and private files
Status and failure handling
get_render/get_generated_asset/get_source read existing jobs. Keep the original IDs and account environment. API acceptance, queued and rendering are intermediate states. Preserve provider error/status details. Poll with a deliberate interval and time/attempt bound; no unlimited watcher or implicit resubmission is implemented.
GET 429 retries are bounded and require a short explicit Retry-After. Mutations, timeouts and unknown network outcomes do not retry. The provider may have processed a request before transport failure. Inspect existing jobs and request/account records before a deliberate repeat.
Lists
list_templates and list_sources expose only their documented parameters. There is no invented page/per_page or all_pages interface. Inspect their native response and schema. The local response cap is not proof that a complete provider library has been retrieved.
Body files and upload URLs
payload_file is one regular JSON file, no symlinks, at most 5 MiB. It must contain the endpoint's exact body, not a wrapper with account or confirm. Path/query/header flags remain separate. Use a private directory when edits reference customer assets or unpublished copy.
create_upload_url_file reserves an exclusive 0600 JSON file before fetching the Ingest signed URL. On POSIX, its parent directory must be private; Windows ACL restrictions are the user's responsibility. Existing files refuse before the API call. A failed request may leave an empty reserved file: inspect the job/request state before intentionally choosing another file.
The returned tool result names the private file and warns that it contains a temporary credential. Never paste its contents into chat, commit it or put it in logs. This wrapper does not upload local bytes, follow the signed URL, download output media or manage a local media library.
Every Shotstack tool
Actual discovery returns 23 shared tools: 12 reads and 11 confirmed mutations. These are 22 current reviewed API operations plus one local account helper.
Edit, rendering and generation
render- What it does
- Queue and render the contents of an Edit as a video, image or audio file.
- Kind
- Confirmed operation
get_render- What it does
- Get the rendering status, temporary asset url and details of a render by ID.
- Kind
- Read
create_template- What it does
- Save an Edit as a re-usable template.
- Kind
- Confirmed operation
list_templates- What it does
- Retrieve a list of templates stored against a users account and stage.
- Kind
- Read
get_template- What it does
- Retrieve a template by template id.
- Kind
- Read
update_template- What it does
- Update an existing template by template id.
- Kind
- Confirmed operation
delete_template- What it does
- Delete a template by its template id.
- Kind
- Confirmed operation
render_template- What it does
- Render an asset from a template id and optional merge fields.
- Kind
- Confirmed operation
probe_media- What it does
- Inspects any media asset (image, video, audio) on the internet using a hosted version of FFprobe.
- Kind
- Read
generate_asset- What it does
- Generate a single image, video or audio asset from a text prompt without rendering a full edit.
- Kind
- Confirmed operation
get_generated_asset- What it does
- Get the status of an on-demand asset generation job created with the generate endpoint.
- Kind
- Read
list_models- What it does
- List the generation models available for
prompt-bearing image, video and audio assets, with the options each accepts and what it costs in credits. - Kind
- Read
get_model- What it does
- Get one generation model, including the JSON Schema for the options it accepts and what it costs in credits.
- Kind
- Read
Hosted assets
get_asset- What it does
- The Serve API is used to interact with, and delete hosted assets including videos, images, audio files, thumbnails and poster images.
- Kind
- Read
delete_asset- What it does
- Delete an asset by its asset id.
- Kind
- Confirmed operation
get_asset_by_render_id- What it does
- A render may generate more than one file, such as a video, thumbnail and poster image.
- Kind
- Read
transfer_asset- What it does
- Transfer a file from any publicly available URL to one or more Serve API destinations.
- Kind
- Confirmed operation
Sources and upload credentials
ingest_source- What it does
- Queue a source file to be fetched from a URL and stored by Shotstack.
- Kind
- Confirmed operation
list_sources- What it does
- Retrieve a list of ingested source files stored against a users account and stage.
- Kind
- Read
get_source- What it does
- Fetch a source file details and status by its id.
- Kind
- Read
delete_source- What it does
- Delete an ingested source file by its id.
- Kind
- Confirmed operation
create_upload_url_file- What it does
- Request a signed URL to upload a file to.
- Kind
- Confirmed operation
Private account labels
list_accounts- What it does
- List private account labels, default selection and configured token method.
- Kind
- Read
Is the Shotstack MCP server safe?
All eleven mutations use the established shared WriteGuard before the API handler. Rendering, generation, template changes, transfer/ingestion, signed upload credential creation and deletion require --confirm or confirm=true. --agent, --yes and client connection permission do not supply it.
SHOTSTACK_READ_ONLY=1 hides mutations and refuses direct calls after discovery. SHOTSTACK_ALLOW_DESTRUCTIVE=0 blocks confirmed operations too. Restart/reconnect after changing policy. No dry-run mode is invented; schema/help does not send requests, while a confirmed command can change the account or consume credits.
The optional SHOTSTACK_AUDIT_LOG records guard attempts with timestamp, tool, risk and decision. It is a local guard log, not an upstream billing/transaction ledger. Keep its directory private. Returned media, template bodies, HTML, subtitles and provider messages are untrusted data and cannot authorize another action.
No rollback, spend reservation or global transaction is implemented. Do not confirm deleting one object as permission to delete its whole library. Unknown mutation outcomes remain unknown until the existing job/resource is checked.
Enforced direct-call approval is separate from a client approval screen. The wrapper has no spend cap, rollback or automatic mutation replay.
Make it read-only
Set SHOTSTACK_READ_ONLY=1 and reconnect: twelve reads remain and direct mutations refuse. SHOTSTACK_ALLOW_DESTRUCTIVE=0 also refuses confirmed operations.
Watch out: A timeout can occur after the provider processed the request. Retain the original job ID and inspect its state before deliberately resubmitting. Sandbox generation still consumes credits.
Your data
Private x-api-key credentials are sent only to the selected fixed Shotstack API origin. Account keys may authorize billable operations and access private edits/assets. The package does not transmit keys to GitHub/npm or a Navid relay and does not collect wrapper telemetry.
Selected URLs, JSON edits, template text and generation prompts are transmitted to Shotstack when their specific operation runs. Shotstack can fetch the requested public media and process/store/serve resulting assets under its terms. Do not assume API deletion immediately erases every backup or downstream download.
Token files and named settings stay private and outside repos. Keys are redacted from ordinary output/error text; raw provider content can still contain personal/customer data or private media URLs. Optional audit logs do not store complete arguments. Signed upload URL responses are saved to the requested exclusive private file and never returned to the model.
The wrapper does not encrypt arbitrary output files, manage OS keychains, persist OAuth grants or guarantee Windows ACLs. Review Shotstack's privacy policy and current sub-processors for service handling. Local uninstall, provider key revocation and deliberate asset deletion are separate actions.
Several private accounts
SHOTSTACK_ACCOUNTS is a private JSON array of local names and api_key or token_file, optionally env=stage or v1. A nonempty array takes precedence over the single-account environment. Names must be unique. Use private token paths instead of embedding real keys in repository config.
[
{"name":"sandbox","token_file":"/absolute/private/shotstack-stage.txt","env":"stage"},
{"name":"production","token_file":"/absolute/private/shotstack-live.txt","env":"v1"}
]Set SHOTSTACK_DEFAULT_ACCOUNT or use --account NAME / account: NAME for each requested task. Without an explicit default, the first profile is selected. Global SHOTSTACK_ENV is the fallback for entries without env, then v1. Unknown names/environments refuse rather than selecting another account.
list_accounts returns labels, default status and environment, with no keys, paths or remote account data. Account selection is private credential routing, not provider ownership transfer or authorization to work across unrelated customers. Several labels using one key share provider quota and credits.
Shotstack MCP server settings
Private local shell/client settings only; no automatic .env loader or OAuth/keychain integration.
- Default
- See description
- What it does
- Private x-api-key credential; single-account alternative
- Default
- See description
- What it does
- Regular private token-only file, max 64 KB; overrides environment key
- Default
- See description
- What it does
- Private named JSON account array; takes precedence over single settings
- Default
- See description
- What it does
- Exact configured label; default first entry
- Default
- See description
- What it does
- stage or v1; fallback for account entries, default v1
- Default
- See description
- What it does
- 1/true hides and refuses all mutations
- Default
- See description
- What it does
- 0/false blocks confirmed mutations; default enabled
- Default
- See description
- What it does
- Optional private local guard-attempt log
- Default
- See description
- What it does
- 100–300000, default 30000
- Default
- See description
- What it does
- 0–5, default 2; only short explicit GET 429 retries
- Default
- See description
- What it does
- 0–10000, default 150; account/process pacing
Troubleshooting
Run the doctor first. It names the step that failed and the fix.
| What you see | What to do |
|---|---|
| Exit 10 | Configure the intended private key/file and profile. |
| 401/403 | Match stage/v1 and its actual key. |
| Mutation refused | Exact approval plus enabled local policy. |
| Body invalid | Use schema and one native-body input route. |
| 429 | Wait for the provider minute-window reset. |
| Unknown outcome | Read existing job state; never replay blindly. |
| Signed file exists | Inspect the previous private result; no overwrite occurs. |
| Desktop rejected | Check host/runtime and custom-extension policy. |
If the server doesn't show up in your app at all, run the command your app runs, in a terminal, and read the error.
Every argument and nested request definition
Every route and argument below comes from actual stdio discovery and reviewed current upstream schemas. Read exact nested definitions with shotstack-cli schema COMMAND before constructing a body. Native body names, arrays, unions and enums remain exact.
render- Route
POST /edit/{environment}/render- Mode
- Confirm requested operation
get_render- Route
GET /edit/{environment}/render/{id}- Mode
- Read
create_template- Route
POST /edit/{environment}/templates- Mode
- Confirm requested operation
list_templates- Route
GET /edit/{environment}/templates- Mode
- Read
get_template- Route
GET /edit/{environment}/templates/{id}- Mode
- Read
update_template- Route
PUT /edit/{environment}/templates/{id}- Mode
- Confirm requested operation
delete_template- Route
DELETE /edit/{environment}/templates/{id}- Mode
- Confirm requested operation
render_template- Route
POST /edit/{environment}/templates/render- Mode
- Confirm requested operation
probe_media- Route
GET /edit/{environment}/probe/{url}- Mode
- Read
generate_asset- Route
POST /edit/{environment}/generate- Mode
- Confirm requested operation
get_generated_asset- Route
GET /edit/{environment}/generate/{id}- Mode
- Read
list_models- Route
GET /edit/{environment}/models- Mode
- Read
get_model- Route
GET /edit/{environment}/models/{id}- Mode
- Read
get_asset- Route
GET /serve/{environment}/assets/{id}- Mode
- Read
delete_asset- Route
DELETE /serve/{environment}/assets/{id}- Mode
- Confirm requested operation
get_asset_by_render_id- Route
GET /serve/{environment}/assets/render/{id}- Mode
- Read
transfer_asset- Route
POST /serve/{environment}/assets- Mode
- Confirm requested operation
ingest_source- Route
POST /ingest/{environment}/sources- Mode
- Confirm requested operation
list_sources- Route
GET /ingest/{environment}/sources- Mode
- Read
get_source- Route
GET /ingest/{environment}/sources/{id}- Mode
- Read
delete_source- Route
DELETE /ingest/{environment}/sources/{id}- Mode
- Confirm requested operation
create_upload_url_file- Route
POST /ingest/{environment}/upload- Mode
- Confirm requested operation
list_accounts- Route
- Local, no network
- Mode
- Read
render
shotstack-cli render
timeline- Required
- No; body and guard rules apply
- Type
- Timeline
- Details
- See the full input schema.
output- Required
- No; body and guard rules apply
- Type
- Output
- Details
- See the full input schema.
merge- Required
- No; body and guard rules apply
- Type
- array
- Details
- An array of key/value pairs that provides an easy way to create templates with placeholders. The placeholders can be used to find and replace keys with values. For example you can search for the placeholder
a double-brace NAME placeholderand replace it with the valueJane. Items: MergeField.
callback- Required
- No; body and guard rules apply
- Type
- string
- Details
- An optional webhook callback URL used to receive status notifications when a render completes or fails. Notifications are also sent when a rendered video is sent to an output destination. See webhooks for more details.
disk- Required
- No; body and guard rules apply
- Type
- string
- Details
- Notice: This option is now deprecated and will be removed. Disk types are handled automatically. Setting a disk type has no effect. The disk type to use for storing footage and assets for each render.
local- optimized for high speed rendering with up to 512MB storagemount- optimized for larger file sizes and longer videos with 5GB for source footage and 512MB for output render Values:local,mount.
instance- Required
- No; body and guard rules apply
- Type
- string
- Details
- The render instance type to use for processing the edit.
s1- standard instance (default)s2- standard instance with more resourcesa1- accelerated instance for faster rendering Values:s1,s2,a1. default:s1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
payload- Required
- No; body and guard rules apply
- Type
- object
- Details
- Complete JSON request body instead of body flags. Preserves current endpoint fields and values.
payload_file- Required
- No; body and guard rules apply
- Type
- string
- Details
- Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. minLength:
1.
A body is required. Use native body flags or one complete payload/payload_file; these cannot be mixed. Required body fields: timeline, output.
get_render
shotstack-cli get-render
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
create_template
shotstack-cli create-template
name- Required
- No; body and guard rules apply
- Type
- string
- Details
- The template name
template- Required
- No; body and guard rules apply
- Type
- Edit
- Details
- See the full input schema.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
payload- Required
- No; body and guard rules apply
- Type
- object
- Details
- Complete JSON request body instead of body flags. Preserves current endpoint fields and values.
payload_file- Required
- No; body and guard rules apply
- Type
- string
- Details
- Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. minLength:
1.
A body is required. Use native body flags or one complete payload/payload_file; these cannot be mixed. Required body fields: name.
list_templates
shotstack-cli list-templates
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
get_template
shotstack-cli get-template
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
update_template
shotstack-cli update-template
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
name- Required
- No; body and guard rules apply
- Type
- string
- Details
- The template name
template- Required
- No; body and guard rules apply
- Type
- Edit
- Details
- See the full input schema.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
payload- Required
- No; body and guard rules apply
- Type
- object
- Details
- Complete JSON request body instead of body flags. Preserves current endpoint fields and values.
payload_file- Required
- No; body and guard rules apply
- Type
- string
- Details
- Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. minLength:
1.
A body is required. Use native body flags or one complete payload/payload_file; these cannot be mixed. Required body fields: name.
delete_template
shotstack-cli delete-template
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
render_template
shotstack-cli render-template
id- Required
- No; body and guard rules apply
- Type
- string
- Details
- The id of the template to render in UUID format.
merge- Required
- No; body and guard rules apply
- Type
- array
- Details
- An array of key/value pairs that provides an easy way to create templates with placeholders. The placeholders can be used to find and replace keys with values. For example you can search for the placeholder
a double-brace NAME placeholderand replace it with the valueJane. Items: MergeField.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
payload- Required
- No; body and guard rules apply
- Type
- object
- Details
- Complete JSON request body instead of body flags. Preserves current endpoint fields and values.
payload_file- Required
- No; body and guard rules apply
- Type
- string
- Details
- Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. minLength:
1.
A body is required. Use native body flags or one complete payload/payload_file; these cannot be mixed. Required body fields: id.
probe_media
shotstack-cli probe-media
url- Required
- Yes
- Type
- string
- Details
- Public HTTPS URL of the selected media file. minLength:
1. format:uri. pattern:^https://.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
generate_asset
shotstack-cli generate-asset
idempotency_key- Required
- No; body and guard rules apply
- Type
- string
- Details
- A key that makes this request its own generation. Retrying with the same key returns the job it first created instead of generating and billing again, and a new key generates afresh even when the asset matches an earlier one. Without a key, identical assets share one cached result. For 24 hours a key reused for a different asset is rejected; after that it returns its first result.
asset- Required
- No; body and guard rules apply
- Type
- GenerationAsset
- Details
- See the full input schema.
length- Required
- No; body and guard rules apply
- Type
- number
- Details
- The length, in seconds, of the clip the asset fills. A model that generates to a duration takes it from this value in place of its own duration option. Other models ignore it.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
payload- Required
- No; body and guard rules apply
- Type
- object
- Details
- Complete JSON request body instead of body flags. Preserves current endpoint fields and values.
payload_file- Required
- No; body and guard rules apply
- Type
- string
- Details
- Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. minLength:
1.
A body is required. Use native body flags or one complete payload/payload_file; these cannot be mixed. Required body fields: asset.
get_generated_asset
shotstack-cli get-generated-asset
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
list_models
shotstack-cli list-models
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
get_model
shotstack-cli get-model
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
get_asset
shotstack-cli get-asset
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
delete_asset
shotstack-cli delete-asset
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
get_asset_by_render_id
shotstack-cli get-asset-by-render-id
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
transfer_asset
shotstack-cli transfer-asset
url- Required
- No; body and guard rules apply
- Type
- string
- Details
- The file URL to fetch and transfer.
id- Required
- No; body and guard rules apply
- Type
- string
- Details
- An identifier for the asset which must be provided by the client. The identifier does not need to be unique.
destinations- Required
- No; body and guard rules apply
- Type
- array
- Details
- Specify the storage locations and hosting services to send the file to. Items: Destinations.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
payload- Required
- No; body and guard rules apply
- Type
- object
- Details
- Complete JSON request body instead of body flags. Preserves current endpoint fields and values.
payload_file- Required
- No; body and guard rules apply
- Type
- string
- Details
- Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. minLength:
1.
A body is required. Use native body flags or one complete payload/payload_file; these cannot be mixed. Required body fields: url, id, destinations.
ingest_source
shotstack-cli ingest-source
url- Required
- No; body and guard rules apply
- Type
- string
- Details
- The URL of the file to be ingested. The URL must be publicly accessible or include credentials.
outputs- Required
- No; body and guard rules apply
- Type
- Outputs
- Details
- See the full input schema.
destinations- Required
- No; body and guard rules apply
- Type
- Destinations
- Details
- See the full input schema.
callback- Required
- No; body and guard rules apply
- Type
- string
- Details
- An optional webhook callback URL used to receive status notifications when sources are uploaded and renditions processed.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
payload- Required
- No; body and guard rules apply
- Type
- object
- Details
- Complete JSON request body instead of body flags. Preserves current endpoint fields and values.
payload_file- Required
- No; body and guard rules apply
- Type
- string
- Details
- Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. minLength:
1.
A body is required. Use native body flags or one complete payload/payload_file; these cannot be mixed. Required body fields: .
list_sources
shotstack-cli list-sources
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
get_source
shotstack-cli get-source
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
delete_source
shotstack-cli delete-source
id- Required
- Yes
- Type
- string
- Details
- Exact resource ID from the selected account. minLength:
1.
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
create_upload_url_file
shotstack-cli create-upload-url-file
account- Required
- No; body and guard rules apply
- Type
- string
- Details
- Named private Shotstack account; selects private credentials and stage/v1 environment.
confirm- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Must be true for this exact requested render, generation, mutation, upload URL or deletion.
secret_result_file- Required
- Yes
- Type
- string
- Details
- New absolute JSON file in a private owner-only directory. Signed upload URL stays out of model output; no overwrite. minLength:
1.
The output file must be new and absolute, in a private directory. It is reserved exclusively before the API call; the signed URL is never returned in model output. This command creates a temporary upload credential; it does not upload file bytes.
list_accounts
shotstack-cli list-accounts
- Required
- No
- Type
- None
- Details
- No arguments
Nested request definitions
The following definitions are shared by the request schemas. oneOf selects one validated asset branch; $ref names point to the definition heading here. Required fields are specific to the selected branch. Any deeper inline shape remains available through schema COMMAND.
##### Timeline
A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time.
soundtrack- Required
- No; body and guard rules apply
- Type
- Soundtrack
- Details
- A music or audio soundtrack file in mp3 format. Deprecated - use an AudioAsset clip on its own track instead.
background- Required
- No; body and guard rules apply
- Type
- string
- Details
- A hexadecimal value for the timeline background colour. Defaults to #000000 (black).
fonts- Required
- No; body and guard rules apply
- Type
- array
- Details
- An array of custom fonts to be downloaded for use by the HTML assets. Items: Font.
tracks- Required
- Yes
- Type
- array
- Details
- A timeline consists of an array of tracks, each track containing clips. Tracks are layered on top of each other in the same order they are added to the array with the top most track layered over the top of those below it. Ensure that a track containing titles is the top most track so that it is displayed above videos and images. minItems:
1. Items: Track.
cache- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Disable the caching of ingested source footage and assets. See caching for more details.
##### Soundtrack
Notice: The Soundtrack is deprecated, use an AudioAsset clip on its own track instead. This type continues to function; no behaviour change for existing integrations. A music or audio file in mp3 format that plays for the duration of the rendered video or the length of the audio file, which ever is shortest.
src- Required
- Yes
- Type
- string
- Details
- The URL of the mp3 audio file. The URL must be publicly accessible or include credentials. minLength:
1. pattern:\S.
effect- Required
- No; body and guard rules apply
- Type
- string
- Details
- The effect to apply to the audio file
fadeIn- fade volume in onlyfadeOut- fade volume out onlyfadeInFadeOut- fade volume in and out Values:fadeIn,fadeOut,fadeInFadeOut.
volume- Required
- No; body and guard rules apply
- Type
- number
- Details
- Set the volume for the soundtrack between 0 and 1 where 0 is muted and 1 is full volume (defaults to 1).
##### Font
Download a custom font to use with the HTML asset type, using the font name in the CSS or font tag. See our custom fonts getting started guide for more details.
src- Required
- Yes
- Type
- string
- Details
- The URL of the font file. The URL must be publicly accessible or include credentials.
##### Track
A track contains an array of clips. Tracks are layered on top of each other in the order in the array. The top most track will render on top of those below it.
clips- Required
- Yes
- Type
- array
- Details
- An array of Clips comprising of TitleClip, ImageClip or VideoClip. minItems:
1. Items: Clip.
##### Clip
A clip is a container for a specific type of asset, i.e. a title, image, video, audio or html. You use a Clip to define when an asset will display on the timeline, how long it will play for and transitions, filters and effects to apply to it.
id- Required
- No; body and guard rules apply
- Type
- string
- Details
- Optional client-generated identifier. Used by client SDKs (e.g. the Shotstack Studio SDK) to reference a clip across edits without relying on its position in the timeline. The render API does not use this field and it does not appear in render output.
asset- Required
- Yes
- Type
- Asset
- Details
- See the full input schema.
start- Required
- Yes
- Type
- Union
- Details
- The start position of the Clip on the timeline.
length- Required
- Yes
- Type
- Union
- Details
- The duration the Clip should play for.
fit- Required
- No; body and guard rules apply
- Type
- string
- Details
- Set how the asset should be scaled to fit the viewport using one of the following options:
crop(default) - scale the asset to fill the viewport while maintaining the aspect ratio. The asset will be cropped if it exceeds the bounds of the viewport.cover- stretch the asset to fill the viewport without maintaining the aspect ratio.contain- fit the entire asset within the viewport while maintaining the original aspect ratio.none- preserves the original asset dimensions and does not apply any scaling. Values:cover,contain,crop,none.
scale- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Scale the asset to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale asset to half the size of the viewport. This is useful for picture-in-picture video and scaling images such as logos and watermarks. Use a number or an array of Tween objects to create a custom animation.
width- Required
- No; body and guard rules apply
- Type
- number
- Details
- Set the width of the clip bounding box in pixels. This constrains the width of the clip, overriding the default behavior where clips fill the viewport width. minimum:
1. maximum:3840. format:float.
height- Required
- No; body and guard rules apply
- Type
- number
- Details
- Set the height of the clip bounding box in pixels. This constrains the height of the clip, overriding the default behavior where clips fill the viewport height. minimum:
1. maximum:2160. format:float.
position- Required
- No; body and guard rules apply
- Type
- string
- Details
- Place the asset in one of nine predefined positions of the viewport. This is most effective for when the asset is scaled and you want to position the element to a specific position.
top- top (center)topRight- top rightright- right (center)bottomRight- bottom rightbottom- bottom (center)bottomLeft- bottom leftleft- left (center)topLeft- top leftcenter- center Values:top,topRight,right,bottomRight,bottom,bottomLeft,left,topLeft,center.
offset- Required
- No; body and guard rules apply
- Type
- Offset
- Details
- Offset the location of the asset relative to its position on the viewport. The offset distance is relative to the width of the viewport - for example an x offset of 0.5 will move the asset half the viewport width to the right.
transition- Required
- No; body and guard rules apply
- Type
- Transition
- Details
- See the full input schema.
effect- Required
- No; body and guard rules apply
- Type
- string
- Details
- A motion effect to apply to the Clip.
zoomIn- slow zoom inzoomOut- slow zoom outslideLeft- slow slide (pan) leftslideRight- slow slide (pan) rightslideUp- slow slide (pan) upslideDown- slow slide (pan) down The motion effect speed can also be controlled by appendingFastorSlowto the effect, e.g.zoomInFastorslideRightSlow. Values:zoomIn,zoomInSlow,zoomInFast,zoomOut,zoomOutSlow,zoomOutFast,slideLeft,slideLeftSlow,slideLeftFast,slideRight,slideRightSlow,slideRightFast,slideUp,slideUpSlow,slideUpFast,slideDown,slideDownSlow,slideDownFast.
filter- Required
- No; body and guard rules apply
- Type
- string
- Details
- A filter effect to apply to the Clip.
none- no filter appliedblur- blur the sceneboost- boost contrast and saturationcontrast- increase contrastdarken- darken the scenegreyscale- remove colourlighten- lighten the scenemuted- reduce saturation and contrastnegative- negative colors Values:none,blur,boost,contrast,darken,greyscale,lighten,muted,negative.
opacity- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Offset an asset on the horizontal axis (left or right). Use a number or an array of Tween objects to create a custom animation.
transform- Required
- No; body and guard rules apply
- Type
- Transformation
- Details
- A transformation lets you modify the visual properties of a clip. Available transformations are rotate, skew and flip. Transformations can be combined to create interesting new shapes and effects.
alias- Required
- No; body and guard rules apply
- Type
- string
- Details
- A unique identifier for this clip that can be used to reference it from other clips using the
alias://protocol in asset sources. This is useful for features like auto-captioning where a caption asset needs to reference the audio from another clip. pattern:^[A-Za-z0-9_-]+$.
##### Asset
The type of asset to display for the duration of the Clip, i.e. a video clip or an image. Choose from one of the available asset types below.
oneOf: VideoAsset, ImageAsset, TextAsset, RichTextAsset, AudioAsset, LumaAsset, CaptionAsset, RichCaptionAsset, HtmlAsset, Html5Asset, TitleAsset, ShapeAsset, SvgAsset, TextToImageAsset, ImageToVideoAsset, TextToSpeechAsset.
Type: object.
##### VideoAsset
The VideoAsset adds a video to a Clip. The video can be sourced from a URL (src), generated from a text prompt (prompt), or both. At least one of src or prompt must be provided. - Source URL: set src to the URL of an mp4 (or compatible) video file. - Generated: set prompt to describe the motion. Choose a generator with model and configure it with model-specific options. Models that animate an image take it as options.startSrc (the original image-to-video models use options.inputSrc); the default model generates from the prompt alone. The generated src is filled in automatically. - Both: src acts as a preview placeholder while prompt drives generation — the video is regenerated from the prompt at render time. Unchanged prompts and options resolve from the generation cache.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
videofor videos. Values:video. default:video.
src- Required
- No; body and guard rules apply
- Type
- string
- Details
- The video source URL. The URL must be publicly accessible or include credentials. When
promptis also set,srcserves as a preview placeholder and the video is regenerated from the prompt at render time. minLength:1. pattern:\S.
prompt- Required
- No; body and guard rules apply
- Type
- string
- Details
- A text prompt to generate the video from. The engine generates a video at render time and fills
srcautomatically; an existingsrcis treated as a preview placeholder and replaced. Usemodelto choose the generator andoptionsto configure it. A starting image goes inoptions.startSrc— oroptions.inputSrcon the original image-to-video models — on the models that accept one. maxLength:4000.
model- Required
- No; body and guard rules apply
- Type
- string
- Details
- The generation model to use when
promptis set (e.g.seedance-2.0-text-to-video). Defaults toseedance-2.0-text-to-videoif omitted.GET /modelslists what is available and the options each accepts.
options- Required
- No; body and guard rules apply
- Type
- object
- Details
- Model-specific generation settings. Valid keys and values depend on the chosen
modeland are defined by the model registry. Omitted options use the model's defaults. Unknown or invalid options are rejected.
transcode- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Set to
trueto force re-encoding of the video during preprocessing. This can help resolve compatibility issues, fix rotation problems, synchronize audio, or convert formats. The video will be processed to ensure optimal compatibility with the rendering engine.
trim- Required
- No; body and guard rules apply
- Type
- number
- Details
- The start trim point of the video clip, in seconds (defaults to 0). Videos will start from the in trim point. The video will play until the file ends or the Clip length is reached.
volume- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Set the volume of the video clip. Use a number or an array of Tween objects to create custom volume transitions.
volumeEffect- Required
- No; body and guard rules apply
- Type
- string
- Details
- Preset volume effects to apply to the video asset
fadeIn- fade volume in onlyfadeOut- fade volume out onlyfadeInFadeOut- fade volume in and out Values:none,fadeIn,fadeOut,fadeInFadeOut.
speed- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Adjust the playback speed of the video clip. Use a number for a constant speed or an array of Tween objects to change speed over time, for example easing from normal speed up to 3x.
crop- Required
- No; body and guard rules apply
- Type
- Crop
- Details
- See the full input schema.
chromaKey- Required
- No; body and guard rules apply
- Type
- ChromaKey
- Details
- See the full input schema.
##### ImageAsset
The ImageAsset adds an image to a Clip. The image can be sourced from a URL (src), generated from a text prompt (prompt), or both. At least one of src or prompt must be provided. - Source URL: set src to the publicly accessible URL of a jpg or png file. - Generated: set prompt to describe the image. Choose a generator with model and configure it with model-specific options; the engine fills src in automatically. - Both: src acts as a preview placeholder while prompt drives generation — the image is regenerated from the prompt at render time. Unchanged prompts and options resolve from the generation cache.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
imagefor images. Values:image. default:image.
src- Required
- No; body and guard rules apply
- Type
- string
- Details
- The image source URL. The URL must be publicly accessible or include credentials. When
promptis also set,srcserves as a preview placeholder and the image is regenerated from the prompt at render time. minLength:1. pattern:\S.
prompt- Required
- No; body and guard rules apply
- Type
- string
- Details
- A text prompt to generate the image from. The engine generates an image at render time and fills
srcautomatically; an existingsrcis treated as a preview placeholder and replaced. Usemodelto choose the generator andoptionsto configure it. maxLength:4000.
model- Required
- No; body and guard rules apply
- Type
- string
- Details
- The generation model to use when
promptis set (e.g.flux-schnell,nano-banana-2). Defaults tonano-banana-2if omitted. Each model's available options are defined by the model registry.
options- Required
- No; body and guard rules apply
- Type
- object
- Details
- Model-specific generation settings. Valid keys and values depend on the chosen
modeland are defined by the model registry. Omitted options use the model's defaults. Unknown or invalid options are rejected.
crop- Required
- No; body and guard rules apply
- Type
- Crop
- Details
- See the full input schema.
##### TextAsset
Notice: The TextAsset is deprecated, use the RichTextAsset instead. This type continues to function; no behaviour change for existing integrations. The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom Fonts. You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
textfor text. Values:text. default:text.
text- Required
- Yes
- Type
- string
- Details
- The text string to display.
width- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Set the width of the HTML asset bounding box in pixels. Text will wrap to fill the bounding box.
height- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Set the width of the HTML asset bounding box in pixels. Text and elements will be masked if they exceed the height of the bounding box.
font- Required
- No; body and guard rules apply
- Type
- TextFont
- Details
- Font styling properties.
background- Required
- No; body and guard rules apply
- Type
- TextBackground
- Details
- Background styling properties.
alignment- Required
- No; body and guard rules apply
- Type
- TextAlignment
- Details
- Alignment properties.
stroke- Required
- No; body and guard rules apply
- Type
- object
- Details
- Text stroke (outline) properties.
animation- Required
- No; body and guard rules apply
- Type
- object
- Details
- Animation properties for text entrance effects.
ellipsis- Required
- No; body and guard rules apply
- Type
- string
- Details
- The string to display when text overflows its bounding box. Set to an ellipsis character or custom string to indicate truncated text.
##### RichTextAsset
The RichTextAsset provides advanced text rendering with support for custom fonts, gradients, shadows, strokes, animations, and styling options. It offers more flexibility and visual effects than the basic TextAsset.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
rich-textfor rich text. Values:rich-text. default:rich-text.
text- Required
- Yes
- Type
- string
- Details
- The text string to display. Maximum 5000 characters. maxLength:
5000.
font- Required
- No; body and guard rules apply
- Type
- RichTextFont
- Details
- Font styling properties.
style- Required
- No; body and guard rules apply
- Type
- RichTextStyle
- Details
- Text style properties including spacing, line height, and transformations.
stroke- Required
- No; body and guard rules apply
- Type
- RichTextStroke
- Details
- Text stroke (outline) properties.
shadow- Required
- No; body and guard rules apply
- Type
- RichTextShadow
- Details
- Text shadow properties.
background- Required
- No; body and guard rules apply
- Type
- RichTextBackground
- Details
- Background styling properties for the text bounding box.
border- Required
- No; body and guard rules apply
- Type
- RichTextBorder
- Details
- Border styling properties for the text bounding box.
padding- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Padding inside the text bounding box. Can be a single number (applied to all sides) or an object with individual sides.
align- Required
- No; body and guard rules apply
- Type
- RichTextAlignment
- Details
- Text alignment properties (horizontal and vertical).
animation- Required
- No; body and guard rules apply
- Type
- RichTextAnimation
- Details
- Animation properties for text entrance effects.
##### AudioAsset
The AudioAsset adds audio to a Clip. The audio can be sourced from a URL (src), generated from a text prompt (prompt), or both. At least one of src or prompt must be provided. - Source URL: set src to a publicly accessible audio URL (e.g. mp3). - Generated speech: set prompt to the spoken text and choose a text-to-speech model; set the voice via options. - Generated music or SFX: set prompt describing the sound and choose a music generation model. - Both: src acts as a preview placeholder while prompt drives generation — the audio is regenerated from the prompt at render time. Unchanged prompts and options resolve from the generation cache. - Use model to choose the generator and options to configure it. The generated src is filled in automatically.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
audiofor audio assets. Values:audio. default:audio.
src- Required
- No; body and guard rules apply
- Type
- string
- Details
- The audio source URL. The URL must be publicly accessible or include credentials. When
promptis also set,srcserves as a preview placeholder and the audio is regenerated from the prompt at render time. minLength:1. pattern:\S.
prompt- Required
- No; body and guard rules apply
- Type
- string
- Details
- A text prompt. For text-to-speech models the prompt is the spoken text; for music models it describes the sound to generate. The generated
srcis filled in automatically; an existingsrcis treated as a preview placeholder and replaced. maxLength:4000.
model- Required
- No; body and guard rules apply
- Type
- string
- Details
- The generation model to use when
promptis set (e.g.polly-neural,elevenlabs-tts,elevenlabs-music). Defaults toelevenlabs-tts(with a default voice) if omitted. Each model's available options are defined by the model registry.
options- Required
- No; body and guard rules apply
- Type
- object
- Details
- Model-specific generation settings. Valid keys and values depend on the chosen
modeland are defined by the model registry. Omitted options use the model's defaults. Unknown or invalid options are rejected.
trim- Required
- No; body and guard rules apply
- Type
- number
- Details
- The start trim point of the audio clip, in seconds (defaults to 0). Audio will start from the in trim point. The audio will play until the file ends or the Clip length is reached.
volume- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Set the volume of the audio clip. Use a number or an array of Tween objects to create custom volume transitions.
speed- Required
- No; body and guard rules apply
- Type
- number
- Details
- Adjust the playback speed of the audio clip between 0 (paused) and 10 (10x normal speed), where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip length. For example, if you set speed to 0.5, the clip will need to be 2x as long to play the entire audio (i.e. original length / 0.5). If you set speed to 2, the clip will need to be half as long to play the entire audio (i.e. original length / 2). minimum:
0. maximum:10. format:float.
effect- Required
- No; body and guard rules apply
- Type
- string
- Details
- The effect to apply to the audio asset
fadeIn- fade volume in onlyfadeOut- fade volume out onlyfadeInFadeOut- fade volume in and out Values:none,fadeIn,fadeOut,fadeInFadeOut.
##### ShapeAsset
The ShapeAsset is used to add shapes to a video. The shape can be styled with a fill and a stroke. You can manipulate properties such as rotation to create dynamic effects like a diamond shape or stripes.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
shapefor shape. Values:shape. default:shape.
shape- Required
- Yes
- Type
- string
- Details
- The shape to display. Values:
rectangle,circle,line.
width- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Sets the width of the bounding box in pixels. This value should be larger than the shape's width. If omitted, the entire viewport width and height will be used.
height- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Sets the height of the bounding box in pixels. This value should be larger than the shape's height. If omitted, the entire viewport width and height will be used.
fill- Required
- No; body and guard rules apply
- Type
- object
- Details
- Specifies the fill style of the shape.
stroke- Required
- No; body and guard rules apply
- Type
- object
- Details
- Specifies the stroke style of the shape.
rectangle- Required
- No; body and guard rules apply
- Type
- object
- Details
- Configuration settings for the rectangle shape. Required when
shapeis set torectangle.
circle- Required
- No; body and guard rules apply
- Type
- object
- Details
- Configuration settings for the circle shape. Required when
shapeis set tocircle.
line- Required
- No; body and guard rules apply
- Type
- object
- Details
- Configuration settings for the line shape. Required when
shapeis set toline.
##### LumaAsset
The LumaAsset is used to create luma matte masks, transitions and effects between other assets. A luma matte is a grey scale image or animated video where the black areas are transparent and the white areas solid. The luma matte animation should be provided as an mp4 video file. The src must be a publicly accessible URL to the file.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
lumafor luma mattes. Values:luma. default:luma.
src- Required
- Yes
- Type
- string
- Details
- The luma matte source URL. The URL must be publicly accessible or include credentials. minLength:
1. pattern:\S.
trim- Required
- No; body and guard rules apply
- Type
- number
- Details
- The start trim point of the luma matte clip, in seconds (defaults to 0). Videos will start from the in trim point. A luma matte video will play until the file ends or the Clip length is reached.
##### CaptionAsset
Notice: The CaptionAsset is deprecated, use the RichCaptionAsset instead. The CaptionAsset is used to add captions (subtitles) to a video. It uses a supplied SRT or VTT file which will be read and burnt to the video. Captions can be applied independently from a video or audio file for greater flexibility with styling and layout. For example you can scale, position or crop a video without modifying the captions. To sync captions with a video or audio file use a Video or Audio with matching start and end time.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
captionfor captions. Values:caption. default:caption.
src- Required
- Yes
- Type
- string
- Details
- The URL to an SRT or VTT subtitles file, or an alias reference to auto-generate captions from an audio or video clip. For file URLs, the URL must be publicly accessible or include credentials. For auto-captioning, use the format
alias://clip-namewhere clip-name is the alias of an audio, video, or text-to-speech clip. The system will automatically transcribe the audio and detect the language. minLength:1. pattern:\S.
font- Required
- No; body and guard rules apply
- Type
- CaptionFont
- Details
- Font styling properties.
background- Required
- No; body and guard rules apply
- Type
- CaptionBackground
- Details
- Background styling properties.
margin- Required
- No; body and guard rules apply
- Type
- CaptionMargin
- Details
- Margin properties.
trim- Required
- No; body and guard rules apply
- Type
- number
- Details
- The start trim point of the captions, in seconds (defaults to 0). Remove the trim length from the start of the captions and allow it to be synced with video or audio. The captions will play until the file ends or the Clip length is reached.
speed- Required
- No; body and guard rules apply
- Type
- number
- Details
- Adjust the playback speed of the captions between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip length. For example, if you set speed to 0.5, the clip will need to be 2x as long to play the entire captions (i.e. original length / 0.5). If you set speed to 2, the clip will need to be half as long to play the entire captions (i.e. original length / 2). minimum:
0. maximum:10. format:float.
##### RichCaptionAsset
The RichCaptionAsset provides word-level caption animations with rich-text styling. It supports karaoke-style highlighting, word-by-word animations, and advanced typography. Captions can be sourced from SRT/VTT/TTML subtitle files, from audio/video media URLs (auto-transcribed), or from alias references to other clips in the same timeline.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
rich-captionfor rich captions. Values:rich-caption. default:rich-caption.
src- Required
- Yes
- Type
- string
- Details
- Source for the caption words. Accepts three formats: (1) the URL to a subtitle file (
.srt,.vtt,.ttml, or.dfxp) which is parsed directly; (2) the URL to an audio or video media file (.mp4,.mov,.webm,.mp3,.wav,.m4a,.flac,.aac,.ogg, and related formats) which is auto-transcribed; (3) an alias reference in the formalias://clip-namewhereclip-nameis the alias of another audio, video, or text-to-speech clip in the same timeline — the referenced clip's source is auto-transcribed. For file URLs, the URL must be publicly accessible or include credentials. Content is classified at runtime and unsupported content types (HTML, PDF, images, archives) are rejected with a structured error. minLength:1.
font- Required
- No; body and guard rules apply
- Type
- object
- Details
- Font styling properties for inactive words.
style- Required
- No; body and guard rules apply
- Type
- object
- Details
- Text style properties including spacing, line height, and transformations.
stroke- Required
- No; body and guard rules apply
- Type
- RichTextStroke
- Details
- Text stroke (outline) properties for inactive words.
shadow- Required
- No; body and guard rules apply
- Type
- RichTextShadow
- Details
- Text shadow properties.
background- Required
- No; body and guard rules apply
- Type
- RichTextBackground
- Details
- Background styling properties for the caption bounding box.
border- Required
- No; body and guard rules apply
- Type
- RichTextBorder
- Details
- Border styling properties for the caption bounding box.
padding- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Padding inside the caption bounding box. Can be a single number (applied to all sides) or an object with individual sides.
align- Required
- No; body and guard rules apply
- Type
- RichTextAlignment
- Details
- Text alignment properties (horizontal and vertical).
active- Required
- No; body and guard rules apply
- Type
- RichCaptionActive
- Details
- Styling properties for the active/highlighted word. These override the base styling when a word is being spoken.
animation- Required
- No; body and guard rules apply
- Type
- RichCaptionAnimation
- Details
- Word-level animation properties controlling how words are highlighted or revealed.
##### RichCaptionActiveFont
Font properties for the active/highlighted word.
family- Required
- No; body and guard rules apply
- Type
- string
- Details
- The font family for the active word. Inherits from the base font.family when not set.
weight- Required
- No; body and guard rules apply
- Type
- JSON
- Details
- The weight of the font for the active word. Can be a number (100-900) or a string. Inherits from the base font.weight when not set. default:
400.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The active word color using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$.
background- Required
- No; body and guard rules apply
- Type
- string
- Details
- The background color behind the active word using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the active word where 1 is opaque and 0 is transparent. minimum:
0. maximum:1. default:1.
size- Required
- No; body and guard rules apply
- Type
- number
- Details
- The font size of the active word in pixels. minimum:
1. maximum:500.
textDecoration- Required
- No; body and guard rules apply
- Type
- string
- Details
- Text decoration to apply to the active word. Values:
none,underline,line-through. default:none.
##### RichCaptionActive
Styling properties for the active/highlighted word.
font- Required
- No; body and guard rules apply
- Type
- RichCaptionActiveFont
- Details
- Font properties for the active word.
stroke- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Stroke properties for the active word. Set to "none" to explicitly remove the base stroke on the active word.
shadow- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Shadow properties for the active word. Set to "none" to explicitly remove the base shadow on the active word.
##### RichCaptionAnimation
Word-level animation properties for caption effects.
style- Required
- Yes
- Type
- string
- Details
- The animation style to apply to words:
karaoke- Word-by-word color fill as spoken (shows all words, highlights active)highlight- Word changes to active color when spoken (shows all words)pop- Each word scales up when activefade- Gradual opacity transition per wordslide- Words slide in from a directionbounce- Spring animation on word appearancetypewriter- Words appear one by one and stay visiblenone- No animation, all words visible immediately Values:karaoke,highlight,pop,fade,slide,bounce,typewriter,none. default:highlight.
direction- Required
- No; body and guard rules apply
- Type
- string
- Details
- Direction for directional animations (slide). Only applicable when style is
slide. Values:left,right,up,down. default:up.
##### TextToImageAsset
Notice: TextToImageAsset is deprecated. Use ImageAsset with prompt instead. This type continues to function and is internally rewritten to ImageAsset; no behaviour change for existing integrations. The TextToImageAsset lets you create a dynamic image from a text prompt.
type- Required
- Yes
- Type
- string
- Details
- The type of asset to generate - set to
text-to-imagefor text-to-image. Values:text-to-image. default:text-to-image.
prompt- Required
- Yes
- Type
- string
- Details
- The text prompt to generate an image from.
width- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The width of the image in pixels.
height- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The height of the image in pixels.
crop- Required
- No; body and guard rules apply
- Type
- Crop
- Details
- See the full input schema.
##### ImageToVideoAsset
Notice: ImageToVideoAsset is deprecated. Use VideoAsset with prompt, a model that accepts a starting image, and that image in options.startSrc — for example seedance-2.0-image-to-video. This type continues to function and is internally rewritten to VideoAsset; no behaviour change for existing integrations. The ImageToVideoAsset lets you create a video from an image and a text prompt.
type- Required
- Yes
- Type
- string
- Details
- The type of asset to generate - set to
image-to-videofor image-to-video. Values:image-to-video. default:image-to-video.
src- Required
- Yes
- Type
- string
- Details
- The image source URL. The URL must be publicly accessible or include credentials. minLength:
1.
prompt- Required
- No; body and guard rules apply
- Type
- string
- Details
- The instructions for modifying the image into a video sequence.
aspectRatio- Required
- No; body and guard rules apply
- Type
- string
- Details
- The aspect ratio (shape) of the video output. Values:
1:1,4:3,16:9,9:16,3:4,21:9,9:21.
speed- Required
- No; body and guard rules apply
- Type
- number
- Details
- Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip length. For example, if you set speed to 0.5, the clip will need to be 2x as long to play the entire video (i.e. original length / 0.5). If you set speed to 2, the clip will need to be half as long to play the entire video (i.e. original length / 2). minimum:
0. maximum:10. format:float.
crop- Required
- No; body and guard rules apply
- Type
- Crop
- Details
- See the full input schema.
##### TextToSpeechAsset
Notice: TextToSpeechAsset is deprecated. Use AudioAsset with prompt (the spoken text) and voice instead. This type continues to function and is internally rewritten to AudioAsset; no behaviour change for existing integrations. The TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service. The generated audio can be trimmed, faded and have its volume and speed adjusted using the same properties available on the AudioAsset.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
text-to-speechfor text-to-speech. Values:text-to-speech. default:text-to-speech.
text- Required
- Yes
- Type
- string
- Details
- The text to convert to speech.
voice- Required
- Yes
- Type
- string
- Details
- The voice to use for the text-to-speech conversion.
language- Required
- No; body and guard rules apply
- Type
- string
- Details
- The language code for the text-to-speech conversion.
newscaster- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Set the voice to newscaster mode. default:
False.
trim- Required
- No; body and guard rules apply
- Type
- number
- Details
- The start trim point of the audio clip, in seconds (defaults to 0). Audio will start from the trim point. The audio will play until the file ends or the Clip length is reached.
volume- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Set the volume of the audio clip. Use a number or an array of Tween objects to create custom volume transitions.
speed- Required
- No; body and guard rules apply
- Type
- number
- Details
- Adjust the playback speed of the audio clip between 0 (paused) and 10 (10x normal speed), where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip length. minimum:
0. maximum:10. format:float.
effect- Required
- No; body and guard rules apply
- Type
- string
- Details
- The effect to apply to the audio asset
fadeIn- fade volume in onlyfadeOut- fade volume out onlyfadeInFadeOut- fade volume in and out Values:none,fadeIn,fadeOut,fadeInFadeOut.
##### HtmlAsset
Notice: The HtmlAsset is deprecated, use the RichTextAsset instead. The HtmlAsset clip type lets you create text based layout and formatting using HTML and CSS. You can also set the height and width of a bounding box for the HTML content to sit within. Text and elements will wrap within the bounding box.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
htmlfor HTML. Values:html. default:html.
html- Required
- Yes
- Type
- string
- Details
- The HTML text string. See list of supported HTML tags.
css- Required
- No; body and guard rules apply
- Type
- string
- Details
- The CSS text string to apply styling to the HTML. See list of support CSS properties.
width- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Set the width of the HTML asset bounding box in pixels. Text will wrap to fill the bounding box.
height- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Set the width of the HTML asset bounding box in pixels. Text and elements will be masked if they exceed the height of the bounding box.
background- Required
- No; body and guard rules apply
- Type
- string
- Details
- Apply a background color behind the HTML bounding box using. Set the text color using hexadecimal color notation. Transparency is supported by setting the first two characters of the hex string (opposite to HTML), i.e. #80ffffff will be white with 50% transparency.
position- Required
- No; body and guard rules apply
- Type
- string
- Details
- Place the HTML in one of nine predefined positions within the HTML area.
top- top (center)topRight- top rightright- right (center)bottomRight- bottom rightbottom- bottom (center)bottomLeft- bottom leftleft- left (center)topLeft- top leftcenter- center Values:top,topRight,right,bottomRight,bottom,bottomLeft,left,topLeft,center.
##### Html5Asset
The Html5Asset renders full HTML5/CSS3/JS.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
html5for HTML5/CSS3/JS. Values:html5. default:html5.
html- Required
- Yes
- Type
- string
- Details
- The HTML markup for the asset. Max 1,000,000 characters. maxLength:
1000000.
css- Required
- No; body and guard rules apply
- Type
- string
- Details
- The CSS string applied to the HTML. Max 500,000 characters. maxLength:
500000.
js- Required
- No; body and guard rules apply
- Type
- string
- Details
- Optional JavaScript. Use for chart libraries, animations, or DOM manipulation.
gsap,d3,animeandlottieare always available. CSS animations, transitions, andElement.animate()are also captured automatically. Max 500,000 characters. maxLength:500000.
##### TitleAsset
Notice: The TitleAsset is deprecated, use the RichTextAsset instead. The TitleAsset clip type lets you create video titles from a text string and apply styling and positioning.
type- Required
- Yes
- Type
- string
- Details
- The type of asset - set to
titlefor titles. Values:title. default:title.
text- Required
- Yes
- Type
- string
- Details
- The title text string - i.e. "My Title".
style- Required
- No; body and guard rules apply
- Type
- string
- Details
- Uses a preset to apply font properties and styling to the title.
minimalblockbustervoguesketchyskinnychunkchunkLightmarkerfuturesubtitleValues:minimal,blockbuster,vogue,sketchy,skinny,chunk,chunkLight,marker,future,subtitle.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- Set the text color using hexadecimal color notation. Transparency is supported by setting the first two characters of the hex string (opposite to HTML), i.e. #80ffffff will be white with 50% transparency.
size- Required
- No; body and guard rules apply
- Type
- string
- Details
- Set the relative size of the text using predefined sizes from xx-small to xx-large.
xx-smallx-smallsmallmediumlargex-largexx-largeValues:xx-small,x-small,small,medium,large,x-large,xx-large.
background- Required
- No; body and guard rules apply
- Type
- string
- Details
- Apply a background color behind the text. Set the text color using hexadecimal color notation. Transparency is supported by setting the first two characters of the hex string (opposite to HTML), i.e. #80ffffff will be white with 50% transparency. Omit to use transparent background.
position- Required
- No; body and guard rules apply
- Type
- string
- Details
- Place the title in one of nine predefined positions of the viewport.
top- top (center)topRight- top rightright- right (center)bottomRight- bottom rightbottom- bottom (center)bottomLeft- bottom leftleft- left (center)topLeft- top leftcenter- center Values:top,topRight,right,bottomRight,bottom,bottomLeft,left,topLeft,center.
offset- Required
- No; body and guard rules apply
- Type
- Offset
- Details
- Offset the location of the title relative to its position on the screen.
##### SvgAsset
The SvgAsset is used to add scalable vector graphics (SVG) to a video using raw SVG markup. Supported elements: `, , , , , , **Automatically extracted from SVG markup:** - Path data (converted to a single combined path) - Fill color (from fill attribute or style) - Stroke color and width (from attributes or style) - Dimensions (from width/height or viewBox) - Opacity (from opacity` attribute) See W3C SVG 2 Specification for path data syntax.
type- Required
- Yes
- Type
- string
- Details
- The asset type - set to
svgfor SVG assets. Values:svg. default:svg.
src- Required
- Yes
- Type
- string
- Details
- Raw SVG markup string. The SVG must contain valid SVG elements. The shape, fill, stroke, dimensions and opacity are automatically extracted from the SVG content. minLength:
1. maxLength:500000.
##### Transition
In and out transitions for a clip - i.e. fade in and fade out
in- Required
- No; body and guard rules apply
- Type
- string
- Details
- The transition in. Available transitions are:
fade- fade inreveal- reveal from left to rightwipeLeft- fade across screen to the leftwipeRight- fade across screen to the rightslideLeft- move slightly left and fade inslideRight- move slightly right and fade inslideUp- move slightly up and fade inslideDown- move slightly down and fade incarouselLeft- slide in from right to leftcarouselRight- slide in from left to rightcarouselUp- slide in from bottom to topcarouselDown- slide in from top to bottomshuffleTopRight- rotate in from top rightshuffleRightTop- rotate in from right topshuffleRightBottom- rotate in from right bottomshuffleBottomRight- rotate in from bottom rightshuffleBottomLeft- rotate in from bottom leftshuffleLeftBottom- rotate in from left bottomshuffleLeftTop- rotate in from left topshuffleTopLeft- rotate in from top leftzoom- fast zoom in The transition speed can also be controlled by appendingFastorSlowto the transition, e.g.fadeFastorCarouselLeftSlow. Values:none,fade,fadeSlow,fadeFast,reveal,revealSlow,revealFast,wipeLeft,wipeLeftSlow,wipeLeftFast,wipeRight,wipeRightSlow,wipeRightFast,slideLeft,slideLeftSlow,slideLeftFast,slideRight,slideRightSlow,slideRightFast,slideUp,slideUpSlow,slideUpFast,slideDown,slideDownSlow,slideDownFast,carouselLeft,carouselLeftSlow,carouselLeftFast,carouselRight,carouselRightSlow,carouselRightFast,carouselUp,carouselUpSlow,carouselUpFast,carouselDown,carouselDownSlow,carouselDownFast,shuffleTopRight,shuffleTopRightSlow,shuffleTopRightFast,shuffleRightTop,shuffleRightTopSlow,shuffleRightTopFast,shuffleRightBottom,shuffleRightBottomSlow,shuffleRightBottomFast,shuffleBottomRight,shuffleBottomRightSlow,shuffleBottomRightFast,shuffleBottomLeft,shuffleBottomLeftSlow,shuffleBottomLeftFast,shuffleLeftBottom,shuffleLeftBottomSlow,shuffleLeftBottomFast,shuffleLeftTop,shuffleLeftTopSlow,shuffleLeftTopFast,shuffleTopLeft,shuffleTopLeftSlow,shuffleTopLeftFast,zoom.
out- Required
- No; body and guard rules apply
- Type
- string
- Details
- The transition out. Available transitions are:
fade- fade outreveal- reveal from right to leftwipeLeft- fade across screen to the leftwipeRight- fade across screen to the rightslideLeft- move slightly left and fade outslideRight- move slightly right and fade outslideUp- move slightly up and fade outslideDown- move slightly down and fade outcarouselLeft- slide out from right to leftcarouselRight- slide out from left to rightcarouselUp- slide out from bottom to topcarouselDown- slide out from top to bottomshuffleTopRight- rotate out from top rightshuffleRightTop- rotate out from right topshuffleRightBottom- rotate out from right bottomshuffleBottomRight- rotate out from bottom rightshuffleBottomLeft- rotate out from bottom leftshuffleLeftBottom- rotate out from left bottomshuffleLeftTop- rotate out from left topshuffleTopLeft- rotate out from top leftzoom- fast zoom out The transition speed can also be controlled by appendingFastorSlowto the transition, e.g.fadeFastorCarouselLeftSlow. Values:none,fade,fadeSlow,fadeFast,reveal,revealSlow,revealFast,wipeLeft,wipeLeftSlow,wipeLeftFast,wipeRight,wipeRightSlow,wipeRightFast,slideLeft,slideLeftSlow,slideLeftFast,slideRight,slideRightSlow,slideRightFast,slideUp,slideUpSlow,slideUpFast,slideDown,slideDownSlow,slideDownFast,carouselLeft,carouselLeftSlow,carouselLeftFast,carouselRight,carouselRightSlow,carouselRightFast,carouselUp,carouselUpSlow,carouselUpFast,carouselDown,carouselDownSlow,carouselDownFast,shuffleTopRight,shuffleTopRightSlow,shuffleTopRightFast,shuffleRightTop,shuffleRightTopSlow,shuffleRightTopFast,shuffleRightBottom,shuffleRightBottomSlow,shuffleRightBottomFast,shuffleBottomRight,shuffleBottomRightSlow,shuffleBottomRightFast,shuffleBottomLeft,shuffleBottomLeftSlow,shuffleBottomLeftFast,shuffleLeftBottom,shuffleLeftBottomSlow,shuffleLeftBottomFast,shuffleLeftTop,shuffleLeftTopSlow,shuffleLeftTopFast,shuffleTopLeft,shuffleTopLeftSlow,shuffleTopLeftFast,zoom.
##### Offset
Offsets the position of an asset horizontally or vertically by a relative distance.
x- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Offset an asset on the horizontal axis (left or right). Use a number or an array of Tween objects to create a custom animation.
y- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Offset an asset on the vertical axis (up or down). Use a number or an array of Tween objects to create a custom animation.
##### Crop
Crop the sides of an asset by a relative amount. The size of the crop is specified using a scale between 0 and 1, relative to the screen width - i.e a left crop of 0.5 will crop half of the asset from the left, a top crop of 0.25 will crop the top by quarter of the asset.
top- Required
- No; body and guard rules apply
- Type
- number
- Details
- Crop from the top of the asset minimum:
0. maximum:1. format:float.
bottom- Required
- No; body and guard rules apply
- Type
- number
- Details
- Crop from the bottom of the asset minimum:
0. maximum:1. format:float.
left- Required
- No; body and guard rules apply
- Type
- number
- Details
- Crop from the left of the asset minimum:
0. maximum:1. format:float.
right- Required
- No; body and guard rules apply
- Type
- number
- Details
- Crop from the left of the asset minimum:
0. maximum:1. format:float.
##### Transformation
Apply one or more transformations to a clip. Transformations alter the visual properties of a clip and can be combined to create new shapes and effects.
rotate- Required
- No; body and guard rules apply
- Type
- RotateTransformation
- Details
- See the full input schema.
skew- Required
- No; body and guard rules apply
- Type
- SkewTransformation
- Details
- See the full input schema.
flip- Required
- No; body and guard rules apply
- Type
- FlipTransformation
- Details
- See the full input schema.
##### RotateTransformation
Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips position.
angle- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Rotate a clip by the specified angle in degrees. Use a number or an array of Tween objects to create a custom animation.
##### SkewTransformation
Skew a clip so its edges are sheared at an angle. Use values between -100 and 100. Values over 3 or under -3 will skew the clip almost flat.
x- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Skew the clip along it's x axis.
y- Required
- No; body and guard rules apply
- Type
- Union
- Details
- Skew the clip along it's y axis.
##### FlipTransformation
Flip a clip vertically or horizontally. Acts as a mirror effect of the clip along the selected plane.
horizontal- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Flip a clip horizontally.
vertical- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Flip a clip vertically.
##### TextFont
Font properties for text.
family- Required
- No; body and guard rules apply
- Type
- string
- Details
- The font family name. This must be Family name embedded in the font, i.e. "Open Sans".
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The text color using hexadecimal color notation.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the text where 1 is opaque and 0 is transparent.
size- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The size of the font in pixels (px).
weight- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The weight of the font. 100 is lightest, 900 is heaviest (boldest).
lineHeight- Required
- No; body and guard rules apply
- Type
- number
- Details
- The line height of the font as a ratio of the font size.
##### TextBackground
Displays a background box behind the text.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The background color using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the background where 1 is opaque and 0 is transparent. minimum:
0. maximum:1.
padding- Required
- No; body and guard rules apply
- Type
- number
- Details
- Padding inside the background box in pixels. minimum:
0. maximum:100.
borderRadius- Required
- No; body and guard rules apply
- Type
- number
- Details
- The border radius of the background box in pixels for rounded corners. minimum:
0.
wrap- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Not supported on legacy
textassets. Accepted here only so validators can emit a clear migration error pointing users torich-textorrich-caption, which support background wrapping natively.
##### TextAlignment
Horizontal and vertical alignment properties for text.
horizontal- Required
- No; body and guard rules apply
- Type
- string
- Details
- The horizontal alignment of the text. Value must be one of:
leftcenterrightValues:left,center,right.
vertical- Required
- No; body and guard rules apply
- Type
- string
- Details
- The vertical alignment of the text. Value must be one of:
topcenterbottomValues:top,center,bottom.
##### RichTextFont
Font properties for rich text.
family- Required
- No; body and guard rules apply
- Type
- string
- Details
- The font family name. This must be the Family name embedded in the font, i.e. "Open Sans". default:
Open Sans.
size- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The size of the font in pixels (px). Must be between 1 and 500. minimum:
1. maximum:500. default:24.
weight- Required
- No; body and guard rules apply
- Type
- JSON
- Details
- The weight of the font. Can be a number (100-900) or a string ('normal', 'bold', etc.). 100 is lightest, 900 is heaviest (boldest). default:
400.
style- Required
- No; body and guard rules apply
- Type
- string
- Details
- The font style. Values:
normal,italic. default:normal.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The text color using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$. default:#000000.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the text where 1 is opaque and 0 is transparent. minimum:
0. maximum:1. default:1.
background- Required
- No; body and guard rules apply
- Type
- string
- Details
- The background color behind the text using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$.
stroke- Required
- No; body and guard rules apply
- Type
- RichTextStroke
- Details
- Text stroke (outline) properties.
##### RichTextStyle
Text style properties including spacing, line height, and transformations.
letterSpacing- Required
- No; body and guard rules apply
- Type
- number
- Details
- Additional spacing between letters in pixels. Can be negative for tighter spacing. default:
0.
wordSpacing- Required
- No; body and guard rules apply
- Type
- number
- Details
- Additional spacing between words in pixels. A value of 0 uses the font's natural space width. minimum:
0. default:0.
lineHeight- Required
- No; body and guard rules apply
- Type
- number
- Details
- The line height as a multiplier of the font size. Must be between 0 and 10. minimum:
0. maximum:10. default:1.2.
textTransform- Required
- No; body and guard rules apply
- Type
- string
- Details
- Text transformation to apply. Values:
none,uppercase,lowercase,capitalize. default:none.
textDecoration- Required
- No; body and guard rules apply
- Type
- string
- Details
- Text decoration to apply. Values:
none,underline,line-through. default:none.
gradient- Required
- No; body and guard rules apply
- Type
- RichTextGradient
- Details
- Gradient fill for text instead of solid color.
##### RichTextGradient
Gradient properties for text fill.
type- Required
- No; body and guard rules apply
- Type
- string
- Details
- The type of gradient. Values:
linear,radial. default:linear.
angle- Required
- No; body and guard rules apply
- Type
- number
- Details
- The angle of the gradient in degrees (for linear gradients). Must be between 0 and 360. minimum:
0. maximum:360. default:0.
stops- Required
- Yes
- Type
- array
- Details
- Gradient color stops. Must have at least 2 stops. minItems:
2. Items: object.
##### RichTextStroke
Text stroke (outline) properties.
width- Required
- No; body and guard rules apply
- Type
- number
- Details
- The width of the stroke in pixels. Must be 0 or greater. minimum:
0. default:0.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The stroke color using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$. default:#000000.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the stroke where 1 is opaque and 0 is transparent. minimum:
0. maximum:1. default:1.
##### RichTextShadow
Text shadow properties.
offsetX- Required
- No; body and guard rules apply
- Type
- number
- Details
- Horizontal offset of the shadow in pixels. Positive values move right, negative left. default:
0.
offsetY- Required
- No; body and guard rules apply
- Type
- number
- Details
- Vertical offset of the shadow in pixels. Positive values move down, negative up. default:
0.
blur- Required
- No; body and guard rules apply
- Type
- number
- Details
- The blur radius of the shadow in pixels. Must be 0 or greater. minimum:
0. default:0.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The shadow color using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$. default:#000000.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the shadow where 1 is opaque and 0 is transparent. minimum:
0. maximum:1. default:0.5.
##### RichTextBackground
Background styling properties for the text bounding box.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The background color using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the background where 1 is opaque and 0 is transparent. minimum:
0. maximum:1. default:1.
borderRadius- Required
- No; body and guard rules apply
- Type
- number
- Details
- The border radius of the background box in pixels. Must be 0 or greater. minimum:
0. default:0.
wrap- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- When true, the background pill shrinks to fit the rendered text bounding box plus the asset's padding (and stroke width, if present), producing a pill or badge effect. When false (default), the background fills the full asset content area. Available on rich-text and rich-caption assets only; not supported on legacy
type: text. default:False.
padding- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Inner padding in pixels between the wrap pill edge and the rendered text. Only takes effect when
wrap: true. When omitted, the renderer applies a sensible default proportional to the font size (approximately 12% of the active page font size on rich-caption assets). Set to 0 for a pill that hugs the text exactly. Available on rich-text and rich-caption assets only. minimum:0. maximum:200.
##### RichTextAlignment
Text alignment properties (horizontal and vertical).
horizontal- Required
- No; body and guard rules apply
- Type
- string
- Details
- The horizontal alignment of the text. Values:
left,center,right. default:center.
vertical- Required
- No; body and guard rules apply
- Type
- string
- Details
- The vertical alignment of the text within the bounding box. Values:
top,middle,bottom. default:middle.
##### RichTextAnimation
Animation properties for text entrance effects.
preset- Required
- Yes
- Type
- string
- Details
- The animation preset to apply. Available presets:
fadeIn- fadeIn in animationslideIn- slide in from a directiontypewriter- typewriter effectascend- ascend from a directionshift- shift in from a directionmovingLetters- letters move in from a direction Values:fadeIn,slideIn,typewriter,ascend,shift,movingLetters.
duration- Required
- No; body and guard rules apply
- Type
- number
- Details
- Override animation duration in seconds. Must be between 0.1 and 30 seconds. minimum:
0.1. maximum:30.
style- Required
- No; body and guard rules apply
- Type
- string
- Details
- Animation style - animate by character or by word. Only applicable for typewriter and shift animations. Values:
character,word.
direction- Required
- No; body and guard rules apply
- Type
- string
- Details
- Direction for directional animations. Required for slideIn, ascend, shift, and movingLetters presets.
ascend- supports: up, downshift- supports: left, right, up, downslideIn- supports: left, right, up, downmovingLetters- supports: left, right, up, down Values:left,right,up,down.
##### RichTextBorder
Border styling properties for the text bounding box.
width- Required
- No; body and guard rules apply
- Type
- number
- Details
- The width of the border in pixels. Must be 0 or greater. minimum:
0. default:0.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The border color using hexadecimal color notation. pattern:
^#[A-Fa-f0-9]{6}$. default:#000000.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the border where 1 is opaque and 0 is transparent. minimum:
0. maximum:1. default:1.
radius- Required
- No; body and guard rules apply
- Type
- number
- Details
- The border radius in pixels for rounded corners. Must be 0 or greater. minimum:
0. default:0.
##### RichTextPadding
Padding properties for individual sides of the text bounding box.
top- Required
- No; body and guard rules apply
- Type
- number
- Details
- Top padding in pixels. minimum:
0. default:0.
right- Required
- No; body and guard rules apply
- Type
- number
- Details
- Right padding in pixels. minimum:
0. default:0.
bottom- Required
- No; body and guard rules apply
- Type
- number
- Details
- Bottom padding in pixels. minimum:
0. default:0.
left- Required
- No; body and guard rules apply
- Type
- number
- Details
- Left padding in pixels. minimum:
0. default:0.
##### CaptionFont
Font properties for captions text.
family- Required
- No; body and guard rules apply
- Type
- string
- Details
- The font family name. This must be Family name embedded in the font, i.e. "Open Sans".
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The text color using hexadecimal color notation.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the text where 1 is opaque and 0 is transparent.
size- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The size of the font in pixels (px).
lineHeight- Required
- No; body and guard rules apply
- Type
- number
- Details
- The line height of the font as a ratio of the font size.
stroke- Required
- No; body and guard rules apply
- Type
- string
- Details
- The stroke color of the font using hexadecimal color notation.
strokeWidth- Required
- No; body and guard rules apply
- Type
- number
- Details
- The width of the stroke in pixels.
##### CaptionBackground
Displays a background box behind the caption text.
color- Required
- No; body and guard rules apply
- Type
- string
- Details
- The background color using hexadecimal color notation.
opacity- Required
- No; body and guard rules apply
- Type
- number
- Details
- The opacity of the background color.
padding- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The padding inside the background box in pixels.
borderRadius- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The border radius of the background box in pixels.
##### CaptionMargin
The margin properties for captions. Margins are used to position the caption text and background on the screen.
top- Required
- No; body and guard rules apply
- Type
- number
- Details
- The margin above the text. Pushes captions down the screen.
left- Required
- No; body and guard rules apply
- Type
- number
- Details
- The margin to the left of the text. Pushes captions to the right.
right- Required
- No; body and guard rules apply
- Type
- number
- Details
- The margin to the right of the text. Pushes captions to the left.
##### ChromaKey
Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.
color- Required
- Yes
- Type
- string
- Details
- The chroma key color as a hex value. Use green (#00b140) for green screens or blue (#0000FF) for blue screens. Any valid hex color can be used as the key color. pattern:
^#[0-9a-fA-F]{6}$.
threshold- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Pixels within this distance from the key color are eliminated by setting their alpha values to zero. minimum:
0. maximum:250.
halo- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Pixels within the halo distance from the threshold boundary are given an increasing alpha value based on their distance from the threshold. minimum:
0. maximum:250.
##### Tween
Use a Tween to animate properties over time. The following properties are currently supported and can be animated: Opacity - animate the transparency of a clip. Offset - animate the x and y position of a clip. Rotation - animate the rotation of a clip. Skew - animate the horizontal and vertical shearing effect. Volume - animate the audio volume of a clip.
from- Required
- No; body and guard rules apply
- Type
- JSON
- Details
- The initial property value at the start of the animation.
to- Required
- No; body and guard rules apply
- Type
- JSON
- Details
- The final property value at the end of the animation.
start- Required
- No; body and guard rules apply
- Type
- number
- Details
- The time in seconds when the animation starts, relative to the clip, not the timeline.
length- Required
- No; body and guard rules apply
- Type
- number
- Details
- The duration of the animation in seconds.
interpolation- Required
- No; body and guard rules apply
- Type
- string
- Details
- The interpolation method to use for the animation. Available options are:
linear- a linear interpolation between the start and end values.bezier- a bezier curve interpolation between the start and end values.constant- an interpolation where the property instantly jumps from the start to the end value, without any gradual transition. Values:linear,bezier,constant.
easing- Required
- No; body and guard rules apply
- Type
- string
- Details
- The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to
bezier. Values:ease,easeIn,easeOut,easeInOut,easeInQuad,easeInCubic,easeInQuart,easeInQuint,easeInSine,easeInExpo,easeInCirc,easeInBack,easeOutQuad,easeOutCubic,easeOutQuart,easeOutQuint,easeOutSine,easeOutExpo,easeOutCirc,easeOutBack,easeInOutQuad,easeInOutCubic,easeInOutQuart,easeInOutQuint,easeInOutSine,easeInOutExpo,easeInOutCirc,easeInOutBack.
##### MergeField
A merge field consists of a key; find, and a value; replace. Merge fields can be used to replace placeholders within the JSON edit to create re-usable templates. Placeholders should be a string with double brace delimiters, i.e. "a double-brace NAME placeholder". A placeholder can be used for any value within the JSON edit.
find- Required
- Yes
- Type
- string
- Details
- The string to find without delimiters.
replace- Required
- Yes
- Type
- JSON
- Details
- The replacement value. The replacement can be any valid JSON type - string, boolean, number, etc...
##### Output
The output format, render range and type of media to generate. For all formats except mp3, either resolution or size (with both width and height) must be specified.
format- Required
- Yes
- Type
- string
- Details
- The output format and type of media file to generate.
mp4- mp4 video filegif- animated gifjpg- jpg image filepng- png image filebmp- bmp image filemp3- mp3 audio file (audio only) Values:mp4,gif,mp3,jpg,png,bmp.
resolution- Required
- No; body and guard rules apply
- Type
- string
- Details
- The preset output resolution of the video or image. For custom sizes use the
sizeproperty. Eitherresolutionorsize(with bothwidthandheight) must be specified for all formats exceptmp3.preview- 512px x 288px @ 15fpsmobile- 640px x 360px @ 25fpssd- 1024px x 576px @ 25fpshd- 1280px x 720px @ 25fps1080- 1920px x 1080px @ 25fps4k- 3840px x 2160px @ 25fps Values:preview,mobile,sd,hd,1080,4k.
aspectRatio- Required
- No; body and guard rules apply
- Type
- string
- Details
- The aspect ratio (shape) of the video or image. Useful for social media output formats. Options are:
16:9(default) - regular landscape/horizontal aspect ratio9:16- vertical/portrait aspect ratio1:1- square aspect ratio4:5- short vertical/portrait aspect ratio4:3- legacy TV aspect ratio Values:16:9,9:16,1:1,4:5,4:3.
size- Required
- No; body and guard rules apply
- Type
- Size
- Details
- See the full input schema.
fps- Required
- No; body and guard rules apply
- Type
- number
- Details
- Override the default frames per second. Useful for when the source footage is recorded at 30fps, i.e. on mobile devices. Lower frame rates can be used to add cinematic quality (24fps) or to create smaller file size/faster render times or animated gifs (12 or 15fps). Default is 25fps.
12- 12fps15- 15fps24- 24fps23.976- 23.976fps25(default) - 25fps29.97- 29.97fps30- 30fps48- 48fps50- 50fps59.94- 59.94fps60- 60fps Values:12,15,23.976,24,25,29.97,30,48,50,59.94,60.
scaleTo- Required
- No; body and guard rules apply
- Type
- string
- Details
- Override the resolution and scale the video or image to render at a different size. When using scaleTo the asset should be edited at the resolution dimensions, i.e. use font sizes that look best at HD, then use scaleTo to output the file at SD and the text will be scaled to the correct size. This is useful if you want to create multiple asset sizes.
preview- 512px x 288px @ 15fpsmobile- 640px x 360px @ 25fpssd- 1024px x 576px @25fpshd- 1280px x 720px @25fps1080- 1920px x 1080px @25fps Values:preview,mobile,sd,hd,1080,4k.
quality- Required
- No; body and guard rules apply
- Type
- string
- Details
- Adjust the output quality of the video, image or audio. Adjusting quality affects render speed, download speeds and storage requirements due to file size. The default
mediumprovides the most optimized choice for all three factors.verylow- reduced quality, smallest file sizelow- slightly reduced quality, smaller file sizemedium(default) - optimized quality, render speeds and file sizehigh- slightly increased quality, larger file sizeveryhigh- highest quality, largest file size Values:verylow,low,medium,high,veryhigh.
repeat- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Loop settings for gif files. Set to
trueto loop,falseto play only once.
mute- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Mute the audio track of the output video. Set to
trueto mute,falseto un-mute.
range- Required
- No; body and guard rules apply
- Type
- Range
- Details
- See the full input schema.
poster- Required
- No; body and guard rules apply
- Type
- Poster
- Details
- Generate a poster image from a specific point on the timeline.
thumbnail- Required
- No; body and guard rules apply
- Type
- Thumbnail
- Details
- Generate a thumbnail image from a specific point on the timeline.
destinations- Required
- No; body and guard rules apply
- Type
- array
- Details
- Specify the storage locations and hosting services to send rendered videos to. Items: Destinations.
##### Size
Set a custom size for a video or image in pixels. When using a custom size omit the resolution and aspectRatio. Custom sizes must be divisible by 2 based on the encoder specifications.
width- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Set a custom width for the video or image file in pixels. Value must be divisible by 2. Maximum video width is 1920px, maximum image width is 4096px. minimum:
1. maximum:4096.
height- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Set a custom height for the video or image file in pixels. Value must be divisible by 2. Maximum video height is 1920px, maximum image height is 4096px. minimum:
1. maximum:4096.
##### Range
Specify a time range to render, i.e. to render only a portion of a video or audio file. Omit this setting to export the entire video. Range can also be used to render a frame at a specific time point - setting a range and output format as jpg will output a single frame image at the range start point.
start- Required
- No; body and guard rules apply
- Type
- number
- Details
- The point on the timeline, in seconds, to start the render from - i.e. start at second 3. minimum:
0. format:float.
length- Required
- No; body and guard rules apply
- Type
- number
- Details
- The length of the portion of the video or audio to render - i.e. render 6 seconds of the video. minimum:
0. format:float.
##### Poster
Generate a poster image for the video at a specific point from the timeline. The poster image size will match the size of the output video.
capture- Required
- Yes
- Type
- number
- Details
- The point on the timeline in seconds to capture a single frame to use as the poster image.
##### Thumbnail
Generate a thumbnail image for the video or image at a specific point from the timeline.
capture- Required
- Yes
- Type
- number
- Details
- The point on the timeline in seconds to capture a single frame to use as the thumbnail image.
scale- Required
- Yes
- Type
- number
- Details
- Scale the thumbnail size to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale the thumbnail to half the size of the viewport. minimum:
0. maximum:1.
##### Destinations
A destination is a location where assets can be sent to for serving or hosting. Videos, images and audio files that are rendered by the Edit API and source and rendition files generated by the Ingest API can be sent to destinations. You can also fetch a file from any public URL and transfer it to a destination. A file can be sent to one or more destinations including 3rd party destinations. By default all ingested and generated assets are automatically sent to the Shotstack hosting destination. You can opt-out from by setting the Shotstack destination exclude property to true.
anyOf: ShotstackDestination, MuxDestination, S3Destination, GoogleCloudStorageDestination, GoogleDriveDestination, VimeoDestination, object, object, object.
Type: object.
##### ShotstackDestination
Send videos and assets to the Shotstack hosting and CDN service. This destination is enabled by default.
provider- Required
- Yes
- Type
- string
- Details
- The destination to send assets to - set to
shotstackfor Shotstack hosting and CDN. default:shotstack.
exclude- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Set to
trueto opt-out from the Shotstack hosting and CDN service. All files must be downloaded within 24 hours of rendering.
##### MuxDestination
Notice: The Mux destination is deprecated. It continues to work, with no behaviour change for existing integrations. Send videos to the Mux video hosting and streaming service. Mux credentials are required and added via the dashboard, not in the request.
provider- Required
- Yes
- Type
- string
- Details
- The destination to send video to - set to
muxfor Mux. default:mux.
options- Required
- No; body and guard rules apply
- Type
- MuxDestinationOptions
- Details
- Additional Mux configuration and features.
##### MuxDestinationOptions
Notice: MuxDestinationOptions, like the Mux destination, is deprecated. It continues to work, with no behaviour change for existing integrations. Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
playbackPolicy- Required
- No; body and guard rules apply
- Type
- array
- Details
- Sets the Mux
playback_policyoption. Value is an array of strings - usepublic,signed, or both. Items: string.
passthrough- Required
- No; body and guard rules apply
- Type
- string
- Details
- Sets the Mux
passthroughoption. Max 255 characters. maxLength:255.
##### S3Destination
Send videos and assets to an Amazon S3 bucket. Send files to any region with your own prefix and filename. AWS credentials are required and added via the dashboard, not in the request.
provider- Required
- Yes
- Type
- string
- Details
- The destination to send assets to - set to
s3for S3. default:s3.
options- Required
- No; body and guard rules apply
- Type
- S3DestinationOptions
- Details
- Additional S3 configuration options.
##### S3DestinationOptions
Pass additional options to control how files are stored in S3.
region- Required
- Yes
- Type
- string
- Details
- Choose the region to send the file to. Must be a valid AWS region string like
us-east-1orap-southeast-2.
bucket- Required
- Yes
- Type
- string
- Details
- The bucket name to send files to. The bucket must exist in the AWS account before files can be sent.
prefix- Required
- No; body and guard rules apply
- Type
- string
- Details
- A prefix for the file being sent. This is typically a folder name, i.e.
videosorcustomerId/videos.
filename- Required
- No; body and guard rules apply
- Type
- string
- Details
- Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also
-poster.jpgand-thumb.jpgwill be appended for poster and thumbnail images.
acl- Required
- No; body and guard rules apply
- Type
- string
- Details
- Sets the S3 Access Control List (acl) permissions. Default is
private. Must use a valid S3 Canned ACL.
##### GoogleCloudStorageDestination
Send videos and assets to a Google Cloud Storage bucket. Send files with your own prefix and filename. Google Cloud credentials are required and added via the dashboard, not in the request.
provider- Required
- Yes
- Type
- string
- Details
- The destination to send assets to - set to
google-cloud-storagefor Google Cloud Storage. default:google-cloud-storage.
options- Required
- No; body and guard rules apply
- Type
- GoogleCloudStorageDestinationOptions
- Details
- Additional Google Cloud Storage configuration options.
##### GoogleCloudStorageDestinationOptions
Pass additional options to control how files are stored in Google Cloud Storage.
bucket- Required
- Yes
- Type
- string
- Details
- The bucket name to send files to. The bucket must exist in the Google Cloud Storage account before files can be sent.
prefix- Required
- No; body and guard rules apply
- Type
- string
- Details
- A prefix for the file being sent. This is typically a folder name, i.e.
videosorcustomerId/videos.
filename- Required
- No; body and guard rules apply
- Type
- string
- Details
- Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also
-poster.jpgand-thumb.jpgwill be appended for poster and thumbnail images.
##### GoogleDriveDestination
Send rendered videos and assets to the Google Drive cloud storage service. Google Drive uses OAuth and you must authenticate and link your Google account via dashboard, not in the request.
provider- Required
- Yes
- Type
- string
- Details
- The destination to send assets to - set to
google-drivefor Google Drive. default:google-drive.
options- Required
- No; body and guard rules apply
- Type
- GoogleDriveDestinationOptions
- Details
- Additional Google Drive configuration and features. If omitted, files are saved to the root of My Drive using the default Shotstack filename.
##### GoogleDriveDestinationOptions
Pass the folder ID and options to configure how assets are stored in Google Drive.
folderId- Required
- No; body and guard rules apply
- Type
- string
- Details
- The Google Drive folder ID where the asset will be stored. If omitted, the asset is saved to the root of My Drive. The folder ID can be retrieved from the URL when logged in to Google Drive, e.g. https://drive.google.com/drive/u/0/folders/1r-eTY6OLO8tzQRKwMyq-fIrQ_7AJEI6A.
filename- Required
- No; body and guard rules apply
- Type
- string
- Details
- Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also
-poster.jpgand-thumb.jpgwill be appended for poster and thumbnail images.
##### VimeoDestination
Send videos to Vimeo video hosting and streaming service. Vimeo credentials are required and added via the dashboard, not in the request.
provider- Required
- Yes
- Type
- string
- Details
- The destination to send video to - set to
vimeofor Vimeo. default:vimeo.
options- Required
- No; body and guard rules apply
- Type
- VimeoDestinationOptions
- Details
- Additional Vimeo configuration and features.
##### VimeoDestinationOptions
Pass additional options to control how Vimeo publishes video, including name, description and privacy settings.
name- Required
- No; body and guard rules apply
- Type
- string
- Details
- A name or title for the video that will be displayed on the Vimeo website.
description- Required
- No; body and guard rules apply
- Type
- string
- Details
- A description of the video that will be displayed on the Vimeo website.
privacy- Required
- No; body and guard rules apply
- Type
- VimeoDestinationPrivacyOptions
- Details
- Options to control the visibility of videos and privacy features.
folderUri- Required
- No; body and guard rules apply
- Type
- string
- Details
- The Vimeo folder URI to upload the video to. The folder must already exist in your Vimeo account.
##### VimeoDestinationPrivacyOptions
Options to control the visibility of videos and privacy features.
view- Required
- No; body and guard rules apply
- Type
- string
- Details
- Set who can view the videos. Available options are:
anybody- Anyone can view the video.nobody- Only the video owner can view the video.contacts- Only contacts can view the video.password- A password is required to view the video.unlisted- The video is not listed on Vimeo. Values:anybody,nobody,contacts,password,unlisted.
embed- Required
- No; body and guard rules apply
- Type
- string
- Details
- Set who can embed the video. Available options are:
public- Anyone can embed the video.private- Only the video owner can embed the video.whitelist- Only whitelisted domains can embed the video. Values:public,private,whitelist.
comments- Required
- No; body and guard rules apply
- Type
- string
- Details
- Set who can comment on the video. Available options are:
anybody- Anyone can comment on the video.nobody- Only the video owner can comment on the video.contacts- Only contacts can comment on the video. Values:anybody,nobody,contacts.
download- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Set whether the video can be downloaded.
add- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Set whether other users can add the video to their collections.
##### Edit
An edit defines the arrangement of a video on a timeline, an audio edit or an image design and the output format. Video assets are automatically preprocessed to fix common compatibility issues before rendering. You can control preprocessing behavior using the transcode flag on video assets.
timeline- Required
- Yes
- Type
- Timeline
- Details
- See the full input schema.
output- Required
- Yes
- Type
- Output
- Details
- See the full input schema.
merge- Required
- No; body and guard rules apply
- Type
- array
- Details
- An array of key/value pairs that provides an easy way to create templates with placeholders. The placeholders can be used to find and replace keys with values. For example you can search for the placeholder
a double-brace NAME placeholderand replace it with the valueJane. Items: MergeField.
callback- Required
- No; body and guard rules apply
- Type
- string
- Details
- An optional webhook callback URL used to receive status notifications when a render completes or fails. Notifications are also sent when a rendered video is sent to an output destination. See webhooks for more details.
disk- Required
- No; body and guard rules apply
- Type
- string
- Details
- Notice: This option is now deprecated and will be removed. Disk types are handled automatically. Setting a disk type has no effect. The disk type to use for storing footage and assets for each render.
local- optimized for high speed rendering with up to 512MB storagemount- optimized for larger file sizes and longer videos with 5GB for source footage and 512MB for output render Values:local,mount.
instance- Required
- No; body and guard rules apply
- Type
- string
- Details
- The render instance type to use for processing the edit.
s1- standard instance (default)s2- standard instance with more resourcesa1- accelerated instance for faster rendering Values:s1,s2,a1. default:s1.
##### GenerationAsset
An image, video or audio asset to generate from a text prompt.
type- Required
- Yes
- Type
- string
- Details
- The kind of asset to generate. Values:
image,video,audio.
prompt- Required
- Yes
- Type
- string
- Details
- A description of the asset to generate. For text-to-speech models it is the text spoken. minLength:
1. maxLength:4000. pattern:\S.
model- Required
- No; body and guard rules apply
- Type
- string
- Details
- The generation model. Defaults to
nano-banana-2for images,seedance-2.0-text-to-videofor video andelevenlabs-multilingual-v2for audio.GET /modelslists the models for each type.
options- Required
- No; body and guard rules apply
- Type
- object
- Details
- Settings for the chosen
model.GET /modelslists the options each model accepts; omitted options use the model's defaults and unknown or invalid options are rejected. A starting image for video goes instartSrc(inputSrcon the original image-to-video models) and a speech voice invoice.
##### Outputs
The output renditions and transformations that should be generated from the source file.
renditions- Required
- No; body and guard rules apply
- Type
- array
- Details
- The output renditions and transformations that should be generated from the source file. Items: Rendition.
transcription- Required
- No; body and guard rules apply
- Type
- Transcription
- Details
- The transcription settings for the output file.
##### Rendition
A rendition is a new output file that is generated from the source. The rendition can be encoded to a different format and have transformations applied to it such as resizing, cropping, etc...
format- Required
- No; body and guard rules apply
- Type
- string
- Details
- The output format to encode the file to. You can only encode a file to the same type, i.e. a video to a video or an image to an image. You can't encode a video as an image. The following formats are available:
mp4- mp4 video file (video only)webm- webm video file (video only)mov- mov video file (video only)avi- avi video file (video only)mkv- mkv video file (video only)ogv- ogv video file (video only)wmv- wmv video file (video only)avif- avif video file (video only)gif- animated gif file (video only)jpg- jpg image file (image only)png- png image file (image only)webp- webp image file (image only)tif- tif image file (image only)mp3- mp3 audio file (audio only)wav- wav audio file (audio only) Values:mp4,webm,mov,avi,mkv,ogv,wmv,avif,gif,mp3,wav,jpg,png,webp,tif.
size- Required
- No; body and guard rules apply
- Type
- Size
- Details
- See the full input schema.
fit- Required
- No; body and guard rules apply
- Type
- string
- Details
- Set how the rendition should be scaled and cropped when using a size with an aspect ratio that is different from the source. Fit applies to both videos and images.
crop(default) - scale the rendition to fill the output area while maintaining the aspect ratio. The rendition will be cropped if it exceeds the bounds of the output.cover- stretch the rendition to fill the output without maintaining the aspect ratio.contain- fit the entire rendition within the output while maintaining the original aspect ratio. Values:cover,contain,crop.
resolution- Required
- No; body and guard rules apply
- Type
- JSON
- Details
- The preset output resolution of the video or image. This is a convenience property that sets the width and height based on industry standard resolutions. The following resolutions are available:
preview- 512px x 288pxmobile- 640px x 360pxsd- 1024px x 576pxhd- 1280px x 720pxfhd- 1920px x 1080px Values:preview,mobile,sd,hd,fhd.
quality- Required
- No; body and guard rules apply
- Type
- integer
- Details
- Adjust the visual quality of the video or image. The higher the value, the sharper the image quality but the larger file size and slower the encoding process. When specifying quality, the goal is to balance file size vs visual quality. Quality is a value between 1 and 100 where 1 is fully compressed with low image quality and 100 is close to lossless with high image quality and large file size. Sane values are between 50 and 75. Omitting the quality parameter will result in an asset optimised for encoding speed, file size and visual quality. minimum:
1. maximum:100.
fps- Required
- No; body and guard rules apply
- Type
- number
- Details
- Change the frame rate of a video asset.
12- 12fps15- 15fps24- 24fps23.976- 23.976fps25(default) - 25fps29.97- 29.97fps30- 30fps48- 48fps50- 50fps59.94- 59.94fps60- 60fps Values:12,15,23.976,24,25,29.97,30,48,50,59.94,60.
speed- Required
- No; body and guard rules apply
- Type
- Speed
- Details
- See the full input schema.
keyframeInterval- Required
- No; body and guard rules apply
- Type
- integer
- Details
- The keyframe interval is useful to optimize playback, seeking and smoother scrubbing in browsers. The value sets the number of frames between a keyframe. The lower the number, the larger the file. Try a value between 10 and 25 for smooth scrubbing. minimum:
1. maximum:300.
fixOffset- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Attempt to fix audio and video sync issues. This can occur when recording devices, such as smartphones and web cams use compression techniques like Variable Frame Rate (VFR) which can cause audio and video to go out of sync. This option will attempt to fix the sync issues.
fixRotation- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Automatically reset the rotation of the video based on the orientation metadata in the video file. This is useful for videos recorded on smartphones that have orientation metadata that may not work correctly with certain video editing software, including the Shotstack Edit API.
enhance- Required
- No; body and guard rules apply
- Type
- object
- Details
- Apply media processing enhancements to the rendition using a third party provider. Currently only Dolby.io audio enhancement is available.
filename- Required
- No; body and guard rules apply
- Type
- string
- Details
- A custom name for the generated rendition file. The file extension will be automatically added based on the format of the rendition. If no filename is provided, the rendition ID will be used.
##### Transcription
Generate a transcription of the audio in the video. The transcription can be output as a file in SRT or VTT format.
format- Required
- No; body and guard rules apply
- Type
- string
- Details
- The output format of the transcription file. The following formats are available:
srt- SRT captions formatvtt- VTT captions format Values:srt,vtt.
##### Speed
Set the playback speed of a video or audio file. Allows you to preserve the pitch of the audio so that it is sped up without sounding too high pitched or too low.
speed- Required
- No; body and guard rules apply
- Type
- number
- Details
- Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Set values less than 1 to slow down the playback speed, i.e. set speed to 0.5 to play back at half speed. Set values greater than 1 to speed up the playback speed, i.e. set speed to 2 to play back at double speed. minimum:
0. maximum:10. format:float.
preservePitch- Required
- No; body and guard rules apply
- Type
- boolean
- Details
- Set whether to adjust the audio pitch or not. Set to false to make the audio sound higher or lower pitched. By default the pitch is preserved.
##### Enhancements
Enhancements that can be applied to a rendition. Currently only supports the Dolby audio enhancement.
audio- Required
- No; body and guard rules apply
- Type
- AudioEnhancement
- Details
- An audio enhancement that can be applied to the audio content of the rendition.
##### AudioEnhancement
An audio enhancement that can be applied to the audio content of a rendition. The following providers are available: DolbyEnhancement
oneOf: DolbyEnhancement.
Type: object.
##### DolbyEnhancement
Dolby.io audio enhancement provider. Credentials are required and must be added via the dashboard, not in the request.
provider- Required
- Yes
- Type
- string
- Details
- The enhancement provider to use - set to
dolbyfor Dolby. default:dolby.
options- Required
- Yes
- Type
- DolbyEnhancementOptions
- Details
- Additional Dolby configuration and features.
##### DolbyEnhancementOptions
Options for the Dolby.io audio enhancement provider.
preset- Required
- Yes
- Type
- string
- Details
- The preset to use for the audio enhancement. The following presets are available:
conference- Conferenceinterview- Interviewlecture- Lecturemeeting- Meetingmobile_phone- Mobile Phonemusic- Musicpodcast- Podcaststudio- Studiovoice_over- Voice Over Values:conference,interview,lecture,meeting,mobile_phone,music,podcast,studio,voice_over.
Complete client, OS and desktop setup
Codex
Codex is the current validation priority. Private token paths must exist in the process or remote environment where the server runs.
codex mcp add shotstack -- npx -y @thenavidm/shotstack-mcp-cli@latest
codex mcp listAccount credentials must reach the server through private environment settings. codex mcp add --env NAME=value stores values in your local config, so never commit that config or put secrets in a shared command. In TOML, the equivalent server is:
[mcp_servers.shotstack]
command = "npx"
args = ["-y", "@thenavidm/shotstack-mcp-cli@latest"]
env_vars = ["SHOTSTACK_API_KEY", "SHOTSTACK_TOKEN_FILE", "SHOTSTACK_ACCOUNTS", "SHOTSTACK_DEFAULT_ACCOUNT", "SHOTSTACK_READ_ONLY", "SHOTSTACK_ALLOW_DESTRUCTIVE", "SHOTSTACK_ENV"]env_vars forwards those names from the environment available to Codex. If that environment does not contain them, configure private env settings locally. Codex can also call the CLI directly with SKILL.md and --agent output.
Claude Code
For a user-scoped connection, after privately configuring credentials:
claude mcp add --scope user shotstack -- npx -y @thenavidm/shotstack-mcp-cli@latest
claude mcp listUse the client's private local environment settings for the account variable if they are not inherited. Claude's -e NAME=value registration option writes values into its config; only use it locally through your secret manager, with no shared command transcript. Never place credentials in a project .mcp.json. Reconnect and ask Claude to verify credentials.
Alternatively install the CLI, make SKILL.md available to Claude, and use shell commands. Registering both surfaces is optional.
Claude Desktop
Install the .mcpb extension
- Download
shotstack-2.0.1.mcpbfrom GitHub Releases. - In a supported Claude Desktop build, open Settings > Extensions > Advanced settings > Install Extension… and select it.
- Enter a private API key in the sensitive setting, or an absolute private token-file path. Leave the unused credential method empty. Shotstack uses x-api-key authentication.
- Enable read-only if you want only the five local/account reads. Reconnect and ask for account verification.
The bundle includes production dependencies and no credentials. Use a regular private token-only file if you prefer file-based credentials. The manifest requires Node 22 or newer from a compatible host. Organization policy may restrict custom extensions. Manual bundle updates require installing the new version; no automatic directory updates are promised. GUI installation remains unverified separately from archive/protocol checks.
Manual config
Open Settings > Developer > Edit Config, or use your platform's config file:
| OS | Typical config path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json; confirm the location through Edit Config in your installed build |
{
"mcpServers": {
"shotstack": {
"command": "npx",
"args": ["-y", "@thenavidm/shotstack-mcp-cli@latest"],
"env": {
"SHOTSTACK_API_KEY": "YOUR_PRIVATE_API_KEY",
"SHOTSTACK_TOKEN_FILE": ""
}
}
}
}Replace the placeholders only in your private file. Merge the server entry into an existing mcpServers object instead of replacing other integrations. Fully quit and reopen Claude Desktop. Do not enable an extension and a manual entry with the same name; choose one route.
If a Windows launcher cannot execute npx directly, use "command": "cmd" with "args": ["/c", "npx", "-y", "@thenavidm/shotstack-mcp-cli@latest"]. An absolute node executable and installed dist/index.js path also avoids launcher/PATH problems.
Cursor
Use private user settings at ~/.cursor/mcp.json, or Settings > Tools & MCP. Cursor documents environment interpolation and envFile support.
{
"mcpServers": {
"shotstack": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@thenavidm/shotstack-mcp-cli@latest"],
"env": {
"SHOTSTACK_API_KEY": "${env:SHOTSTACK_API_KEY}",
"SHOTSTACK_TOKEN_FILE": "${env:SHOTSTACK_TOKEN_FILE}"
}
}
}
}The environment values must exist for the Cursor process. If you use envFile, keep that file private and outside version control. A project's .cursor/mcp.json must not contain actual credentials. Reconnect the server after saving.
VS Code and Copilot
Use MCP: Open User Configuration. VS Code uses servers and secure inputs, rather than a mcpServers root:
{
"inputs": [
{"type": "promptString", "id": "shotstack-api-key", "description": "Shotstack API key (leave empty for a private token file)", "password": true},
{"type": "promptString", "id": "shotstack-token-file", "description": "Optional private token-file path (leave empty for API key)"}
],
"servers": {
"shotstack": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@thenavidm/shotstack-mcp-cli@latest"],
"env": {
"SHOTSTACK_API_KEY": "${input:shotstack-api-key}",
"SHOTSTACK_TOKEN_FILE": "${input:shotstack-token-file}"
}
}
}
}Start Shotstack through the MCP controls, approve trust if prompted, and enter credentials in the private input prompts. Workspace .vscode/mcp.json may contain this placeholder-only structure, but never resolved secret values. Remote development runs the server in the selected remote environment, so local file paths refer to that environment.
Windsurf
Open Cascade's MCP settings or edit the private user file ~/.codeium/windsurf/mcp_config.json. Use the Claude Desktop manual mcpServers block above with your locally configured env values. See Windsurf's current MCP documentation. Restart or reconnect Shotstack in Cascade; project files must not contain secrets.
Zed
Open Settings > AI > MCP Servers > Add Server > Add Local Server, or your user settings file. Zed uses context_servers:
{
"context_servers": {
"shotstack": {
"command": "npx",
"args": ["-y", "@thenavidm/shotstack-mcp-cli@latest"],
"env": {
"SHOTSTACK_API_KEY": "YOUR_PRIVATE_API_KEY",
"SHOTSTACK_TOKEN_FILE": ""
}
}
}
}Enter actual values only in private user settings. Check the active-server indicator before prompting. Do not wrap command and args inside a nested command object from older Zed examples.
Gemini CLI
Merge the Claude Desktop manual mcpServers block into your private ~/.gemini/settings.json. Configure the private credential values locally, then restart Gemini CLI and inspect /mcp. See Gemini CLI's MCP configuration. Its project settings must not contain real credentials. You can instead use the CLI from an agent shell.
Other local stdio clients use the same command and arguments, adapted to their config format. A client that only accepts a remote MCP URL cannot connect directly: this package does not ship a public HTTP listener. ChatGPT's remote connector setup is not a substitute for local stdio installation.
Docker
Build locally from the reviewed source; no prebuilt registry image is claimed:
git clone https://github.com/thenavidm/shotstack-mcp-cli.git
cd shotstack-mcp-cli
docker build -t shotstack-mcp-cli .
docker run --rm -i -e SHOTSTACK_API_KEY shotstack-mcp-cliCline and other local MCP clients
Use the client's Add MCP server flow with command npx, arguments -y and @thenavidm/shotstack-mcp-cli@latest, stdio transport, and private local SHOTSTACK_API_KEY or SHOTSTACK_TOKEN_FILE settings. UI names depend on the installed client. Reconnect and discover tools before an account call. Browser-only clients need a remote HTTPS connector; use Shotstack's official server rather than this local stdio command.
Output, flags and exit codes
Tool results go to stdout. Errors are JSON on stderr. Reads and generation return structured JSON, so --select can retain nested fields.
shotstack-cli render --help
shotstack-cli schema render
shotstack-cli get-render --id REAL_RENDER_ID --agent --select response.status,response.url| Flag | What it does |
|---|---|
--json | JSON output |
--compact | Single-line JSON |
--agent | JSON, compact, no input and no color |
--select a,b.c | Keep selected fields; dotted paths descend and arrays are traversed |
--confirm | Confirm the requested paid media operation |
--no-input, --no-color, --yes | Automation switches; none overrides the spending guard |
--wait=false | Return an accepted job instead of polling |
--download | Save completed media locally; requires waiting for completion |
Global output flags apply to tool commands. doctor has its own --network option and returns a JSON diagnostic.
- Meaning
- Success
- What a script should do
- Read stdout
- Meaning
- Usage, invalid input or a refused write
- What a script should do
- Fix the input or confirm only the requested action
- Meaning
- Job or local upload file not found
- What a script should do
- Check the ID/path
- Meaning
- Authentication or entitlement rejected
- What a script should do
- Check private credential settings and permissions
- Meaning
- API, network or polling failure
- What a script should do
- Inspect an accepted job before another paid submission
- Meaning
- Rate limited
- What a script should do
- Wait; do not loop over paid submissions
- Meaning
- Credentials not configured
- What a script should do
- Complete local setup
The underscore spelling also works. generate_asset and generate-asset call the same tool. Nested objects use quoted JSON. Arrays of objects use repeated flags, one JSON object at a time.
Official and community comparisons
- Surface
- @shotstack/cli 0.8.4; shotstack
- Capabilities and tradeoff
- Render/status, Studio, ingest, templates, semantic validation, JSON output and interactive login. The installed release differs from newer same-version source.
- Surface
- https://mcp.shotstack.io/
- Capabilities and tradeoff
- Provider-hosted OAuth/API-key setup, inline Studio review/render, guide and reusable-template workflows. Client approvals remain relevant.
- Surface
- @shotstack/shotstack-mcp-server 1.1.0
- Capabilities and tradeoff
- Actual discovery of the checksum-reviewed published stdio package exposes ten tools, including Studio and agent-guide tools as well as rendering/templates. Local MCP is already available officially.
- Surface
- Shared CLI, local MCP, .mcpb
- Capabilities and tradeoff
- Explicit confirmation enforced for all 11 mutations; 12 reads; private named stage/production accounts; signed upload credentials written only to exclusive private files.
- Surface
- Node, Python, PHP and other libraries
- Capabilities and tradeoff
- Application integration and custom orchestration; do not confuse developer SDKs with an agent task CLI.
- Surface
- Community self-hosted backend
- Capabilities and tradeoff
- A narrower backend implementation with different capacity/maintenance responsibilities; it is not the Shotstack hosted account or an equivalent MCP/CLI.
Checked October 2, 2026. The actual official CLI 0.8.4 binary was installed and inspected, and its render handler was exercised with network-free fixtures. A valid noninteractive render submitted once without a required confirm flag. Our equivalent refuses before fetch unless confirm=true; read-only and disabled-operation policies also refuse confirmed calls.
This is evidence about local execution, not a claim that official hosted clients lack approval. Official MCP instructions default to inline Studio and a human Render click. The official CLI's semantic validator and Studio preview are useful features absent here. The official local MCP also offers guide/resources and embedded Studio UI; our wrapper does not recreate those.
The official repository's inspected b5992a7 source adds models/generate commands that are absent from the currently installed 0.8.4 binary. Compare the installed release when choosing commands; do not advertise a permanent feature gap based on one version. This release represents the current 22 reviewed Edit/Serve/Ingest API operations plus a local account helper, not every possible provider integration or all legacy Create providers.
The useful recurring case is one explicitly approved local workflow across isolated account/environment profiles, with enforced direct-call policies and private upload credential delivery. Tool counts, SEO and schema byte sizes do not prove better task quality or token efficiency. Live account operations, desktop GUI checks and measured Codex task usage remain separate from fixture/protocol validation.
Versions and migration
| Component | Version or baseline |
|---|---|
| Owned package/desktop | 2.0.1 |
| API schemas | OpenAPI 3.0.1; document v1; checked 2026-10-02 |
| Tools | 23 shared; 12 reads; 11 confirmed operations |
| Official CLI release inspected | 0.8.4 |
| Official local MCP inspected | 1.1.0 (self-reported server version 1.0.0) |
| Node baseline | 22+; CI Node 22/24 on Linux/macOS/Windows |
| MCP TypeScript SDK | 1.32.0 |
| Ajv / ajv-formats | 8.20.0 / 3.0.1 |
| TypeScript / Vitest / Vite | 7.0.2 / 5.0.3 / 8.3.2 |
| MCPB packager | 2.1.2; development only |
The lockfile records exact dependencies. The dated CHANGELOG.md records user-facing changes. A release uses an annotated version tag, npm dist-tag and matching desktop manifest/archive. Upstream schema/model changes require review before a new release.
Legacy callers retain SHOTSTACK_API_KEY and stage/v1 semantics. Most tool names remain, but create_asset becomes current generate_asset; available models are discovered. Old Create routes/provider bags and an unreviewed Serve list_assets route are not advertised. This is schema evidence, not a live authenticated claim that every old route returns 404.
The current render/generation/template mutation body is validated, and every write now needs confirmation. get_render/get_template and other path reads need their exact id. Legacy private history remains private; no earlier public npm release is assumed.
Updates and removal
npm and client updates
Configs using npx -y @thenavidm/shotstack-mcp-cli@latest resolve the current published version when they launch. Reconnect or restart the MCP client after an update.
npm install -g @thenavidm/shotstack-mcp-cli@latest
shotstack-cli --versionGlobal installs need that command to update. Desktop bundles are separate downloads: install the new .mcpb from the latest release through Extensions settings. Do not assume a manually installed custom bundle updates itself.
Every release is recorded in CHANGELOG.md. Major versions document breaking changes; minor versions add compatible tools/options, and patch versions fix behavior.
Migrating from the old MCP-only server
Keep the old tool names where supported, but change the package to @thenavidm/shotstack-mcp-cli@latest. Node 22 is required. Paid media calls now need confirmation. Downloads now require an explicit flag.
n maps to numVariations where supported. width and height must be supplied together. Fill uses the current async endpoint. Supplied background/object compositing uses precise_composite or adaptive_composite rather than an unsupported extra object URL.
Remove it
npm uninstall -g @thenavidm/shotstack-mcp-cli
claude mcp remove --scope user shotstackIn other clients, remove the Shotstack entry you added. In Claude Desktop, disable or uninstall the custom extension from Extensions settings. Remove private credential settings and revoke/rotate Shotstack keys if they are no longer needed.
Output images and audit logs are your files and are kept. Remove them yourself if desired.
Validation and remaining evidence
Thirty-three behavior/shared-CLI tests pass. Actual stdio discovery returns 23 tools; read-only returns twelve and direct mutation calls refuse. Public npm and desktop discovery are checked separately from provider-account outcomes and actual desktop GUI installation.
Runtime dependency audit has zero findings. Two development packaging advisories do not ship in runtime artifacts. Source schemas remove examples and temporary signed credential URLs; source, npm and desktop secret scans are required before release.
Fresh Codex standing-context and equivalent successful task usage measurements remain pending. Claude Code is optional and its measurements are deferred. The private site scene deployment batch remains separately tracked.
More media tools
Choose the tools needed for the requested media workflow.
Shotstack MCP Server & CLI FAQs
Official alternatives, API keys, environments, rendering, generation, signed files, desktop setup and safeguards.
No.
Navid Media builds and maintains this owned wrapper.
Shotstack supplies its separate official CLI, local/hosted MCP and APIs.
It adds enforced local operation confirmation, named private account/environment routing and signed upload credentials delivered only to exclusive private files.
Official Studio/semantic validation remain useful alternatives.
Yes. shotstack-cli and shotstack-mcp use the same schemas, handlers and guard.
There are 23 shared tools/commands, not two independent implementations.
The AGPL wrapper is free.
Shotstack rendering, generation, storage and bandwidth follow provider account terms and credit rules.
No.
Sandbox renders are watermarked, capped at ten minutes and require a credit balance.
Generative AI assets still consume credits in sandbox.
Select stage and its matching key.
Open API Keys in the intended Shotstack account dashboard.
Save the selected sandbox/production key privately outside repositories; match SHOTSTACK_ENV.
Yes.
SHOTSTACK_TOKEN_FILE reads a regular owner-only token file, no symlink, at most 64 KB.
It overrides the environment key.
Windows ACLs must be restricted separately.
Yes.
Named account entries carry token_file/api_key and env.
Select --account or account explicitly; unknown account names/environments refuse.
Yes, through local stdio registration or shell commands.
INSTALL.md puts Codex first and documents private environment forwarding.
Fresh Codex task-token measurement remains pending.
Yes, the versioned .mcpb bundles production dependencies.
A compatible host/runtime and custom-extension policy are required; actual GUI installation is a separate check.
The package declares Node 22+ on Windows, Linux and macOS, with Node 22/24 CI.
Use the documented shell/client path and private Windows ACLs.
Desktop host availability is separate.
No.
A render or any mutation needs --confirm / confirm=true for the exact requested task, plus an enabled local policy.
Yes.
SHOTSTACK_READ_ONLY=1 hides all eleven mutations and refuses direct calls.
SHOTSTACK_ALLOW_DESTRUCTIVE=0 blocks even confirmed operations.
No.
The provider may already have processed it.
No mutation retries run automatically.
Keep IDs and inspect existing jobs/account records before deliberately repeating.
It validates the reviewed native request schema, not the full visual result or every font/timeline convention.
Use the official CLI validator and Studio for those tasks.
No. ingest_source fetches a selected remote URL. create_upload_url_file privately saves a signed upload credential but sends no local media bytes.
Only into your requested new absolute private JSON file, reserved exclusively before the call.
Ordinary model output shows the path and a warning, not the credential.
Only current Edit generation schemas/models are advertised.
Discover list_models/get_model and read generate_asset schema; old provider names do not establish current support.
No measured blanket claim is made.
Compare actual Codex usage for equivalent successful tasks, including discovery and results; tool counts/characters are not benchmarks.
Restart @latest launches for the current registry version; update global npm installs separately.
Reinstall desktop archives separately.
Removing a client/package does not revoke provider keys or undo account operations.
Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Learn more.
More MCP servers & CLIs
Related free tools
Free AI newsletterThe most actionable AI newsletter for founders
Every week, get proven AI strategies, curated tools, and step-by-step systems to grow your audience, create better content, and build a profitable creator business.
No fluff, no filler, no BS. Just five minutes each week that might level up your online business and life.
P.S. Sign up now to get free access to my ultimate AI tools guide for creators.











