---
title: "Transcribe Audio & Video to Text API"
slug: transcribe-audio-video-to-text
url: https://apyhub.com/skavio/service/transcribe-audio-video-to-text
provider: Skavio LLC
categories: [Ingestion Kit, Output Kit, Media Kit]
tags: [speech-to-text, transcription, audio-processing, subtitle-generation, video-transcription]
auth: api_key
version: 1.1.0
service_type: sync
endpoints: 1
atoms: 1980
mcp: true
---

# Transcribe Audio & Video to Text API

Audio transcription API: send an audio or video file and get a text transcript or SRT subtitles with timings. MP3, WAV, MP4 and more. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/skavio/transcribe-audio-video-to-text` | What it does Transcribes speech in an audio or video file. Returns plain text or SRT subtitles with… | 1980 |

## Endpoint reference

### Transcribe Audio or Video to Text

`POST https://api.eu.apyhub.com/skavio/transcribe-audio-video-to-text` · 1980 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `format` | body | string | no | One of: txt, srt. Default: `txt`. |
| `file_name` | body | string | yes | File name with extension (mp3, wav, m4a, ogg, flac, aac, opus, mp4, webm, mov, mkv). |
| `file_base64` | body | string | yes | Base64-encoded file (max 20 MB decoded). |

#### Quickstart

Transcribe a short MP3 call recording.

```bash
curl -X POST "https://api.eu.apyhub.com/skavio/transcribe-audio-video-to-text" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "file_name": "call.mp3",
    "file_base64": "SUQzBAAAAAAA...",
    "format": "txt"
  }'
```

#### What you'll get back

A real response for a 5-second clip:

```json
{
  "transcript": "Hello, this is a test call. Please send the invoice by Friday.",
  "format": "txt",
  "duration_seconds": 5.472,
  "minutes": 2,
  "status": "completed",
  "usage": { "atoms": 1320, "units": 2, "unit": "minute" },
  "request_id": "1971d219-d1f1-4334-91f2-50fa349d3f77-79623c32"
}
```

With `"format": "srt"` the transcript looks like this:

```
1
00:00:00,100 --> 00:00:02,009
Hello, this is a test call.

2
00:00:02,625 --> 00:00:04,894
Please send the invoice by Friday.
```

## About

## What it does

The audio transcription API turns speech in an audio or video file into text. Send the file as `file_base64` with its `file_name`, and get back the `transcript`, the `duration_seconds` and the billed `minutes`.

Set `format` to `txt` for plain text, or to `srt` for subtitles with a start and end time for each line. Plain text is the default. Each SRT cue has a number, a time range such as 00:00:00,100 --> 00:00:02,009 and the spoken line, ready to load into a video player.

Supported files are MP3, WAV, M4A, OGG, FLAC, AAC, OPUS, MP4, WEBM, MOV and MKV, up to 20 MB. Media with no speech returns an error instead of an empty transcript.

Teams use the audio transcription API to transcribe meetings, customer calls and interviews, add subtitles to videos and make recordings searchable.

To translate the transcript, use the [Text Translation API](https://apyhub.com/sharpapi/service/translate-text). To remove names and phone numbers from call transcripts, use the [Text Anonymization API](https://apyhub.com/apyhub/service/anonymize-text).

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/skavio/service/transcribe-audio-video-to-text
