# Audio & Video Transcriber — Podcasts, Summaries, Chapters (`istmobot/media-transcriber`) Actor

Transcribe audio and video files by URL (MP3, M4A, WAV, MP4, WebM, HLS), podcast RSS feeds and Apple Podcasts links in 25 European languages. Output per file: text, timed segments, SRT and VTT links, and optional AI summary, key points, chapters, verified quotes and content pack.

- **URL**: https://apify.com/istmobot/media-transcriber.md
- **Developed by:** [Istmobot](https://apify.com/istmobot) (community)
- **Categories:** AI, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 audio minutes

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Transcriber: Podcasts, Summaries, Chapters

Turn **audio files, video files and podcasts** into text. Give the Actor direct media links, podcast RSS feeds or Apple Podcasts links, and get one row per file: the full transcript, timed segments, **SRT and VTT subtitles**, and, if you ask for them, an **AI summary with key points, chapters and verified quotes**, and a **content pack** (show notes, blog post, social posts, newsletter). 25 European languages, detected automatically. You pay per minute of audio, with no subscription and no API key of your own.

### What is Audio & Video Transcriber?

It downloads the audio track of each file, recognizes the speech inside the Actor's own container (the audio is not sent to a speech service), and saves the transcript as soon as each file is done. It reads **MP3, M4A, AAC, WAV, OGG, Opus, FLAC, MP4, MOV, WebM and HLS streams (`.m3u8`)**, RSS and Atom podcast feeds, and Apple Podcasts show or episode links.

Use it to:

- **Transcribe a podcast**: paste the feed or the Apple Podcasts link and choose how many episodes.
- **Follow a podcast**: schedule it with only-new mode, and every new episode arrives as text.
- **Subtitle videos**: every file comes with ready SRT and VTT files.
- **Repurpose content**: one recording becomes show notes, a blog post, social posts and a newsletter draft.
- **Search or analyze recordings**: lectures, webinars, meetings, interviews and calls that you have a link to.
- **Feed an LLM**: plain text plus segments with start and end times.

What it does not do: it does not tell speakers apart (no diarization), it does not transcribe Chinese, Japanese, Korean, Arabic, Hindi or any language outside the list below, it does not open pages with a video player (YouTube, TikTok, Vimeo pages), it does not log in anywhere, and it does not read encrypted streams.

**Languages**: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish and Ukrainian.

### What data can I get?

| Field | Meaning |
|---|---|
| `sourceUrl` | The media file that was transcribed |
| `title` | Episode title, or the file name for a plain media link |
| `podcastTitle`, `feedUrl`, `appleUrl` | The show. `null` for a plain media link |
| `episodeGuid`, `episodeUrl`, `author`, `publishedAt`, `description`, `imageUrl` | Episode data from the feed. `null` for a plain media link, or when the feed does not give it |
| `durationSeconds` | Length of the whole file. For a cut file it is the length the file declares, or `null` if it declares none |
| `transcribedSeconds` | Length of the part that was transcribed, silence included |
| `billedMinutes` | Minutes charged for this file: every started minute counts |
| `truncated`, `truncatedBy` | Whether the transcript stops before the end of the file, and why: `maxMinutesPerFile`, `maxCostPerRun` or `freePlan` |
| `wordCount`, `text` | The transcript as one text |
| `segments` | Pieces of speech as `{ start, end, text }`, in seconds. A piece is at most about 20 seconds long and ends at a pause when there is one |
| `srtUrl`, `vttUrl` | Subtitle files in the run's key-value store |
| `summary`, `keyPoints` | Only with **AI summary**: a short summary and 3 to 6 points |
| `chapters` | Only with **AI summary**: `{ startSeconds, title }`. Every start is the start of a real segment |
| `quotes` | Only with **AI summary**: `{ text, startSeconds }`. Each quote is in the transcript word for word |
| `summaryCoveragePercent` | Only with **AI summary**: how much of the transcript the AI read. 100 for files of up to about 45 minutes of speech |
| `contentPack` | Only with **AI content pack**: `showNotes`, `blogPost`, `socialPosts` (`x`, `linkedin`, `instagram`), `newsletter`, `quotes`, `coveragePercent` |
| `aiNote` | Only with an AI option: why an AI text is missing, or `null` |
| `transcribedAt` | When the row was made |
| `error`, `errorCode` | Only on a file or feed that failed. These rows are free |

### How much does it cost?

Pay-per-event pricing.

| Event | Price | When |
|---|---|---|
| Actor start | $0.005 | Once per run (at the default 4 GB of memory) |
| `audio-minute` | $0.015 | Per started minute of audio that was transcribed |
| `ai-summary` | $0.01 | Per file summarized: summary, key points, chapters and quotes |
| `content-pack` | $0.08 | Per file turned into a content pack |

Silver plans pay 10% less per event, Gold and higher 20% less.

Worked examples:

- **One 45-minute episode**: 45 × $0.015 + $0.005 = **$0.68**. With summary and content pack: **$0.77**.
- **One hour of audio**: **$0.90** plus the start.
- **A weekly 60-minute podcast, followed for a month** with summaries: 4 × ($0.90 + $0.01 + $0.005) = **about $3.66**.
- **20 clips of 30 seconds each**: 20 × $0.015 + $0.005 = **$0.31**. A clip of 61 seconds counts as 2 minutes.

What is never charged: files that cannot be downloaded or decoded, files with no recognizable speech, feeds that cannot be read, and AI texts that fail. If the limit cuts a file, only the minutes that were transcribed are charged.

Set a **maximum cost per run** and the Actor never transcribes more minutes than it can still charge: the last file may come back cut, with `"truncatedBy": "maxCostPerRun"`, and the rest is not started. When an AI option is on, its price is set aside first.

**Free plan**: a sample of up to 10 minutes of audio per run, without the AI options.

### How to use Audio & Video Transcriber

1. Click **Try for free**.
2. Paste direct links to media files into **Audio and video file URLs**, podcast feeds or Apple Podcasts links into **Podcast feeds**, or both.
3. For podcasts, set how many episodes of each show you want.
4. Optional: switch on the AI summary or the content pack.
5. Click **Start**. The status line says which file is being transcribed and about how long it will take. Each row is saved when its file is done.
6. Download the dataset as JSON, CSV or Excel, and the subtitles from `srtUrl` and `vttUrl`.

**How long it takes**: about one minute for every four minutes of audio, one file at a time. A one-hour episode takes about 16 minutes, and a three-hour file about 47 minutes. The default run timeout is 6 hours. If you set a shorter one, a file that would not fit in the time left is not started and comes back with the free error `RUN_TIMEOUT`.

### ⬇️ Input

```json
{
    "mediaUrls": ["https://example.com/talks/keynote.mp4"],
    "podcastUrls": [
        "https://changelog.com/podcast/feed",
        "https://podcasts.apple.com/us/podcast/the-daily/id1200361736"
    ],
    "maxEpisodes": 2,
    "maxMinutesPerFile": 180,
    "summary": true,
    "contentPack": false,
    "onlyNew": true,
    "stateKey": "marketing"
}
```

| Field | Default | Description |
|---|---|---|
| `mediaUrls` | empty | Direct public links to audio or video files, or HLS streams |
| `podcastUrls` | empty | RSS or Atom feeds, and Apple Podcasts links. A link to one episode (`?i=…`) gives that episode |
| `maxEpisodes` | `1` | Episodes of each podcast, newest first, 1 to 100 |
| `maxMinutesPerFile` | `180` | Transcribe only the first N minutes of each file. 180 is also the hard maximum |
| `summary` | `false` | AI summary, key points, chapters and quotes. Needs a paid Apify plan |
| `contentPack` | `false` | AI content pack. Needs a paid Apify plan |
| `onlyNew` | `false` | Podcasts only: skip the episodes that earlier runs delivered |
| `stateKey` | empty | A name for a separate memory, so two monitors can follow the same podcast |

At least one of `mediaUrls` and `podcastUrls` is needed. The language is detected: there is nothing to set.

### ⬆️ Output

A real row, from a run on the first 5 minutes of a podcast episode with the AI summary. The long texts are shortened with "…":

```json
{
    "sourceUrl": "https://op3.dev/e/https://pscrb.fm/rss/p/https://cdn.changelog.com/uploads/podcast/692/the-changelog-692.mp3",
    "title": "A seminal moment in computing (Interview)",
    "podcastTitle": "The Changelog: Software Development, Open Source",
    "feedUrl": "https://changelog.com/podcast/feed",
    "appleUrl": null,
    "episodeGuid": "changelog.com/1/2839",
    "episodeUrl": "https://changelog.com/podcast/692",
    "author": null,
    "publishedAt": "2026-11-20T20:00:00.000Z",
    "description": "MG, founder and CEO of WorkOS, is back to talk about leading a company through what DHH called a seminal moment in computing. …",
    "imageUrl": "https://cdn.changelog.com/uploads/covers/changelog-interviews-original.png?v=63848368174",
    "durationSeconds": 4394.26,
    "transcribedSeconds": 300,
    "billedMinutes": 5,
    "truncated": true,
    "truncatedBy": "maxMinutesPerFile",
    "wordCount": 869,
    "text": "What's up, welcome back. This is the Changelog. My name is Adam Stekoviak. I'm the editor in chief here at Changelog and obviously the host of this podcast. You know what, starting a company has never been easier, but finding product market fit has never been harder. …",
    "segments": [
        { "start": 0.98, "end": 8.88, "text": "What's up, welcome back. This is the Changelog. My name is Adam Stekoviak. I'm the editor in chief here at Changelog and obviously the host of this podcast." },
        { "start": 9.27, "end": 29.56, "text": "You know what, starting a company has never been easier, but finding product market fit has never been harder. …" }
    ],
    "srtUrl": "https://api.apify.com/v2/key-value-stores/…/records/A-seminal-moment-in-computing-Interview-4f666ba14b4c.srt",
    "vttUrl": "https://api.apify.com/v2/key-value-stores/…/records/A-seminal-moment-in-computing-Interview-4f666ba14b4c.vtt",
    "summary": "Adam Stekoviak hosts a Changelog episode with Michael Grinich (MG), founder and CEO of WorkOS, covering WorkOS's AI co-worker Atlas, agents choosing tech stacks, and founder mindset. …",
    "keyPoints": [
        "Atlas is an AI co-worker WorkOS built for itself and then launched.",
        "Agents are becoming the ones who choose tech stacks.",
        "The service handles schema, scaling, high-availability ingestion, and query optimization."
    ],
    "chapters": [
        { "startSeconds": 0.98, "title": "Episode introduction with Michael Grinich" },
        { "startSeconds": 29.66, "title": "Atlas, agents, and founder mindset" },
        { "startSeconds": 51.74, "title": "Fly.io sponsor segment" },
        { "startSeconds": 76.7, "title": "ClickHouse Observability sponsor segment" }
    ],
    "quotes": [
        { "text": "You send your open telemetry data, they handle the rest.", "startSeconds": 76.7 },
        { "text": "It's in public beta right now at half the standard price.", "startSeconds": 269.08 }
    ],
    "summaryCoveragePercent": 100,
    "aiNote": null
}
```

Names that the model has not met are written as they sound ("Adam Stekoviak" in this row is Adam Stacoviak). Check names before you publish.

#### The content pack

With **AI content pack**, the row also has `contentPack`:

```json
{
    "contentPack": {
        "showNotes": "Adam Stekoviak welcomes Michael Grinich (MG), founder and CEO of WorkOS, back to The Changelog to discuss Atlas, an AI co-worker WorkOS built for itself and then launched. …\n\n- Atlas is an AI co-worker WorkOS built internally before launching it\n- Agents are becoming the ones who select tools and stacks\n…",
        "blogPost": "# A seminal moment in computing\n\nAdam Stekoviak, editor in chief at Changelog, welcomes back Michael Grinich, known as MG, founder and CEO of WorkOS. …\n\n## Atlas and the AI co-worker\n\n…",
        "socialPosts": { "x": "…", "linkedin": "…", "instagram": "…" },
        "newsletter": "Subject: …\n\n…",
        "quotes": [{ "text": "You send your open telemetry data, they handle the rest.", "startSeconds": 76.7 }],
        "coveragePercent": 100
    }
}
```

The texts are in the language of the recording. Quotation marks around five or more words that are not in the transcript are removed automatically. The rest is an AI draft: read it before you publish it.

### Error items

A file or feed that fails gives one free row, and the rest of the run goes on:

```json
{ "sourceUrl": "https://example.com/", "title": "audio", "error": "The URL did not return an audio or video file (it may be a web page).", "errorCode": "NOT_MEDIA" }
```

| `errorCode` | Meaning |
|---|---|
| `INVALID_URL` | Not an http(s) link, or it points to a private or local address |
| `NOT_MEDIA` | The link returned a web page or another file that is not audio or video |
| `NO_AUDIO` | The file has no audio track, or could not be decoded |
| `NO_SPEECH` | No speech in a supported language was recognized, for example only music |
| `ENCRYPTED` | The HLS stream is encrypted |
| `TOO_LARGE` | The download is larger than its length allows: about 50 MB plus 30 MB per minute, and at most 2 GB |
| `HTTP_ERROR`, `BLOCKED`, `TIMEOUT`, `DOWNLOAD_FAILED` | The server answered with an error, refused the request, was too slow, or closed the connection early (tried twice) |
| `NOT_A_FEED`, `NO_EPISODES`, `NOT_FOUND` | The podcast link is not a feed, has no audio or video, or Apple Podcasts does not list it |
| `UNSUPPORTED_LANGUAGE` | The podcast feed declares, or the speech sounds like, a language that the Actor does not transcribe |
| `RUN_TIMEOUT` | The file does not fit in the time the run has left |
| `NOT_CHARGED` | The transcript could not be charged, so it was not delivered |
| `ERROR` | An unexpected failure |

A failed input (no links at all, a number out of range) ends the run with a message that says what to change.

### Monitoring: new episodes as text

1. Put your podcasts in `podcastUrls`, set `onlyNew` to `true` and save the input as a **task**.
2. Create a **schedule**, for example `0 7 * * *` (every day at 7:00), and add the task.
3. Add a webhook or an integration on "run succeeded" to send the new rows on.

How only-new mode behaves:

- **First run**: transcribes the newest episodes up to `maxEpisodes` and counts the rest of the archive as seen, so old episodes are never charged as new.
- **Later runs**: transcribe the episodes that have not been delivered yet, newest first, up to `maxEpisodes`. The others wait for the next run.
- **Nothing new**: the dataset is empty and only the start event is charged.
- An episode that failed is not counted as seen: the next run tries it again.
- The memory is the key-value store `media-transcriber-state` in your own account. Use another `stateKey` for a second monitor of the same podcast, or to start over.

### Integrations & API

```bash
curl -X POST "https://api.apify.com/v2/acts/istmobot~media-transcriber/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mediaUrls":["https://example.com/talk.mp3"],"summary":true}'
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("istmobot/media-transcriber").call(run_input={
    "podcastUrls": ["https://changelog.com/podcast/feed"],
    "maxEpisodes": 1,
    "summary": True,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item.get("billedMinutes"), item.get("summary") or item.get("error"))
```

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

const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('istmobot/media-transcriber').call({
    mediaUrls: ['https://example.com/talk.mp3'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].text, items[0].srtUrl);
```

Use the synchronous endpoint (`run-sync-get-dataset-items`) only for short files: it waits for at most 5 minutes, which is about 18 minutes of audio. For longer ones, start the run and use a webhook.

The Actor works with Apify's integrations for Make, Zapier and n8n and with webhooks, like any other Actor: trigger on a finished run and read its dataset. To transcribe files that another Actor found, pass their direct media links in `mediaUrls`.

### 🤖 Use with AI agents (MCP)

Add the Actor to any MCP client with `https://mcp.apify.com?tools=istmobot/media-transcriber`. Example prompt: "Transcribe the newest episode of https://changelog.com/podcast/feed, at most 15 minutes of it, and give me the key points and the chapters with their times." Agents should set `maxMinutesPerFile`, because the price and the run time follow the length.

### Want other data for your content?

- [RSS Feed Reader & Monitor](https://apify.com/istmobot/rss-feed-monitor): list the episodes of a podcast feed, with the link of each audio file, before you choose what to transcribe.
- [YouTube Transcript Scraper](https://apify.com/istmobot/youtube-transcript-scraper): transcripts of YouTube videos, which this Actor does not open.
- [Bulk Text Translator](https://apify.com/istmobot/bulk-text-translator): translate the transcripts of a dataset.
- [AI Data Enricher](https://apify.com/istmobot/ai-data-enricher): add your own AI columns to the transcripts, with your own instruction.

### ❓ FAQ

**Which speech model does it use?** OpenAI's Whisper tiny (MIT) checks the spoken language. The transcript comes from NVIDIA's Parakeet TDT 0.6B v3, licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) ([model card](https://huggingface.co/nvidia/parakeet-tdt-0.6b-v3)), in the int8 ONNX conversion made by the [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) project (Apache-2.0). Pauses are found with Silero VAD (MIT). The audio is decoded with FFmpeg. The model runs inside the Actor.

**Why not Chinese, Japanese or Korean?** They need a second model, which would make the image larger and every start slower for everyone. A podcast feed that declares another language is refused for free. For any file, the spoken language is also checked before transcription, and a clear mismatch is refused for free. The check can miss a mixed or noisy recording, and such minutes are charged.

**Does it say who is speaking?** No. There is no speaker separation, and the AI texts are told not to guess who said what.

**How accurate is it?** It depends on the recording. Clear speech close to a microphone works well. Noise, people who talk at the same time, strong accents, names and technical words cause errors. Try a few minutes of your own audio with `maxMinutesPerFile` first.

**How exact are the times?** Each segment has the start and end that the pause detector found. There are no times per word. In continuous speech a segment can last up to about 20 seconds, so a subtitle block can be long: split the blocks in a subtitle editor if you need short lines.

**How does the AI summary handle long files?** It reads up to about 45 minutes of speech in full. For a longer transcript it reads an even sample of passages from the start to the end, and `summaryCoveragePercent` says how much. Chapters of a long file can therefore start up to a few passages late. The content pack reads up to about 270,000 characters, which covers most three-hour files in full in languages with the Latin alphabet. In Greek, Bulgarian, Russian and Ukrainian both limits are about half as long.

**Which AI writes the texts, and what is checked?** Anthropic's Claude. Quotes must be in the transcript word for word or they are dropped, and chapter times come from the transcript, not from the AI. Summaries, notes and posts are not checked by code: read them before you publish.

**What happens to a file longer than 3 hours?** The first 180 minutes are transcribed and charged, and the row says `"truncated": true`.

**Can it read a live stream?** Only what the HLS playlist holds at that moment, which is usually the last minutes or less. It does not wait for new audio.

**Can it transcribe a YouTube, TikTok or Vimeo page?** No. It needs the link of the media file. For YouTube use the [YouTube Transcript Scraper](https://apify.com/istmobot/youtube-transcript-scraper).

**My file is on Google Drive or Dropbox. Does it work?** Only if the link downloads the file itself without a login or a confirmation page. Otherwise you get `NOT_MEDIA`.

**Where does my audio go?** The file is downloaded to the run's temporary disk, decoded, recognized there and deleted. The transcript and the subtitles stay in your own Apify storage. With an AI option on, the transcript text is sent to Anthropic's API. Without it, nothing leaves the run.

**Can I raise or lower the memory?** Keep the default of 4096 MB. The model needs about 2 GB, and on Apify less memory also means less processor: the run gets slower.

**What if the run is interrupted?** Each file is saved when it is done. A restarted run goes on after the files it finished, and does not charge them again.

**Is this legal?** You are responsible for having the right to copy and process the recordings you send. Transcripts of someone else's podcast are usually protected by the owner's copyright: check before you republish them.

**What formats can I export?** JSON, CSV, Excel, XML and HTML from the dataset, and SRT and VTT per file.

### Your feedback

A file that should work and does not, or a field you miss? Open an issue on the Actor's **Issues** tab and include the link of the file.

# Actor input Schema

## `mediaUrls` (type: `array`):

Direct public links to media files, one per line: MP3, M4A, AAC, WAV, OGG, Opus, FLAC, MP4, MOV, WebM, or an HLS stream (.m3u8). E.g. https://example.com/talk.mp3. Links to a web page with a player (YouTube, TikTok…) do not work: use the link of the file itself.

## `podcastUrls` (type: `array`):

RSS feed addresses, or Apple Podcasts show links, one per line. E.g. https://changelog.com/podcast/feed or https://podcasts.apple.com/us/podcast/the-daily/id1200361736. An Apple link to one episode (with ?i=…) transcribes that episode.

## `maxEpisodes` (type: `integer`):

How many episodes of each podcast to transcribe, newest first. E.g. 3.

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

Transcribe only the first N minutes of each file, e.g. 30. A longer file comes back with "truncated": true. The hard maximum is 180 (3 hours).

## `summary` (type: `boolean`):

On: each file also gets a summary, key points, chapters with their start time, and quotes checked word for word against the transcript. Charged once per file as "ai-summary". Needs a paid Apify plan. Transcripts longer than about 45 minutes of speech are summarized from an even sample of the whole file.

## `contentPack` (type: `boolean`):

On: each file also becomes show notes, a blog post, posts for X, LinkedIn and Instagram, a newsletter and quotes checked against the transcript. Charged once per file as "content-pack". Needs a paid Apify plan. Review the texts before you publish them.

## `onlyNew` (type: `boolean`):

On: each run transcribes only the episodes that earlier runs have not delivered. The first run takes the newest episodes up to the limit above and counts the rest of the archive as seen. Applies to podcasts, not to media URLs. Use it with a schedule.

## `stateKey` (type: `string`):

A name for a separate memory of seen episodes, so that two monitors can follow the same podcast. E.g. marketing-team.

## Actor input object example

```json
{
  "mediaUrls": [
    "https://raw.githubusercontent.com/ggml-org/whisper.cpp/master/samples/jfk.wav"
  ],
  "maxEpisodes": 1,
  "maxMinutesPerFile": 180,
  "summary": false,
  "contentPack": false,
  "onlyNew": false
}
```

# Actor output Schema

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

No description

## `files` (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 = {
    "mediaUrls": [
        "https://raw.githubusercontent.com/ggml-org/whisper.cpp/master/samples/jfk.wav"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("istmobot/media-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 = { "mediaUrls": ["https://raw.githubusercontent.com/ggml-org/whisper.cpp/master/samples/jfk.wav"] }

# Run the Actor and wait for it to finish
run = client.actor("istmobot/media-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 '{
  "mediaUrls": [
    "https://raw.githubusercontent.com/ggml-org/whisper.cpp/master/samples/jfk.wav"
  ]
}' |
apify call istmobot/media-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,istmobot/media-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/1IdACdCY5hYffn1LG/builds/0dha8lExFpjjOiaFi/openapi.json
