Audio Scribe
Effortlessly transcribe your audio files into text using our powerful API.
API Endpoint
How to use the Audio Scribe transcription API.
URL:
POST /api/transcribe
Headers:
Content-Type: application/json
Body:
A JSON object containing the audio data URI.
{
"audioDataUri": "string (Data URI format)"
}The audioDataUri should be a base64 encoded audio file with a MIME type, e.g., data:audio/wav;base64,....
Example Request
{
"audioDataUri": "data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQAAAAA="
}Example Success Response (200 OK)
{
"transcription": "This is a test."
}Example Error Response (e.g., 400, 500)
{
"error": "Failed to transcribe audio. Please check the audio format and try again."
}