# Audio and Video Transcriber (Whisper, SRT and VTT) (`gigsmith/audio-video-transcriber`) Actor

Transcribe audio and video files to text, SRT and VTT subtitles with Whisper Large v3 Turbo on Groq. 99 languages, translation to English, word timestamps. From $0.003 per minute with your own Groq key.

- **URL**: https://apify.com/gigsmith/audio-video-transcriber.md
- **Developed by:** [Gigsmith](https://apify.com/gigsmith) (community)
- **Categories:** AI, Videos, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 audio minute (your groq key)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 and Video Transcriber: Whisper to text, SRT and VTT subtitles

**Audio and Video Transcriber** turns audio and video files into accurate text with timestamps, plus ready-to-use **SRT and VTT subtitle files**. It runs **Whisper Large v3 Turbo** (or Whisper Large v3) on Groq's fast inference, which Groq rates at about 200× real time. It covers 99 languages, can translate speech to English, and returns optional word-level timestamps.

**Pricing: $0.003 per audio minute with your own Groq API key. SRT, VTT and TXT are included.**

### What can this transcription Actor do?

- 🎙️ **Audio to text**: MP3, WAV, M4A, AAC, OGG, OPUS, FLAC, WMA and more
- 🎬 **Video to text**: MP4, MOV, MKV, WEBM, AVI. The audio track is extracted automatically.
- 💬 **Subtitles**: SRT and VTT for every file, saved as downloadable files and included in the dataset
- ⏱️ **Timestamps**: segment timestamps always, and word-level timestamps if you want them
- 🌍 **99 languages** with auto-detection, or set the language for higher accuracy
- 🔤 **Translate to English** from any supported language
- 🧠 **Vocabulary hint**: tell the model how to spell names, brands and jargon
- 📏 **Long files**: files of any length are split at natural pauses (the quietest moment near each cut), so words aren't chopped in half and timestamps stay continuous
- 💸 **Fair billing**: failed files, unreadable media and files with no audio track are never charged

### Who uses it?

- **Podcasters and YouTubers** making captions, show notes and blog posts from their own episodes
- **Course creators and educators** subtitling lessons
- **Researchers and journalists** transcribing interviews they recorded
- **Sales, support and ops teams** turning call and meeting recordings into searchable text
- **AI builders** feeding speech into RAG pipelines and LLM summaries

### How to transcribe audio or video

1. Create a free Groq API key at **console.groq.com/keys** (it takes about a minute).
2. Click **Try for free**, paste the key into **Groq API key** (it's stored encrypted), and add your files under **Audio or video URLs** or **Or upload files**.
3. Optionally set **Spoken language** (for example `en`, `es`, `de`, `he`) and a **Vocabulary hint**.
4. Click **Start**. Each file becomes one row in the dataset, with the transcript, segments and links to the `.txt`, `.srt` and `.vtt` files.

Use **direct links to media files**. Pages on YouTube, TikTok, Instagram and similar sites aren't supported. Download your own media first and upload it.

#### Input example

```json
{
  "fileUrls": ["https://example.com/podcast/episode-42.mp3", "https://example.com/videos/lesson-3.mp4"],
  "groqApiKey": "gsk_...",
  "language": "en",
  "task": "transcribe",
  "model": "whisper-large-v3-turbo",
  "prompt": "Gigsmith, Kubernetes, Nguyen",
  "wordTimestamps": false,
  "saveFiles": true
}
```

| Field | What it does |
|---|---|
| `fileUrls` / `uploadedFiles` | Media links or uploaded files |
| `groqApiKey` | Required, secret. Your Groq API key |
| `language` | ISO-639-1 code. Leave empty to auto-detect |
| `task` | `transcribe` (original language) or `translate` (to English, uses Whisper Large v3) |
| `model` | `whisper-large-v3-turbo` (default, fastest) or `whisper-large-v3` (most accurate) |
| `prompt` | Spelling hint for names and terms |
| `wordTimestamps` | Add a `words` array with start and end times per word |
| `saveFiles` | Save `.txt`, `.srt` and `.vtt` to the key-value store and link them (default `true`) |
| `maxMinutesPerFile` | Skip longer files, free of charge (default 300) |
| `maxConcurrency` | Files in parallel (default 2). Lower it if your Groq plan hits rate limits. |

#### Output example

```json
{
  "fileName": "armstrong_video.mp4",
  "status": "ok",
  "text": "I'm going to step off the land now. That's one small step for man. One giant leap for mankind.",
  "language": "en",
  "durationSeconds": 30.4,
  "billedMinutes": 1,
  "keySource": "own-key",
  "model": "whisper-large-v3-turbo",
  "hasVideo": true,
  "segmentCount": 3,
  "segments": [
    { "start": 3.22, "end": 5.08, "text": "I'm going to step off the land now." },
    { "start": 14.4, "end": 17.46, "text": "That's one small step for man." },
    { "start": 20.6, "end": 22.94, "text": "One giant leap for mankind." }
  ],
  "srt": "1\n00:00:03,220 --> 00:00:05,080\nI'm going to step off the land now.\n\n2\n00:00:14,400 --> 00:00:17,460\n...",
  "vtt": "WEBVTT\n\n00:00:03.220 --> 00:00:05.080\nI'm going to step off the land now.\n...",
  "txtUrl": "https://api.apify.com/v2/key-value-stores/<store>/records/txt-04788-armstrong_video.txt",
  "srtUrl": "https://api.apify.com/v2/key-value-stores/<store>/records/srt-04788-armstrong_video.srt",
  "vttUrl": "https://api.apify.com/v2/key-value-stores/<store>/records/vtt-04788-armstrong_video.vtt",
  "processingSeconds": 1.1
}
```

### How much does transcription cost?

Pay-per-event pricing means you pay per started minute of media that was transcribed.

| Event | Price | When it's charged |
|---|---|---|
| `audio-minute-own-key` | **$0.003 per minute** | Each started minute of a file transcribed with your Groq key. A 30-second clip is 1 minute, and a 17 min 40 s speech is 18 minutes. |

- Text, segments, SRT, VTT and TXT files are all included, and so is Apify platform usage. The only other charge is Apify's standard run-start event of $0.00005 per run ($0.05 per 1,000 runs).
- 1 hour of audio costs **$0.18** on this Actor. Groq bills your key separately for the speech model: about **$0.04 per hour** for Turbo and $0.11 per hour for Large v3 (Groq's prices at the time of writing; check console.groq.com). Groq also offers a free tier with daily audio limits.
- Failed files and files with no audio track are **not charged**. Groq charges a 10-second minimum per request on your key.
- Set **Max charge per run** to cap spend. A file that would go over the cap is skipped (`status: "skipped"`) and not charged.

### Accuracy tips

- Set **Spoken language** whenever you know it. Auto-detection can misfire on short clips.
- Add names and jargon to **Vocabulary hint**.
- Use **Whisper Large v3** for noisy recordings, strong accents or languages with fewer speakers.
- Whisper doesn't identify speakers, so there are no speaker labels.

### FAQ

**Why do I need a Groq key?** The key lets you pay Groq's wholesale model price directly, which keeps this Actor's price the lowest in the store. Your key is stored encrypted by Apify and used only for your run.

**Is my media stored?** Files are downloaded into the run's container, converted, sent to Groq for transcription and deleted when the run ends. See Groq's privacy policy for how Groq handles API data.

**How long can a file be?** Up to 300 minutes by default, and you can raise the limit to 24 hours. Long files are split into roughly 9-minute chunks at natural pauses.

**Can I transcribe YouTube videos?** Not by link. Download media you own or have rights to, then upload it.

**Found a problem?** Open an issue on the **Issues** tab with the run link.

### Keywords

audio to text, video to text, transcription, speech to text, Whisper, Whisper Large v3 Turbo, Groq Whisper, transcribe MP3, transcribe MP4, podcast transcription, interview transcription, subtitles generator, SRT generator, VTT subtitles, captions, word timestamps, translate audio to English, bulk transcription

***

Made by **Gigsmith**.

# Actor input Schema

## `fileUrls` (type: `array`):

Public http(s) links to MP3, WAV, M4A, AAC, OGG, OPUS, FLAC, WEBM, MP4, MOV, MKV or any format ffmpeg reads. Use direct file links, not YouTube or social pages.

## `uploadedFiles` (type: `array`):

Upload audio or video files from your computer. They are stored in your own Apify key-value store.

## `groqApiKey` (type: `string`):

Your own Groq API key (create one free at console.groq.com/keys). Stored encrypted. Groq bills you directly for the speech model at about $0.04 per audio hour, and this Actor charges the lower own-key rate.

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

ISO-639-1 code such as en, es, de, he, ar. Leave empty to auto-detect. Setting it improves accuracy.

## `task` (type: `string`):

Translate uses Whisper Large v3 and outputs English text and subtitles.

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

Turbo is faster and cheaper on your Groq bill; Large v3 has a lower word error rate. The Actor price is the same.

## `prompt` (type: `string`):

Names, brands or terms to spell correctly, e.g. 'Kubernetes, Nguyen, Q3 OKRs'. Max about 200 words.

## `wordTimestamps` (type: `boolean`):

Add a words array with start and end time for every word.

## `saveFiles` (type: `boolean`):

Also store each transcript as downloadable files in the run's key-value store and link them in the dataset.

## `maxMinutesPerFile` (type: `integer`):

Longer files are skipped and not charged.

## `maxConcurrency` (type: `integer`):

How many files to transcribe at once. Lower it if your Groq plan hits rate limits.

## `maxFileSizeMb` (type: `integer`):

Larger downloads are stopped and not charged.

## Actor input object example

```json
{
  "fileUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"
  ],
  "task": "transcribe",
  "model": "whisper-large-v3-turbo",
  "wordTimestamps": false,
  "saveFiles": true,
  "maxMinutesPerFile": 300,
  "maxConcurrency": 2,
  "maxFileSizeMb": 1000
}
```

# Actor output Schema

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

Default dataset items, shown in the "Transcripts" view.

## `segmentsView` (type: `string`):

Default dataset items, shown in the "Segments" view.

## `srtFiles` (type: `string`):

One .srt subtitle file per transcribed input file.

## `vttFiles` (type: `string`):

One .vtt (WebVTT) subtitle file per transcribed input file.

## `transcripts` (type: `string`):

One .txt transcript per transcribed input file.

## `runSummary` (type: `string`):

JSON summary of the run: files processed, ok/error/skipped counts and charged events.

# 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 = {
    "fileUrls": [
        "https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gigsmith/audio-video-transcriber").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 = { "fileUrls": ["https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"] }

# Run the Actor and wait for it to finish
run = client.actor("gigsmith/audio-video-transcriber").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 '{
  "fileUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"
  ]
}' |
apify call gigsmith/audio-video-transcriber --silent --output-dataset

```

## MCP server setup

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

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/AvwtRMU5XoWPiloEh/builds/Fpzxq3OK9zjs2BXfz/openapi.json
