Unlimited Open Source Models

Get Plan
Skip to main content
AudioGen

Speech to Text API — Whisper Transcription via REST

POST an audio URL to /api/v6/voice/speech_to_text and get the transcript back, with word-level timestamps when you ask for them. Whisper transcription, multilingual, billed per call rather than per minute of audio.

Speech to Text API quick start

One POST with an audio URL — Python, JavaScript and cURL.

Python — transcribe an audio file

Python
1import requests
2
3response = requests.post(
4 "https://modelslab.com/api/v6/voice/speech_to_text",
5 json={
6 "key": "YOUR_MODELSLAB_API_KEY",
7 "init_audio": "https://example.com/interview.mp3",
8 "language": "english",
9 "timestamp_level": "word",
10 },
11)
12
13print(response.json())

JavaScript — long file with a webhook

JavaScript
1const response = await fetch(
2 'https://modelslab.com/api/v6/voice/speech_to_text',
3 {
4 method: 'POST',
5 headers: { 'Content-Type': 'application/json' },
6 body: JSON.stringify({
7 key: 'YOUR_MODELSLAB_API_KEY',
8 init_audio: 'https://example.com/lecture.mp3',
9 // Long recordings queue; the webhook receives the transcript.
10 webhook: 'https://your-app.example.com/hooks/transcript',
11 track_id: 7,
12 }),
13 },
14);
15
16console.log(await response.json());

cURL — quick test from the terminal

bash
1curl -X POST 'https://modelslab.com/api/v6/voice/speech_to_text' \
2 -H 'Content-Type: application/json' \
3 -d '{
4 "key": "YOUR_MODELSLAB_API_KEY",
5 "init_audio": "https://example.com/voicemail.wav",
6 "language": "english"
7 }'

Request and Response

The full contract of the transcription endpoint.

FieldTypeMeaning
init_audioURL (required)Audio file to transcribe
languagestring (optional)Source language; defaults to English
timestamp_levelstring (optional)word or sentence timings
webhookURL (optional)Where to POST the finished transcript
track_idstring (optional)Your own numeric reference id, echoed back

The same handler is registered at /api/v6/whisper/transcribe. A v7 route at /api/v7/voice/speech-to-text takes an explicit model_id.

Trusted by

Google logo
Salesforce logo
Amazon logo
IBM logo
Adobe logo
Sony logo
Google logo
Salesforce logo
Amazon logo
IBM logo
Adobe logo
Sony logo
Google logo
Salesforce logo
Amazon logo
IBM logo
Adobe logo
Sony logo
Google logo
Salesforce logo
Amazon logo
IBM logo
Adobe logo
Sony logo
1B+

Images Processed Monthly

500K+

Active Developers

5K+

Discord Community Members

300+

Available AI APIs

Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result
Example of AI outpainting result

Let Audiogen Speech-to-Text API handle the heavy lifting so you can focus on delivering incredible content.

Why Choose ModelsLab

Key advantages that set us apart

User-friendly interface
Sentiment analysis and intelligent speech recognition
24/7 customer support
Real-time audio transcriptions
Multi-language support
Advanced natural language processing (NLP)
Scalable Developer-first API
Large Global Community
No Questions Asked 100% Refund Policy

Transcribe Speech to Text with AI

Go beyond basic notes with our speech-to-text API. Use AI to transcribe your voice.

Get Smart Transcriptions

Transcribe live audio streams with near-perfect precision and reduce manual transcription effort.

Protect Your Privacy

We keep your data safe and use the best encryption and compliance standards to guarantee privacy.

Fast Turnarounds

Convert hours of audio into text in minutes without compromising accuracy.

Custom Dictionaries

Speak industry-specific terms, technical jargon, or unique keywords. Our speech-to-text AI will transcribe it right.

Advanced Punctuation

Generate grammatically correct transcripts, save time on post-editing.

Get Smart Transcriptions

How to Transcribe Voice Step-by-Step?

Generate text in just three easy steps

STEP 01
STEP 01

Upload or Paste Your Audio Sample

To get started, add audio files. You can upload them from your device, cloud storage, URL, or API integration.

STEP 02
STEP 02

Choose Your Style

Select your language from an exhaustive list—whether it's English, Spanish, or Hindi, we've got you covered.

STEP 03
STEP 03

Generate and Download

Preview and export. Download the transcript in your desired format—PDF, DOC, TXT, or SRT—ready for captions, notes, or reports.

What Makes ModelsLab More than Just a Speech-to-Text Tool?

Get Smart Transcriptions

Transcribe live audio streams with near-perfect precision and reduce manual transcription effort.

Protect Your Privacy

We keep your data safe and use the best encryption and compliance standards to guarantee privacy.

Fast Turnarounds

Convert hours of audio into text in minutes without compromising accuracy.

Custom Dictionaries

Speak industry-specific terms, technical jargon, or unique keywords. Our speech-to-text AI will transcribe it right.

Advanced Punctuation

Generate grammatically correct transcripts, save time on post-editing.

Our Popular Use Cases

Here’s where you can use our speech-to-text tool

Automatically transcribe team discussions for accurate meeting minutes.

Corporate Meetings

Worldwide Support: 43 Audio Languages Available

Expand Your Audience with Multilingual Dubbing Capabilities

Your Data is Secure: GDPR Compliant AI Services

ModelsLab GDPR Compliance Certification Badge

GDPR Compliant

Pricing That's Perfect

Choose plan as per your needs, cancel anytime.

100% refund policy on monthly & yearly plans — cancel anytime
Contact Sales
Best Value

Open Source Unlimited

Mission-Critical

$149/month

🛡️ 100% refund policy · cancel anytime

Unlimited Open Source Models
100% refund policy
24x7 Support
15 parallel generations ⚡
Access to all APIs
Unlimited generations on all open-source models
For mission critical workloads
Add Team Members
Priority GPU Clusters
Most Popular

Standard

Production

$47/month

🛡️ 100% refund policy · cancel anytime

Moderate Traffic
100% refund policy
Priority Developer Support
10 concurrent API requests ⚡
For Production workloads
API access to all models
Prototype

Basic

Prototype

$21/month

🛡️ 100% refund policy · cancel anytime

Moderate Traffic
100% refund policy
Developer Support via Discord/Email
5 concurrent API requests ⚡
API access to all models
Shared GPU
Testimonials

Trusted by Enterprise Teams Worldwide

Enterprise Success Stories

ModelsLab's Voice Cloning API has revolutionized how we approach character development in our games. It's like having a studio full of voice actors at our fingertips!

Alex Rivera
AR

Alex Rivera

Game Developer at TVC

The ease of creating lifelike voiceovers for our e-learning courses has dramatically increased engagement. A real breakthrough for educational content!

Priya Singh
PS

Priya Singh

Instructional Designer at TVC1

The LLM Chat API has dramatically helped me in how I approach chat integration. It's like giving an AI voice to my application, making it truly engaging. Thanks, ModelsLab!

John H.
JH

John H.

Developer Enthusiast at Mr

Voice Cloning from ModelsLab gave our marketing campaigns a unique edge with custom, realistic voiceovers. It's incredibly easy to use and effective.

Michael Chen
MC

Michael Chen

Digital Marketing Manager at TVC2

Get Expert Support in Seconds

We're Here to Help.

Want to know more? You can email us anytime at support@modelslab.com

View Docs

POST https://modelslab.com/api/v6/voice/speech_to_text with `init_audio` set to the URL of the audio file. The response carries the transcript, or an id to fetch when the file is long enough to queue. Add `language` when you know it and `timestamp_level` when you need word timings.

A Whisper model. The same handler is registered at /api/v6/whisper/transcribe, and a v7 route at /api/v7/voice/speech-to-text takes a `model_id` when you want to pin the model explicitly rather than take the shared default.

Audio plans start at $12/month for 600 API calls, $27/month for 3,000, and $127/month for unlimited generation on the open-weight speech models ModelsLab self-hosts. Billing is per call, not per minute of audio, so one long recording costs the same as one short one.

Yes — it is a plain HTTP POST, so `requests.post()` with the JSON body is the whole integration. There is no SDK to install and no streaming session to manage; you send a URL and read the transcript from the response.

Yes. `timestamp_level` takes `word` or `sentence`, which is what you need to build SRT or VTT output.

ModelsLab is a paid service. Audio plans start at $12/month for 600 API calls. Creating an account is free, but transcription requires an active plan.

Yes. The transcript can go straight into the LLM endpoint for translation and then into /api/v6/voice/text_to_audio to speak it — including in a cloned voice — and into /api/v7/video-fusion/lip-sync if the source was video. All of it runs on one API key.
Plugins

Explore Plugins for Pro

Our plugins are designed to work with the most popular content creation software.

API

Build Apps with
ML
API

Use our API to build apps, generate AI art, create videos, and produce audio with ease.