POST
/
audio_transcribe
import requests

url = "https://api.example.com/api/public/v1/transcribe"
headers = {"Authorization": "<API_KEY>", "accept": "application/json"}

# Option 1: URL with parameters
payload = {
    "audio_url": "https://example.com/audio.mp3",
    "language": "en",
    "translate": True,
    "transcription_format": "srt",
    "word_timestamps": True
}
response = requests.post(url, headers=headers, json=payload)

# Option 2: File Upload
with open("audio.mp3", "rb") as f:
    files = {"audio_file": f}
    data = {
        "language": "en",
        "translate": False,
        "transcription_format": "plain_text"
    }
    response = requests.post(url, headers=headers, files=files, data=data)

print(response.json())
{
  "success": true,
  "task_id": "transcribe123",
  "conversion_id": "conv456",
  "eta": -1,
  "credit_estimate": 100.1,
  "message": "Successfully published to queue"
}

Convert your audio recordings into high-accuracy text using AI.

Audio Transcribe enables seamless transcription for podcasts, interviews, lectures, meetings, and more.

  • 📅 Fast and accurate speech-to-text conversion
  • 🌍 Supports multiple languages
  • 🔄 Instant or asynchronous transcription with webhook support

Audio Transcribe ensures reliable, professional-grade transcripts for your audio content.


📡 Endpoint

POST /audio_transcribe

Use this endpoint to transcribe audio recordings into text.


▶️ Sample Output

Transcript Output of Charlie Puth and Wiz Khalifa’s See You Again:

“It’s been a long day without you, my friend, and I’ll tell you all about it when I see you again. We’ve come a long way from where we began. Oh, I’ll tell you all about it when I see you again, when I see you again. Damn, you know, all the planes we flew, good things we’ve been through. And I’ll be standing right here talking to you about another pap. I know we love to hit the road and laugh, but something told me that it wouldn’t last. Had to switch up, looking things different, see the bigger picture. Those were the days, hard work for ever pays. Now I see you in a better place. See you in a better place. Oh, after we not talk about family, we family is all that we got. Everything I would do, you would stand in there by my side. And now you’ve got me with me for the last ride. It’s been a long day without you, my friend, and I’ll tell you all about it when I see you again. We’ve come a long way from where we began. Oh, I’ll tell you all about it when I see you again, when I see you again. First you both go out your way and the vibe is feeling stronger. It was small, turned to a friendship, but friendship turned to a bond. And that bond will never be broken. The love will never get lost. And when brotherhood comes first, then the land will never be crossed. It’s never stood on our own when that land had to be drawn. And that land is where we reach. So remember me when I’m gone. How can we not talk about family, we family is all that we got. Everything I would do, you would stand in there by my side. And now you’ve got me with me for the last ride. Let the light go on your way. Hold every memory as you go. And every road you take will always be true. Oh, it’s been a long day without you, my friend. And I’ll tell you all about it when I see you again. We’ve come a long way from where we began. Oh, I’ll tell you all about it when I see you again. When I see you again. Oh, I’ll tell you all about it when I see you again. Oh, I’ll tell you all about it when I see you again.”


🧪 Try it Yourself

Visit the Audio Transcribe Endpoint Explorer to upload audio files and get instant transcripts.

🚀 Try uploading different languages or noisy audio recordings to test the transcription quality!


🛠️ Request Parameters

ParameterTypeRequiredDescription
audio_urlStringYesURL to the audio file you want to transcribe
languageStringOptionalLanguage code (e.g., en, es, fr) for targeted accuracy
webhook_urlStringOptionalWebhook URL to receive the transcription asynchronously
user_idStringOptionalOptional user ID for tracking purposes

📥 Sample Request

🐍 Python

import requests

url = "https://api.musicgpt.com/api/public/v1/audio_transcribe"
headers = {
    "accept": "application/json",
    "Authorization": "<api_key>",
    "Content-Type": "application/json"
}
payload = {
    "audio_url": "https://musicgpt.s3.us-east-1.amazonaws.com/conversions/sample-speech.mp3",
    "language": "en",
    "webhook_url": "https://abcd.requestcatcher.com/",
    "user_id": "user_67890"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())

📤 Sample Response

✅ Success (200 OK)

{
    "success":true,
    "task_id":"cade1dea-a9fb-49d3-a5b2-52f786ea5ad3",
    "conversion_id":"1c5a2543-5b99-499c-8bb4-28424497e60f",
    "eta":46,
    "credit_estimate":19.833,
    "message":"",
    "status":"IN_QUEUE"
}

📞 Webhook Response

When transcription completes, your webhook will receive:

{
    "success": true, 
    "conversion_type": "Audio Transcription", 
    "task_id": "cade1dea-a9fb-49d3-a5b2-52f786ea5ad3", 
    "conversion_id": "1c5a2543-5b99-499c-8bb4-28424497e60f", 
    "transcription": "It's been a long day without you, my friend, and I'll tell you all about it when I see you again. We've come a long way from where we began. Oh, I'll tell you all about it when I see you again, when I see you again. Damn, you know, all the planes we flew, good things we've been through. And I'll be standing right here talking to you about another pap. I know we love to hit the road and laugh, but something told me that it wouldn't last. Had to switch up, looking things different, see the bigger picture. Those were the days, hard work for ever pays. Now I see you in a better place. See you in a better place. Oh, after we not talk about family, we family is all that we got. Everything I would do, you would stand in there by my side. And now you've got me with me for the last ride. It's been a long day without you, my friend, and I'll tell you all about it when I see you again. We've come a long way from where we began. Oh, I'll tell you all about it when I see you again, when I see you again. First you both go out your way and the vibe is feeling stronger. It was small, turned to a friendship, but friendship turned to a bond. And that bond will never be broken. The love will never get lost. And when brotherhood comes first, then the land will never be crossed. It's never stood on our own when that land had to be drawn. And that land is where we reach. So remember me when I'm gone. How can we not talk about family, we family is all that we got. Everything I would do, you would stand in there by my side. And now you've got me with me for the last ride. Let the light go on your way. Hold every memory as you go. And every road you take will always be true. Oh, it's been a long day without you, my friend. And I'll tell you all about it when I see you again. We've come a long way from where we began. Oh, I'll tell you all about it when I see you again. When I see you again. Oh, I'll tell you all about it when I see you again. Oh, I'll tell you all about it when I see you again. You", 
    "translation": null, 
    "detected_language": "en", 
    "message": "Transcription Completed"
}

🔊 If no webhook is provided, you can fetch the transcript manually later using the conversion_id.


Authorizations

Authorization
string
header
required

Body

multipart/form-data

Response

200
application/json

Successfully initiated transcription

The response is of type object.