Add subtitle, chapters, and thumbnails to video uploads

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

View Markdown

The Workflow

Overview

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


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 Run

We create a new run by sending a POST request to /runs with our workflow as the tasks array.

curl -X POST "https://api.ittybit.com/runs" \
-H "Authorization: Bearer ITTYBIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "tasks": [
    {
      "kind": "ingest",
      "options": {
        "url": "https://example.com/your-video.mp4"
      },
      "next": [
        { "kind": "subtitles" },
        { "kind": "chapters" },
        { "kind": "thumbnails" }
      ]
    }
  ]
}'

Handle Webhook

Set up a webhook to receive task completion events and save the output 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