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.
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
- Scaffold a project with
npm create video-editor@latest, or add@shotstack/shotstack-studioto your app. - Load a template. Any Shotstack edit JSON works.
- Mount the canvas and the timeline in two containers on your page.
- 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.
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.
Questions
Can I add the Studio SDK into any application?
Is the video editor SDK open source?
What does pricing look like for the white-label video editor?
Is this an AI Video Editor?
How can I style the editor?
Can I use this as a standalone preview player?
More to do
-
Online video editor
Studio in the browser for your team, ready to use without code.
-
Video editing API
Render video from JSON: templates, merge fields and AI generation in one request.
-
Node.js SDK
Render videos from your Node.js app with the Shotstack API.
Your first render in minutes
- Free tier: 10 credits
- No credit card required
9 Pier St