Add subtitle, chapters, and thumbnails to video uploads

View Markdown

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

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


Workflow

[
  {
    "kind": "subtitles"
  },
  {
    "kind": "chapters"
  },
  {
    "kind": "thumbnails"
  }
]

Upgrade

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

[
  {
    "kind": "speech",
    "next": [
      {
        "kind": "subtitles"
      }
    ]
  },
  {
    "kind": "outline",
    "next": [
      {
        "kind": "chapters"
      }
    ]
  },
  {
    "kind": "thumbnails",
  }
]

Create Task

const task = await ittybit.tasks.create({
  url: "https://ittyb.it/sample.mp4",
  kind: "workflow",
  workflow: [
    {
      kind: "subtitles",
    },
    {
      kind: "chapters",
    },
    {
      kind: "thumbnails",
    }
  ]
})

On this page