Helenis API
Start for free

API reference

Audio & Video Transcription API

Fast speech to text for audio and video: timestamps, speaker labels, SRT/VTT and AI summaries.

Host
audio-video-transcription-speech-to-text.p.rapidapi.com
Base path
/v1/transcription
Auth
X-RapidAPI-Key, X-RapidAPI-Host
For agents
openapi.json · transcription.md

Transcription

Audio or video to a timestamped transcript, subtitles and summary.

Transcribe from URL

POST /v1/transcription/transcribe

Transcribe an audio or video file from its URL. Transcribe an audio or video file from its URL: verbatim timestamped segments in the spoken language, optional speakers, SRT/VTT and AI summary. Up to 120 minutes and 150 MB. 1 credit per started minute (2 with speakers); the summary adds 1 per started 5 minutes (2 at least).

Parameters of Transcribe from URL
ParameterInTypeDescription
url required body string Direct link to an audio or video file (MP3, M4A, WAV, OGG, FLAC, MP4, MOV, WEBM...). Up to 150 MB and 120 minutes.
language body string Spoken language, if you know it (e.g. 'en', 'French'). Detected automatically otherwise.
speakers body boolean Label who speaks (S1, S2...) on every segment. 2 credits per minute instead of 1. Default False.
summary body boolean Add an AI summary: key points, chapters with timestamps and action items. +1 credit per 5 minutes (2 at least). Default False.
formats body "srt" | "vtt"[] Subtitle files to include in the response: 'srt', 'vtt'.
max_minutes body integer Refuse (400 media_too_long, not billed) files longer than this. Default 120.
curl -X POST "https://audio-video-transcription-speech-to-text.p.rapidapi.com/v1/transcription/transcribe" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: audio-video-transcription-speech-to-text.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://archive.org/download/short_story_047_1102_librivox/shortstory047_beforethelaw_ava_64kb.mp3",
    "speakers": true,
    "summary": true,
    "formats": [
      "srt"
    ]
  }'

Transcribe Uploaded File

POST /v1/transcription/transcribe/upload

Transcribe an uploaded audio or video file. Same as /transcribe, for a file sent as multipart/form-data (field `file`). Up to 30 MB (about 60 minutes of MP3 at 64 kbit/s).

Parameters of Transcribe Uploaded File
ParameterInTypeDescription
file required form file Audio or video file, up to 30 MB.
language form string Spoken language, if you know it (e.g. 'en', 'French'). Detected automatically otherwise.
speakers form boolean Label who speaks (S1, S2...) on every segment. 2 credits per minute instead of 1. Default False.
summary form boolean Add an AI summary: key points, chapters with timestamps and action items. +1 credit per 5 minutes (2 at least). Default False.
formats form "srt" | "vtt"[] Subtitle files to include in the response: 'srt', 'vtt'. Default [].
max_minutes form integer Refuse (400 media_too_long, not billed) files longer than this. Default 120.
curl -X POST "https://audio-video-transcription-speech-to-text.p.rapidapi.com/v1/transcription/transcribe/upload" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: audio-video-transcription-speech-to-text.p.rapidapi.com" \
  -F "file=@./my-file"

Response

{
  "source": "https://archive.org/download/.../shortstory047_beforethelaw_ava_64kb.mp3",
  "duration_seconds": 309.37,
  "minutes_billed": 6,
  "language": "en",
  "text": "S1: Before the Law, by Franz Kafka.\nS1: Translated by Ian Johnston.\n...",
  "segments": [
    { "start": 0.0, "end": 3.0, "speaker": "S1", "text": "Before the Law, by Franz Kafka." },
    { "start": 3.0, "end": 6.0, "speaker": "S1", "text": "Translated by Ian Johnston." }
  ],
  "speakers": ["S1"],
  "subtitles": { "srt": "(the whole SRT file, as text)" },
  "insights": {
    "summary": "A LibriVox reading of Franz Kafka's 'Before the Law'. A man from the country waits all his life at the gate of the law...",
    "key_points": ["A gatekeeper refuses the man entry", "The man waits for years and bribes the gatekeeper"],
    "chapters": [
      { "start": "00:00:00", "title": "Introduction" },
      { "start": "00:00:18", "title": "Before the Law" }
    ],
    "action_items": []
  }
}

A real response on a public-domain LibriVox recording, shortened. Without speakers, text is one paragraph and segments have no speaker.

How it works

  1. Download (or upload) of the file: MP3, M4A, AAC, WAV, OGG, OPUS, FLAC, WEBM, MP4, MOV, MKV and most other formats.
  2. Split into five-minute parts; the audio track is copied as-is whenever possible, so nothing is lost to re-encoding.
  3. Transcribe every part in parallel with a speech-capable AI model, then stitch the timestamps back together.
  4. Summarise the full transcript on request, using only what is said.

Privacy

Files are downloaded, transcribed and discarded: neither the audio nor the transcript is stored by the API. The AI sub-processor may keep requests temporarily for abuse monitoring. Only send recordings you have the right to process.

Errors

Every failure uses one envelope:

{ "error": { "status": 400, "code": "media_too_long", "message": "The recording is longer than 120 minutes." } }
Status code Meaning
400 invalid_url, invalid_request Fix the input.
400 site_unreachable, site_blocked, file_too_large The file could not be downloaded (down, protected, over 150 MB).
400 unsupported_file, media_too_long, no_speech Not an audio/video file, too long, or silent.
400 plan_limit Free BASIC plan: recordings of up to 5 minutes per call. Paid plans go up to 120 minutes. Not billed.
429 daily_limit_reached Daily safety limit of your plan; resets at 00:00 UTC.
503 ai_error The AI provider failed. Retry. Not billed.
503 capacity_exhausted Temporary capacity limit; see Retry-After. Not billed.

Use it from an AI agent

Add this MCP server and the Audio & Video Transcription - Speech to Text actor becomes a tool your agent can call. Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify.

MCP server URL
https://mcp.apify.com?tools=helenisapi/audio-video-transcription-speech-to-text

Prefer plain HTTP? Give your agent the OpenAPI document or the Markdown reference.

See the plans Error handling