Shotstack Edit

Video Editing API

Describe a video in JSON and the cloud video editing API renders it. One template plus merge fields gives a video for every record, from code, a workflow or an agent.

  • Ikea
  • McDonald's
  • Twitter
  • Randstad
  • Nike
  • Coca-Cola
  • Zillow
  • Angel
  • ClickFunnels
  • TheSoul Publishing

What the API does

  • Edit

    Render video from JSON

    Clips, transitions, text, audio and effects on a timeline, rendered in the cloud. A video rendering API that outputs mp4, gif or jpg at the resolution you set.

    API reference
  • Templates

    One design, a video per record

    Save an edit as a template, add merge fields, and render it with new data each time. Design templates in Studio, write them in JSON, or ask Director, the AI agent in Studio, to build one for you.

  • AI generation

    Generate clips, images, voice and music

    Put a prompt where a URL would go. The asset is generated during the render and charged per model.

    See all models and pricing
  • Ingest

    Bring footage in

    Upload or fetch source files up to 5 GB each, transcode them and keep them ready for rendering.

    Ingest API guide
  • Serve

    Deliver the result

    Host renders on Shotstack or send them to S3, Google Cloud Storage, Azure, Google Drive or Vimeo.

    Destinations guide
  • SDKs and agents

    Call it your way

    A video editing SDK for Node, Python, PHP and Ruby. An MCP server and CLI for Claude, ChatGPT or Cursor.

    Connect an agent

Built for production

  • Speed

    About 20 seconds per minute of video

    Render time scales with the length of the output; effects and transitions add to it. Set a callback webhook or poll for status.

  • Scale

    Thousands of videos rendering at once

    The cloud infrastructure queues and renders thousands of videos concurrently, with 300 Edit API requests a minute per key and source files up to 5 GB, the same on every plan.

  • Reliability

    Running in production for years

    The same engine behind every render, with a public status page and callbacks that report every failure as well as every success.

    Live status
I ran my own FFmpeg server until the outages wore me down. Now each purchase triggers a video by itself.
Michael Peloquin Borderline Media
Our users get their videos automatically. I don't even see them anymore.
Charter Pro

Questions

What is a video editing API?

An API for video editing takes a description of the video and returns the finished file. With Shotstack the description is JSON: clips, text, audio, transitions and timing on a timeline. You send it, the cloud renders it, and you get back a URL. It works as a video creation API as well as an editing one, built for programmatic video editing at scale.

How do I get an API key?

Sign up and your keys are in the dashboard: one for the sandbox, one for production. New accounts get 10 free credits, valid for 30 days, with no credit card. Request API keys.

What does the sandbox do?

The sandbox has the same features and limits as production, except renders are capped at 10 minutes and carry a watermark. Sandbox renders are free; you need at least one credit in your account to use it.

What are the rate limits?

300 Edit API requests a minute per key in production, including render requests, in a fixed 60-second window. Limits are the same on every plan.

How do I know when a render is done?

Set a callback URL on the edit and the API posts to it when the render finishes or fails. Or poll the render endpoint, about every 5 seconds, until the status is done. Webhooks.

Does it include an AI video editing API?

Yes. The same request works as an AI video editor API: put a prompt where a URL would go and AI video, images, voice and music are created during the render through the AI video generation API.

Can an AI agent use it?

Yes. Connect Claude, ChatGPT, Cursor or your own agent through the MCP server and CLI, or use Director, the agent built into Studio. Agentic video editing.

Is it an alternative to FFmpeg?

For rendering at scale, yes. You describe the edit in JSON instead of command flags, and Shotstack runs the servers, queues and scaling. Shotstack as an FFmpeg alternative.

What happens when my credits run out?

On pay as you go the API stops rendering until you buy more credits; there is no overage charge. Subscriptions keep rendering and bill any overage at the end of the billing cycle. Pricing.

Can I render many videos at once?

Yes. The infrastructure is built to render thousands of videos concurrently. The only documented limit is the request rate, 300 Edit API requests a minute per key, so batch your requests to stay under it.

Your first render in minutes

  • Free video editing API tier: 10 credits
  • No credit card required