Studio SDK

White Label Video Editor

A video editing SDK you install from npm. Your users edit on a timeline, preview on a canvas and export video without leaving your product.

The SDK embedded inside a listing app. Open Studio in the app
  • Ikea
  • McDonald's
  • Twitter
  • Randstad
  • Nike
  • Coca-Cola
  • Zillow
  • Angel
  • ClickFunnels
  • TheSoul Publishing

A video editor you don't have to build

Studio is a white label video editor SDK you can put inside your app. Your users get a canvas preview and a multi-track timeline with drag, trim, snap and undo. You add your own design, toolbar buttons and layout, so it reads as part of your product.

The code is open-source and available on GitHub.

Getting started

Usage

  1. Scaffold a project with npm create video-editor@latest, or add @shotstack/shotstack-studio to your app.
  2. Load a template. Any Shotstack edit JSON works.
  3. Mount the canvas and the timeline in two containers on your page.
  4. Add your own toolbar buttons, and listen for changes to the edit.

Render or export

Send the finished edit to the Edit API to render it in the cloud, or export an MP4 in the browser with VideoExporter.

Working examples for TypeScript, React, Vue, Angular and Next.js run on StackBlitz.

TypeScript
import { Edit, Canvas, Timeline, UIController } from '@shotstack/shotstack-studio';

const template = await fetch(templateUrl).then(response => response.json());

const edit = new Edit(template);
const canvas = new Canvas(edit);
const ui = UIController.create(edit, canvas);
await canvas.load();
await edit.load();

const container = document.querySelector('[data-shotstack-timeline]');
await new Timeline(edit, container).load();

const logo = { type: 'image', src: logoUrl };
ui.registerButton({ id: 'logo', icon: logoSvg, tooltip: 'Add logo' });
ui.on('button:logo', ({ position }) => {
  edit.addClip(0, { asset: logo, start: position, length: 5 });
});

edit.events.on('edit:changed', () => save(edit.getEdit()));

What your users get

  • Editing

    A timeline they already know

    Drag, trim and snap clips across tracks, preview every change on the canvas, and undo any of them.

  • AI generation

    White label AI video generator

    Image, video and audio clips can carry a prompt. Register a generator, and the editor adds a generate action to its toolbar.

  • Templates

    Merge fields in the editor

    Merge fields such as {{ NAME }} stay visible in the editor, so the templates your users build render with your data, one video per record.

Trusted to deliver

Join companies large and small rendering thousands of videos every day

Over 100,000 Businesses from 119 Countries Trust Shotstack

Achieving the desired outcome would have required extensive research and at least two to six months of engineering time.
Hector Zarate Spotify

Questions

Can I add the Studio SDK into any application?
Yes. It is a JavaScript video editor SDK that runs in the browser in any web app, with or without a framework, and needs WebGL. Working examples cover TypeScript, React, Vue, Angular and Next.js.
Is the video editor SDK open source?
The source is public on GitHub under the PolyForm Shield licence, which is source-available rather than open source. You can use it in any application, commercial or not, as long as it doesn't compete with Shotstack.
What does pricing look like for the white-label video editor?
The SDK is free to use. Rendering an edit through the Edit API is billed like any other render, and exporting an MP4 in the browser with VideoExporter costs nothing.
Is this an AI Video Editor?
Yes. Image, video and audio clips can carry a prompt, and the Edit API generates them when the edit renders. Register a generator and your users can also generate from the editor toolbar.
How can I style the editor?
Mount the canvas and timeline wherever they fit your layout, and add your own toolbar buttons. The source is on GitHub if you need to change more.
Can I use this as a standalone preview player?
Yes. Use the canvas without the timeline to preview edits made with the Shotstack API.

Your first render in minutes

  • Free tier: 10 credits
  • No credit card required