# Audio & Video Transcription — Whisper, SRT/VTT, 55 Languages (`openregistry/audio-transcription`) Actor

Transcribe audio and video files by URL with Whisper: full text, timestamped segments, SRT and WebVTT subtitles, automatic language detection, optional translation to English. MP3, WAV, M4A, MP4, MOV… Pay per minute.

- **URL**: https://apify.com/openregistry/audio-transcription.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $16.00 / 1,000 audio minute (base model)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Audio & Video Transcription — Whisper, SRT/VTT subtitles, 55 languages

Turn **audio and video files into text**: podcasts, interviews, meetings, webinars, lectures, voice notes, customer
calls, course videos. Give a list of file links, get one row per file with the full transcript, timestamped segments,
ready-to-use **SRT and WebVTT subtitles** and the detected language.

**From $0.007 per minute of audio.** No API key, no subscription; files that fail are not charged.

### Why this tool

- **Subtitles included**: every row carries the SRT and WebVTT text, so you can save `.srt` / `.vtt` files directly
  for YouTube, Vimeo, video players or editing software.
- **Timestamps per segment** (start / end in seconds) to build chapters, search a recording or jump to a quote.
- **55 languages with automatic detection**, or force the language; optional **translation to English**.
- **Audio and video**: MP3, WAV, M4A, AAC, OGG, OPUS, FLAC, WEBM, MP4, MOV, MKV, AVI… the audio track is extracted
  automatically.
- **Private by design**: the open-source Whisper model (whisper.cpp) runs inside the Actor; your files are not sent to
  a third-party speech API and are deleted right after processing.
- **Bulk**: up to 1,000 files per run, up to 3 hours each.

### Input

| Field | What it does |
|---|---|
| `audioUrls` | Direct public links to audio or video files (max 500 MB and 3 hours each) |
| `model` | `base` (default, better accuracy) or `tiny` (fastest, cheapest) |
| `language` | `auto` (default) or a language code such as `en`, `es`, `fr`, `de`, `pt`, `ja`… |
| `translateToEnglish` | Output English text whatever the spoken language |
| `subtitleFormats` | `srt`, `vtt` (both by default) |
| `includeSegments` | Timestamped segments (default on) |
| `maxFiles` | Stops the run after this many files |

```json
{
  "audioUrls": ["https://archive.org/download/short_poetry_001_librivox/because_I_could_not_stop_for_death_dickinson_64kb.mp3"],
  "model": "base",
  "language": "auto"
}
```

**Direct file links only.** YouTube, TikTok, Instagram, Facebook, X, Vimeo, SoundCloud, Spotify and similar platform
pages are refused: the link must return the media file itself (for example a podcast RSS enclosure, a file in your
cloud storage with a public link, or a file on your own server).

### Output

| Field | Example |
|---|---|
| `audioUrl` | the file transcribed |
| `text` | full transcript |
| `language` | `en` (detected or forced) |
| `durationSeconds`, `billedMinutes` | 209.4, 4 |
| `words` | 412 |
| `segments` | `[{ "start": 0, "end": 4.2, "text": "This is a LibriVox recording." }]` |
| `srt` | `1\n00:00:00,000 --> 00:00:04,200\nThis is a LibriVox recording.\n` |
| `vtt` | `WEBVTT\n\n00:00:00.000 --> 00:00:04.200\nThis is a LibriVox recording.\n` |
| `model`, `translatedToEnglish`, `processingSeconds` | base, false, 92.3 |
| `error` | only on failed rows (not charged) |

Download everything as JSON, CSV or Excel from the dataset, or call the Actor from the API, Make, Zapier or n8n.

### Pricing

Pay per event, **per started minute of audio** (a 3 min 29 s file counts 4 minutes):

| Model | Price per minute | 1 hour of audio |
|---|---|---|
| `base` (default) | $0.016 | $0.96 |
| `tiny` | $0.007 | $0.42 |

Not charged: invalid or refused links, web pages instead of files, downloads that fail, files without an audio track,
files over 500 MB or 3 hours, and transcriptions that fail. If you set a maximum charge per run, files that would go
over it are skipped before processing.

### Speed, accuracy and limits

- Processing takes roughly **0.2× (tiny) to 0.45× (base) the audio length**: about 25 minutes for a one-hour
  recording with `base`. Files are processed one after another.
- `base` handles accents and average recordings well; `tiny` is best for clean, single-speaker audio. Neither model
  separates speakers (no diarization) and very noisy audio, music or overlapping voices reduce accuracy.
- Force the language when a recording begins with music or silence, or when detection picks the wrong one.
- Only transcribe content you have the right to process; personal data in recordings stays under your responsibility
  (GDPR).

### Step-by-step guide

- [How to transcribe podcast episodes and videos in bulk and get SRT subtitles](https://app.mahedesk.com/outils/guides/transcribe-podcast-episodes-srt-subtitles/)

# Actor input Schema

## `audioUrls` (type: `array`):

Direct public links to audio or video files: MP3, WAV, M4A, AAC, OGG, OPUS, FLAC, WEBM, MP4, MOV, MKV… Up to 500 MB and 3 hours each. YouTube, TikTok and other platform pages are not supported: the link must point to the file itself.

## `model` (type: `string`):

Whisper model used. Base gives clearly better accuracy; Tiny is cheaper and fine for clean, single-speaker recordings. Each model has its own price per minute.

## `language` (type: `string`):

Language spoken in the files. Leave on automatic detection, or force it when the audio starts with music or silence, or mixes languages.

## `translateToEnglish` (type: `boolean`):

Output an English translation instead of the original-language transcript (same price).

## `subtitleFormats` (type: `array`):

Subtitle files added to each row as text, ready to save as .srt or .vtt. Leave empty for plain text only.

## `includeSegments` (type: `boolean`):

Add the list of segments with start and end time in seconds to each row.

## `maxFiles` (type: `integer`):

Stop after this many transcribed files. To cap the cost, also set the maximum charge per run in Apify.

## Actor input object example

```json
{
  "audioUrls": [
    "https://archive.org/download/short_poetry_001_librivox/because_I_could_not_stop_for_death_dickinson_64kb.mp3"
  ],
  "model": "base",
  "language": "auto",
  "translateToEnglish": false,
  "subtitleFormats": [
    "srt",
    "vtt"
  ],
  "includeSegments": true,
  "maxFiles": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "audioUrls": [
        "https://archive.org/download/short_poetry_001_librivox/because_I_could_not_stop_for_death_dickinson_64kb.mp3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/audio-transcription").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "audioUrls": ["https://archive.org/download/short_poetry_001_librivox/because_I_could_not_stop_for_death_dickinson_64kb.mp3"] }

# Run the Actor and wait for it to finish
run = client.actor("openregistry/audio-transcription").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "audioUrls": [
    "https://archive.org/download/short_poetry_001_librivox/because_I_could_not_stop_for_death_dickinson_64kb.mp3"
  ]
}' |
apify call openregistry/audio-transcription --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openregistry/audio-transcription"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HlKwlZbTOjGeBk06h/builds/pS5BiouW9WwffZenr/openapi.json
