# TikTok SRT Subtitles: Generate Captions from Videos

**Use case:** 

Generate SRT subtitles for TikToks, Reels and other short videos. Paste video links and get a ready-to-use .srt caption file with accurate timestamps, plus the full transcript, as JSON, CSV or Excel. Whisper AI, 90+ languages, $0.006 per video.

## Input

```json
{
  "urls": [
    "https://www.tiktok.com/@apifylife/video/7338085038258457889"
  ],
  "maxVideosPerUrl": 1,
  "publishedAfter": "",
  "extractOnScreenText": false,
  "aiAnalysis": false,
  "translateTo": "none",
  "language": "auto",
  "preferPlatformCaptions": true,
  "includeSegments": true,
  "subtitleFormat": "srt",
  "maxDurationMinutes": 120,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "url": {
    "label": "Video",
    "format": "link"
  },
  "platform": {
    "label": "Platform",
    "format": "text"
  },
  "durationSec": {
    "label": "Duration (s)",
    "format": "number"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "srt": {
    "label": "SRT subtitles",
    "format": "text"
  },
  "vtt": {
    "label": "WebVTT subtitles",
    "format": "text"
  },
  "errorCode": {
    "label": "Error code",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Social Media Video to Text: TikTok, Instagram, X Transcripts Actor is ready to run with the inputs already set for "TikTok SRT Subtitles: Generate Captions from Videos". [Sign up or log in](https://console.apify.com/create-task-from-example/knRdUjoZEK8Ssew26) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "TikTok SRT Subtitles: Generate Captions from Videos" task

The Social Media Video to Text: TikTok, Instagram, X Transcripts Actor will start running based on the input automatically. You can also change all the input fields, like video urls, max videos per url, and more, to match your specific use case.

### 3. Receive the "TikTok SRT Subtitles: Generate Captions from Videos" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as video, platform, duration (s), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "TikTok SRT Subtitles: Generate Captions from Videos" task via API](https://apify.com/aemon/video-to-text-for-ai.md).

## FAQ

### How do I get the .srt file?

Each row has an "srt" field with the complete subtitle file. Copy it into a .srt file, or read it through the API and save it directly.

### Can I get WebVTT instead of SRT?

Yes. Set Subtitle file format to WebVTT and each row gets a "vtt" field instead.

### Which languages are supported?

More than 90 languages, detected automatically. The subtitles are in the spoken language; translation is not included.

### How much does it cost?

$0.006 per video up to 2 minutes, platform usage included. Longer videos add $0.003 per started minute. Failed videos are free.

### What happens if a video is private or removed?

It is returned as a row with "status": "error", an error code such as PRIVATE or UNAVAILABLE and a readable message. Failed, private and removed videos are never charged.

### Can I run this on a schedule or from code?

Yes. Save the task and add a Schedule, or call it through the Apify API, the JavaScript or Python client, the Apify MCP server, Make, Zapier or n8n.

## About this Actor

This example demonstrates how to use [Social Media Video to Text: TikTok, Instagram, X Transcripts](https://apify.com/aemon/video-to-text-for-ai.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/aemon/video-to-text-for-ai.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/aemon/video-to-text-for-ai.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`).
