Add subtitle, chapters, and thumbnails to video uploads

Generate subtitles, chapters, and thumbnail tracks in a single task.

View Markdown

The Workflow

Overview

This workflow generates subtitles, chapters, and thumbnails in a single task.


Build Workflow

A workflow is an array of task definitions that describe what should happen and in what order.

Tasks in the array run in parallel. You can also chain tasks together in sequences using the next property.


Automatic Upgrade

Behind-the-scenes, ittybit will upgrade this to extract the data each subtask requires, without you having to do anything.


Create Task

We create a new task with the kind: "workflow".

The workflow property contains our workflow steps as defined above.

const task = await ittybit.tasks.create({
  url: "https://example.com/your-video.mp4",
  kind: "workflow",
  workflow: workflow
})

Handle Webhook

Your webhook handler should parse the File Object payloads and save the data in your database.

Paul Anthony Williams
Paul Anthony Williams is a software engineer and entrepreneur. He's a founder at Ittybit, he used to work with some of the world's biggest creators, and he appeared in Game of Thrones right before it went downhill (probably not his fault).

On this page