# Short Video to VTT Captions for Web Players

**Use case:** 

Produce WebVTT caption files for TikToks and YouTube Shorts, ready to drop into an HTML5 video player or a CMS.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/shorts/4RwmV-jIb9w",
    "https://www.tiktok.com/@pabloescabor.08/video/7675011438385057040"
  ],
  "allowWhisperFallback": true,
  "forceWhisper": false,
  "maxDurationSeconds": 600,
  "maxAsrDurationSeconds": 180,
  "maxVideos": 1000,
  "whisperModel": "base",
  "beamSize": 1,
  "concurrency": 5,
  "includeFailedItems": true,
  "useResidentialFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "platform": {
    "label": "Platform",
    "format": "text"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "title": {
    "label": "Title / caption",
    "format": "text"
  },
  "durationSeconds": {
    "label": "Seconds",
    "format": "number"
  },
  "language": {
    "label": "Lang",
    "format": "text"
  },
  "source": {
    "label": "Source",
    "format": "text"
  },
  "wordCount": {
    "label": "Words",
    "format": "number"
  },
  "segmentCount": {
    "label": "Segments",
    "format": "number"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Short Video Transcriber - TikTok + YouTube Shorts](https://apify.com/sauliusautomatesit/short-video-transcriber.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sauliusautomatesit/short-video-transcriber.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sauliusautomatesit/short-video-transcriber.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
