# Video Caption MCP - Generate & Translate Subtitles (`ntriqpro/video-caption-mcp`) Actor

Real MCP server for Claude Desktop. Generate captions/subtitles from user-uploaded audio/video files (SRT or VTT format) using Whisper AI. Translate existing captions to other languages. Upload your own files only — no YouTube/Vimeo/TikTok downloads. Connect directly via Standby URL.

- **URL**: https://apify.com/ntriqpro/video-caption-mcp.md
- **Developed by:** [daehwan kim](https://apify.com/ntriqpro) (community)
- **Categories:** MCP servers, AI, Videos
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Video Caption MCP Server

Generate captions and subtitles from user-uploaded audio/video files. Translate existing captions to other languages. Powered by Whisper (MIT) + Qwen (Apache 2.0).

### IMPORTANT — Legal Constraint

**❌ NO downloads from YouTube, Vimeo, TikTok, Twitch, or any video platform.**

- Only **user-hosted audio/video files** are accepted (your own server, S3, etc.)
- All platform URLs are automatically rejected
- You must own or have permission to caption the content
- Captions are AI-generated and may contain errors

### Features

| Tool | Description | Price |
|------|-------------|-------|
| `generate_captions` | Generate SRT/VTT captions from audio/video | $0.08/use |
| `translate_captions` | Translate existing SRT/VTT to another language | $0.10/use |

### Connect via Claude Desktop

Add to your Claude Desktop MCP settings:

```json
{
  "mcpServers": {
    "video-captions": {
      "url": "https://ntriqpro--video-caption-mcp.apify.actor/mcp?token=YOUR_APIFY_TOKEN"
    }
  }
}
````

### Supported Audio/Video Formats

MP3, WAV, M4A, OGG, FLAC, WebM, MP4, MOV, AVI, MKV, and other common formats.

### Tool Usage

#### generate\_captions

Generates SRT or VTT subtitle file from audio/video.

**Input:**

- `audio_url` (required): URL to your hosted audio/video file (not platform URLs)
- `format` (optional): "srt" or "vtt" (default: "srt")

**Output Example (SRT):**

```
1
00:00:00,000 --> 00:00:03,500
Hello, welcome to today's meeting.

2
00:00:03,500 --> 00:00:07,200
Let's start with the agenda items.
```

**Output Example (VTT):**

```
WEBVTT

00:00:00.000 --> 00:00:03.500
Hello, welcome to today's meeting.

00:00:03.500 --> 00:00:07.200
Let's start with the agenda items.
```

**Full Response:**

```json
{
  "status": "success",
  "subtitles": "1\n00:00:00,000 --> 00:00:03,500\nHello, welcome...",
  "format": "srt",
  "segment_count": 15,
  "language": "en",
  "model": "whisper + qwen",
  "disclaimer": "You must own or have permission to caption the provided content. We do not download from video platforms. Captions are AI-generated and may contain errors."
}
```

#### translate\_captions

Translates SRT/VTT captions to another language.

**Input:**

- `subtitle_content` (required): Full SRT or VTT text
- `target_language` (required): Language code (e.g., "es", "fr", "de", "ja", "ko", "zh", "pt", "ru")

**Full Response:**

```json
{
  "status": "success",
  "translated": "1\n00:00:00,000 --> 00:00:03,500\nHola, bienvenido a la reunión de hoy...",
  "target_language": "es",
  "source_language": "en",
  "model": "qwen",
  "disclaimer": "You must own or have permission to caption the provided content. We do not download from video platforms. Captions are AI-generated and may contain errors."
}
```

### File Upload Methods

#### Option 1: Direct HTTP URL

```
https://example.com/my-audio.mp3
https://my-bucket.s3.amazonaws.com/video.mp4
```

#### Option 2: AWS S3 Pre-Signed URL

```
https://my-bucket.s3.amazonaws.com/video.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&...
```

#### Option 3: Google Cloud Storage Public URL

```
https://storage.googleapis.com/my-bucket/audio.mp3
```

### Error Handling

#### Platform URL Blocked

```json
{
  "error": "Platform URLs not supported. Please upload your own audio/video file."
}
```

#### Invalid URL

```json
{
  "error": "Invalid audio_url. Must be a valid HTTP/HTTPS URL."
}
```

#### Empty Subtitle Content

```json
{
  "error": "subtitle_content cannot be empty."
}
```

### Technology Stack

- **Speech Recognition**: OpenAI Whisper (MIT License)
- **Text Translation**: Qwen 3.5 (Apache 2.0 License)
- **Processing**: Cloud-based inference via ai.ntriq.co.kr
- **Privacy**: Files processed in real-time, not stored

### Open Source Licenses

This service uses the following open source models:

- [OpenAI Whisper](https://github.com/openai/whisper) — MIT License
- [Qwen 3.5](https://huggingface.co/Qwen/Qwen3.5-4B) — Apache 2.0 License

### Legal & Disclaimer

**Ownership & Consent**: Users are solely responsible for ensuring:

- They own or have permission to caption the provided content
- Compliance with all applicable laws regarding content usage
- No copyrighted material is submitted without authorization

**AI-Generated Content**: Captions and translations are AI-generated and may:

- Contain errors or inaccuracies
- Misinterpret context or idioms
- Require manual review before publishing

**Data Processing**:

- Audio/video files are processed in real-time
- Files are not stored or retained
- Files are not used for model training
- This service is a tool only and does not constitute legal or compliance advice

**Platform Constraint**:

- This tool explicitly does NOT support downloading or processing videos from YouTube, Vimeo, TikTok, Twitch, or similar platforms
- Use only with content you own or have explicit permission to process
- Violating platform Terms of Service is the user's responsibility

### Pricing

- **generate\_captions**: $0.08 per use
- **translate\_captions**: $0.10 per use
- Usage is Pay-Per-Event (PPE) — only charged when tools are called

# Actor input Schema

## Actor input object example

```json
{}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("ntriqpro/video-caption-mcp").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("ntriqpro/video-caption-mcp").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call ntriqpro/video-caption-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ntriqpro/video-caption-mcp",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Video Caption MCP - Generate & Translate Subtitles",
        "description": "Real MCP server for Claude Desktop. Generate captions/subtitles from user-uploaded audio/video files (SRT or VTT format) using Whisper AI. Translate existing captions to other languages. Upload your own files only — no YouTube/Vimeo/TikTok downloads. Connect directly via Standby URL.",
        "version": "1.0",
        "x-build-id": "dQhDoSZoT9c49tue0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/ntriqpro~video-caption-mcp/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-ntriqpro-video-caption-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/ntriqpro~video-caption-mcp/runs": {
            "post": {
                "operationId": "runs-sync-ntriqpro-video-caption-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/ntriqpro~video-caption-mcp/run-sync": {
            "post": {
                "operationId": "run-sync-ntriqpro-video-caption-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {}
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
