# Audio Transcriber: Speech to Text, CPU Whisper (`praise-most-high/audio-transcriber`) Actor

Transcribe audio files you list into text with timed segments, on CPU with open Whisper weights. One flat row per file; every failed file gets an error row that says why.

- **URL**: https://apify.com/praise-most-high/audio-transcriber.md
- **Developed by:** [angel nguyen](https://apify.com/praise-most-high) (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 $10.63 / 1,000 audio minute transcribeds

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 Transcriber: Speech to Text, CPU Whisper

Give this Actor a list of audio file links and get back speech to text for each file: the full transcript, timed segments and the detected language. It does audio transcription with the open Whisper tiny model on CPU, so you can transcribe audio without an API key, a GPU or a sign-in.

Transcribes the audio files you list on CPU with open Whisper weights, honours robots.txt, returns one flat typed row per file with timed segments, charges per started audio minute with no run fee beyond the start charge of 0.00005 USD per GB of run memory, and gives every failed file an error row that says why.

### What you get on the first run

The example input below transcribes two public-domain LibriVox poem readings from archive.org (102.45 s and 71.05 s of audio). On 2026-11-23 a local run of this Actor on our test machine returned both transcripts in 8.5 s of wall time (3.5 s of transcription). The word error rate against the published poem texts was 0.157 for Ozymandias and 0.143 for In Flanders Fields.

### Input

Only `audioUrls` is required.

```json
{
  "audioUrls": [
    "https://archive.org/download/ozymandias_librivox/ozymandias_of_egypt_shelley_db.mp3",
    "https://archive.org/download/inflandersfields_1411.poem_librivox/flandersfields_mccrae_bk_128kb.mp3"
  ]
}
```

| Field | Type | Default | What it does |
|---|---|---|---|
| `audioUrls` | array of strings | (required) | 1 to 100 direct http or https links to audio files (MP3, WAV, M4A, OGG, FLAC and other formats FFmpeg reads). |
| `language` | string | empty | Two-letter ISO 639-1 code, for example `en` or `es`. Empty means the language is detected from the audio. |
| `maxMinutesPerFile` | integer | 30 | Files longer than this (1 to 120 minutes) are not transcribed and get a free `TOO_LONG` error row. |

### Output

One row per file. A transcript row has these fields:

| Field | Type | Meaning |
|---|---|---|
| `url` | string | The link as given, fragment removed. |
| `finalUrl` | string | The link the file came from after redirects. |
| `durationSeconds` | number | Audio duration in seconds, 2 decimals. |
| `language` | string | Language code used for the transcript. |
| `languageProbability` | number | Detection probability, 0 to 1. |
| `text` | string | The full transcript. |
| `segments` | array | Timed segments: `start` and `end` in seconds and `text`. |
| `wordCount` | integer | Words in `text`. |
| `billedMinutes` | integer | Started minutes of audio: ceil(durationSeconds / 60). |
| `model` | string | Model size and pinned revision. |
| `sourceUrl` | string | Where the transcript came from (same as `finalUrl`). |
| `transcribedAt` | string | UTC time of transcription. |

A file that fails gets an error row instead, and an error row is never charged:

| Field | Type | Meaning |
|---|---|---|
| `error` | boolean | Always true. |
| `errorCode` | string | One of the codes below. |
| `input` | string | The input entry or field the error is about. |
| `url` | string | The link, when there is one. |
| `httpStatus` | integer or null | The HTTP status, or null when no answer came. |
| `errorMessage` | string | What went wrong, in words. |

Error codes: `NO_INPUT`, `INVALID_INPUT`, `ROBOTS_DISALLOWED`, `ROBOTS_UNREACHABLE`, `SOURCE_HTTP_ERROR`, `SOURCE_TOO_LARGE`, `NOT_AUDIO`, `TOO_LONG` and `NO_RESULTS`.

A `SUMMARY` record in the run's key-value store counts requests, robots.txt reads, redirects, error rows by code, audio seconds, billed minutes and processing seconds.

### How it fetches

- It reads each host's robots.txt once, before any other request to that host, and follows its rules for the user agent `audio-transcriber`. A host whose robots.txt cannot be read gets no request for its files.
- It downloads one file at a time, follows at most 5 redirects, and stops at 200 MB per file.
- It sends no cookies and uses no proxy.

### Model

The model is faster-whisper `tiny` (CTranslate2 weights from Systran/faster-whisper-tiny, revision d90ca5fe260221311c53c58e660288d3deb8d356), built into the image, so a run never downloads it. Licences: the faster-whisper engine is MIT, the Systran tiny weights are MIT, and the upstream openai/whisper-tiny model is Apache-2.0. Engine: https://github.com/SYSTRAN/faster-whisper. Weights: https://huggingface.co/Systran/faster-whisper-tiny.

Accuracy varies with audio quality, accent and background noise.

You must hold the right to process the audio you submit.

### Pricing

- **0.010625 USD per audio minute**, counted per started minute of each file.
- **Start charge: 0.00005 USD per started GB of run memory, at least one; at the default 1 GB that is 0.00005 USD per run.**, charged by the Apify platform.
- No run fee beyond the start charge of 0.00005 USD per GB of run memory.

Error rows are free.

### Use with the Apify MCP server and AI agents

AI agents can call this Actor as a tool through the Apify MCP server: pass `audioUrls` and read the transcript rows from the dataset. Each row is flat and typed, and error rows carry an `errorCode`, so an agent can tell a failed file from an empty transcript.

### Support and feedback

Open an issue in the Issues tab of this Actor. Issues are answered within 14 days.

### Third-party software

This Actor is built on open-source software. Each item names its license and a page where it can be read.

- **FFmpeg** decodes the audio. It is bundled inside the av package. License: LGPL version 3 or later (LGPL-3.0-or-later). https://www.gnu.org/licenses/lgpl-3.0.html
- **FFmpeg** legal notes and source code: https://ffmpeg.org/legal.html
- **av (PyAV)**, the Python binding to FFmpeg. License: BSD-3-Clause. https://github.com/PyAV-Org/PyAV
- **faster-whisper**, the transcription engine. License: MIT License. https://github.com/SYSTRAN/faster-whisper
- **Whisper tiny model weights** (Systran/faster-whisper-tiny). License: MIT. https://huggingface.co/Systran/faster-whisper-tiny
- **OpenAI Whisper tiny**, the upstream model those weights are converted from. License: Apache-2.0. https://huggingface.co/openai/whisper-tiny

# Actor input Schema

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

Direct http or https links to audio files (MP3, WAV, M4A, OGG, FLAC and other formats the FFmpeg decoder reads). 1 to 100 links. Each file is downloaded once, checked against the host's robots.txt, and transcribed into one row.

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

Optional two-letter ISO 639-1 code of the spoken language that Whisper supports, for example en, es, de or fr. Leave empty to detect the language from the audio.

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

Files longer than this many minutes are not transcribed and get a free TOO_LONG error row. 1 to 120.

## Actor input object example

```json
{
  "audioUrls": [
    "https://archive.org/download/ozymandias_librivox/ozymandias_of_egypt_shelley_db.mp3",
    "https://archive.org/download/inflandersfields_1411.poem_librivox/flandersfields_mccrae_bk_128kb.mp3"
  ],
  "language": "",
  "maxMinutesPerFile": 30
}
```

# Actor output Schema

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

No description

## `summary` (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/ozymandias_librivox/ozymandias_of_egypt_shelley_db.mp3",
        "https://archive.org/download/inflandersfields_1411.poem_librivox/flandersfields_mccrae_bk_128kb.mp3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("praise-most-high/audio-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 = { "audioUrls": [
        "https://archive.org/download/ozymandias_librivox/ozymandias_of_egypt_shelley_db.mp3",
        "https://archive.org/download/inflandersfields_1411.poem_librivox/flandersfields_mccrae_bk_128kb.mp3",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("praise-most-high/audio-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 '{
  "audioUrls": [
    "https://archive.org/download/ozymandias_librivox/ozymandias_of_egypt_shelley_db.mp3",
    "https://archive.org/download/inflandersfields_1411.poem_librivox/flandersfields_mccrae_bk_128kb.mp3"
  ]
}' |
apify call praise-most-high/audio-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,praise-most-high/audio-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/XmsORfnnkTcwhzK19/builds/nKeUM0Zt4fJoKfepQ/openapi.json
