# Speech to Text Transcriber: Audio & Video from Public Links (`tictechid/vanzi-universal-transcriber`) Actor

Transcribe audio or video from a public link: Google Drive, GitHub raw, direct CDN links, S3, Google Cloud Storage, TikTok, X and SoundCloud. Get a transcript with segment timestamps, detected language and duration as JSON. Large files supported (raise memory for big ones).

- **URL**: https://apify.com/tictechid/vanzi-universal-transcriber.md
- **Developed by:** [TicTech](https://apify.com/tictechid) (community)
- **Categories:** AI, Videos, Automation
- **Security:** Limited permissions
- **Stats:** 212 total users, 1 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.006 / actor start

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

## Speech to Text Transcriber: Audio & Video from Public Links

Extract and transcribe audio from video and audio files across cloud storage, social platforms, and direct media links. Paste a public URL, get a transcript with inline segment timestamps and automatic language detection, returned as JSON. Works as a video to text, MP3 to text and Google Drive transcription tool in one Actor.

**Try it now:** the input is prefilled with a short public sample (`jfk.flac`, 11 seconds), so you can click **Start** and see a real result right away.

### What You Can Transcribe

Paste **one public URL** per run from any of the sources below.

#### Video & audio platforms

- **TikTok** — public video links
- **SoundCloud** — public single tracks (not `/sets/` playlists; some tracks are geo-blocked)
- **Twitter / X** — public video posts

#### Cloud storage

- **Google Drive**, **GitHub Raw**
- **AWS S3**, **Google Cloud Storage** (public objects)

Share links are converted to direct downloads automatically where needed.

#### Direct media & CDN links

- Public URLs that return the **actual file** (not an HTML page)
- **CDN links** — CloudFront, Akamai, custom CDNs
- **Direct file URLs** — `.mp4`, `.mp3`, `.wav`, `.m4a`, and other common formats
- Presigned or signed URLs that point straight to media

```json
{ "start_urls": "https://soundcloud.com/artist/track-name" }
{ "start_urls": "https://cdn.example.com/podcast/episode.mp3" }
```

> **Note:** Only **publicly accessible** content is supported. Private, login-required, geo-blocked, or age-restricted media may fail.

> **Smart processing:** Detects file type automatically — extracts audio from video or transcribes audio files directly.

### Why Use This Tool?

- **Automate tedious work:** No more manual transcription—get results in minutes, not hours.
- **Unlock hidden insights:** Search, analyze, and repurpose your video and audio content for new opportunities.
- **Boost accessibility:** Make your content inclusive for all audiences with accurate transcripts.
- **Enhance discoverability:** Turn spoken content into searchable text for your site or notes.
- **Stay ahead:** Track trends, monitor competitors, and optimize your content strategy with ease.

### Why Choose This Tool?

- **🔄 Multi-Provider Support:** Cloud storage, social/video platforms, and direct CDN/media links
- **🎯 Dual File Processing:** Handle both video and audio files with a single tool - no need for separate solutions
- **⚡ Smart Automation:** Automatic link conversion, file type detection, and processing optimization
- **🛡️ Reliable Downloads:** Built-in retry logic, memory optimization, and error handling
- **🌍 Language Intelligence:** Automatic language detection for the 16 languages listed below
- **📊 Clear Output:** Transcript text with inline segment timestamps, detected language and duration
- **💾 Memory Efficient:** Optimized for cloud environments with automatic cleanup and resource management

### Features

- **Multi-Provider Support:** Cloud storage, video platforms (TikTok, X, SoundCloud), and direct CDN links
- **Dual File Support:** Handles both video and audio files seamlessly
- **Smart Processing:** Automatically detects file type and processes accordingly
- **Automatic Link Conversion:** Converts share links to direct download URLs automatically
- **Smart Download Strategy:** Platform-specific optimization for each provider
- **Retry Logic:** Robust download with automatic retry mechanisms
- **Outputs transcript with inline segment timestamps (e.g. `[0.16s - 10.50s] ...`) and detected language**
- **Detects and outputs the dominant spoken language (see supported languages below)**
- **Memory-optimized processing** with automatic cleanup
- **Large files:** supported, but raise run memory and timeout for big files (defaults are 2GB memory and 300s)
- **Memory Requirements:** Larger files require increased Apify run memory allocation (see Usage section for details)

### Pricing

#### Base + Per-Second Model

This Actor uses a **pay-per-event pricing model** with a base charge plus per-second transcription:

##### Pricing Structure

- **`actor start`**: $0.01 per Actor run (actor start cost)
- **`transcription-second`**: $0.0025 per second of audio transcribed

Prices shown are for the Apify Free plan; paid Apify plans get lower per-event prices (see the Pricing tab).

##### Key Features

- **Actor start cost** - $0.01 charged once per run
- **Per-second transcription** - additional cost based on actual audio duration
- **Rounded up to the nearest second** for transcription duration
- **No hidden fees** or additional charges
- **Automatic event tracking** by the Apify platform

#### Pricing Examples

##### Successful Transcription (30-second file)

- `actor start`: $0.01
- `transcription-second` × 30: $0.075
- **Total**: $0.085

##### Short Video (2 seconds)

- `actor start`: $0.01
- `transcription-second` × 2: $0.005
- **Total**: $0.015

##### Failed Transcription

- `actor start`: $0.01
- **Total**: $0.01

##### Long Video (5 minutes)

- `actor start`: $0.01
- `transcription-second` × 300: $0.75
- **Total**: $0.76

#### Why This Pricing Model?

- **Fair**: Base charge covers setup costs, per-second covers actual processing
- **Transparent**: Clear base + usage pricing structure
- **Predictable**: Easy to estimate costs before running
- **Cost-effective**: Only pay for actual audio duration beyond base charge
- **Simple**: Just two event types to track
- **Attempt events**: Minimal cost for failed operations

> **Note**: Pricing is based on actual processing events, so you only pay for what the Actor does. No hidden fees or minimum charges.

### Supported Sources (reference)

The list below mirrors **What You Can Transcribe** above with a few extra format notes.

#### Cloud Storage

- **Google Drive** – share links auto-converted to direct downloads
- **GitHub Raw** – direct links to files in repositories (`/raw/` URLs)
- **AWS S3** – public buckets, objects, and presigned URLs
- **Google Cloud Storage** – public objects and signed URLs

#### Video & Social Platforms

Public posts and videos from these platforms (via yt-dlp):

- **TikTok** – `tiktok.com`, `vm.tiktok.com`
- **Twitter / X** – public video posts
- **SoundCloud** – public single tracks (not `/sets/` playlists; some tracks are geo-blocked)

> **Note:** Only **publicly accessible** content is supported. Private, login-required, geo-blocked, or age-restricted media may fail.

#### Direct Media & CDN Links

Any **direct file URL** that returns the actual audio or video file over HTTP(S):

- CDN links (e.g. CloudFront, Akamai, custom CDNs)
- Signed or presigned URLs that point directly to `.mp4`, `.mp3`, `.wav`, etc.
- Public hosting URLs where the response is the media file (not an HTML page)

Examples:

```json
{ "start_urls": "https://cdn.example.com/media/episode.mp3" }
{ "start_urls": "https://d111111abcdef8.cloudfront.net/video.mp4" }
```

### Supported File Types

#### Video Files

- **MP4, AVI, MOV, WMV, FLV, WebM, MKV, 3GP, and other common video formats**
- **Audio extraction:** Automatically extracts audio track for transcription
- **Optimized audio extraction:** 16kHz mono output with 64k bitrate for minimal file size
- **Format detection:** Automatically detects video format and handles accordingly

#### Audio Files

- **MP3, WAV, FLAC, M4A, AAC, OGG, WMA, AIFF, and other common audio formats**
- **Direct transcription:** Transcribes audio files without conversion
- **High-quality processing:** Maintains original audio quality during transcription
- **Format detection:** Automatically identifies audio format and handles accordingly
- **Longer duration support:** Audio files are much smaller than video files, allowing transcription of longer content for the same file size

> **Note:** This tool intelligently processes both video and audio files. For videos, it extracts the audio track before transcription. For audio files, it transcribes directly for maximum efficiency.

> **💡 Audio vs Video:** A 1-hour audio file (MP3) is typically 50-100MB, while a 1-hour video file can be 1-5GB. Use audio files for longer content to maximize transcription duration within the file size limit!

### Use Cases

- **Content Creators:** Generate captions, repurpose content, and analyze performance.
- **Marketers:** Track brand mentions, analyze trends, and optimize strategy.
- **Researchers:** Study video and audio content and extract insights from public discourse.
- **Businesses:** Create training materials, monitor feedback, and maintain compliance records.
- **Developers:** Transcribe documentation videos, tutorials, and demos stored in cloud platforms.
- **Podcasters:** Transcribe audio episodes for accessibility and SEO.
- **Educators:** Convert lecture recordings to searchable text.

### Supported Languages

- Spanish: `es`
- English: `en`
- Hindi: `hi`
- Japanese: `ja`
- Russian: `ru`
- Ukrainian: `uk`
- Swedish: `sv`
- Chinese: `zh`
- Portuguese: `pt`
- Dutch: `nl`
- Turkish: `tr`
- French: `fr`
- German: `de`
- Indonesian: `id`
- Korean: `ko`
- Italian: `it`

### Input Examples

#### Basic Input

```json
{
  "start_urls": "https://raw.githubusercontent.com/openai/whisper/main/tests/jfk.flac"
}
```

#### Provider-Specific Examples

##### Google Drive

```json
{
  "start_urls": "https://drive.google.com/file/d/1ABC123DEF456/view"
}
```

##### GitHub Raw

```json
{
  "start_urls": "https://raw.githubusercontent.com/username/repo/main/video.mp4"
}
```

##### AWS S3

```json
{
  "start_urls": "https://bucket-name.s3.amazonaws.com/video.mp4"
}
```

##### TikTok

```json
{
  "start_urls": "https://www.tiktok.com/@user/video/VIDEO_ID"
}
```

##### Direct CDN / media file

```json
{
  "start_urls": "https://cdn.example.com/files/podcast.mp3"
}
```

### Output Example (Success)

Real output from a QA run on October 14, 2026 using the default prefilled input:

```json
{
  "sourceUrl": "https://raw.githubusercontent.com/openai/whisper/main/tests/jfk.flac",
  "videoId": "1791944126_5246",
  "status": "success",
  "durationSec": 11,
  "transcript": "[0.16s - 10.50s] And so my fellow Americans, ask not what your country can do for you, ask what you can do for your country.",
  "detected_language": "en",
  "timestamp": "2026-10-14T02:15:26.033648Z"
}
```

#### About timestamps

- Segment timestamps are written **inline in the `transcript` text** as `[start s - end s] text`.
- There is **no SRT/VTT subtitle file** and no separate segments array.
- The `timestamp` field is the **processing time** of the run, not a position in the audio.

### Output Example (Unsupported URL)

```json
{
  "sourceUrl": "https://example.com/not-a-media-link",
  "videoId": "unique-video-id",
  "status": "success",
  "transcript": "The input link is not supported by this Actor. Please review the README for supported cloud storage services, video platforms, and direct media/CDN link formats, then submit a publicly accessible URL.",
  "durationSec": 0,
  "timestamp": "2026-10-14T02:15:26.033648Z"
}
```

#### Output Fields

- **sourceUrl**: Original file URL
- **videoId**: Unique identifier for the file
- **status**: "success" or "failed"
- **durationSec**: File duration in seconds (only for success)
- **transcript**: Transcription with inline segment timestamps (only for success) or error message (for failed outputs)
- **detected_language**: BCP-47 code for the detected language (only for success)
- **timestamp**: Processing time (UTC), not an audio position

### Usage

1. **Provide a single URL** – cloud storage, video platform, or direct media/CDN link
2. **Ensure the file is publicly accessible**
3. **Check file size** - for large files, raise run memory and timeout
4. **Set appropriate Apify run memory** - larger files require more memory (see Memory Requirements below)
5. **Generate transcript with automatic language detection**
6. **Receive the transcript (inline segment timestamps) in JSON format**

**Note:** Only one URL can be processed per actor run. For multiple files, run the actor separately for each URL.

#### Memory Requirements

**Important:** Larger files require more memory allocation. Please adjust the **Apify platform's run memory setting** based on your file size:

- **Small files (< 100MB)**: 128MB - 512MB memory is sufficient
- **Medium files (100MB - 1GB)**: 512MB - 2GB memory recommended
- **Large files (1GB - 2GB)**: 2GB - 4GB memory recommended
- **Very large files (over 2GB)**: 4GB - 8GB memory and a longer timeout required

> **⚠️ Memory Warning:** If you encounter memory errors or timeouts when processing larger files, increase the **Apify run memory** setting in the actor configuration. The actor supports up to 8GB of memory. Bigger files use proportionally more memory during download, audio extraction, and transcription.

> **💡 Pro Tip:** Audio files are much smaller than video files! If you have long audio content to transcribe, consider using audio files (MP3, WAV, etc.) instead of video files. This allows you to transcribe much longer durations with a smaller file.

### Technical Details

- **Unified Processing:** Single interface handles all supported providers and file types
- **Intelligent Detection:** Automatically identifies cloud storage provider and file format
- **Smart Link Conversion:** Converts share links to direct download URLs for maximum compatibility
- **Robust Download:** Built-in retry logic and error handling for reliable file processing
- **Optimized Processing:**
  - Videos: Efficient audio extraction with minimal quality loss
  - Audio: Direct transcription without unnecessary conversion
- **Quality Assurance:** Automatic duration validation and file size limits
- **Memory Management:** Optimized for cloud environments with automatic cleanup
- **Security:** No persistent data storage - files are processed and immediately deleted

### Memory Optimization Features

- **Efficient Processing:** Optimized for cloud environments with automatic cleanup
- **Chunked downloads** (8KB chunks) to minimize memory usage
- **Automatic file cleanup** after processing
- **Garbage collection** at key processing stages
- **Memory monitoring** throughout the process
- **Optimized audio extraction** with minimal quality loss
- **Retry logic** prevents memory waste from failed downloads

> **⚠️ Important:** While the actor is optimized for memory efficiency, processing larger files (especially videos over 1GB) requires adequate memory allocation. Always increase the **Apify run memory** setting in the actor configuration when processing larger files to avoid out-of-memory errors. See the Memory Requirements section above for recommended memory allocations based on file size.

### Example INPUT.json

```json
{
  "start_urls": "https://raw.githubusercontent.com/openai/whisper/main/tests/jfk.flac"
}
```

**Supported URL formats:**

- Google Drive: `https://drive.google.com/file/d/FILE_ID/view`
- GitHub Raw: `https://raw.githubusercontent.com/user/repo/main/video.mp4`
- TikTok: `https://www.tiktok.com/@user/video/VIDEO_ID`
- Direct CDN: `https://cdn.example.com/media/file.mp3`

### Usage Limits

- **Free tier** (Apify Free plan): up to 5 runs of this Actor, one URL per run.
- **Paid** (any paid Apify plan): no run limit from this Actor, plus lower per-event prices.

> **Tip:** free tier max items per run ≤ 100. Need more? [Upgrade your Apify plan](https://apify.com/pricing?fpr=maxknj).

***

For more details, contact the maintainer or email us at contact@tictech.id

# Actor input Schema

## `start_urls` (type: `string`):

URL to a single video or audio file. Supports cloud storage (Google Drive, Dropbox, S3, etc.), video platforms (TikTok, Vimeo, etc.), and direct CDN/media links. Max file size: 3GB. One URL per run.

## Actor input object example

```json
{
  "start_urls": "https://raw.githubusercontent.com/openai/whisper/main/tests/jfk.flac"
}
```

# Actor output Schema

## `transcription` (type: `string`):

Dataset items containing the transcript, source URL, duration, detected language, and processing status.

# 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 = {
    "start_urls": "https://raw.githubusercontent.com/openai/whisper/main/tests/jfk.flac"
};

// Run the Actor and wait for it to finish
const run = await client.actor("tictechid/vanzi-universal-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 = { "start_urls": "https://raw.githubusercontent.com/openai/whisper/main/tests/jfk.flac" }

# Run the Actor and wait for it to finish
run = client.actor("tictechid/vanzi-universal-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 '{
  "start_urls": "https://raw.githubusercontent.com/openai/whisper/main/tests/jfk.flac"
}' |
apify call tictechid/vanzi-universal-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tictechid/vanzi-universal-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/UGIS66phqTUtghvli/builds/wOZ88d3rM1WGd1P4G/openapi.json
