CURL Example
You can also test the API using curl commands:
File Upload via CURL:
curl -X POST https://sirrus.bankapure.in/transcribe.php \
-F "audio=@your_audio_file.mp3" \
-F "language=en-US"
Base64 Audio via CURL:
curl -X POST https://sirrus.bankapure.in/transcribe.php \
-H "Content-Type: application/json" \
-d '{
"audio_base64": "base64_encoded_audio_data_here",
"language": "en-US"
}'
API Response Format
Success Response:
{
"success": true,
"transcript": "Your transcribed text here...",
"language": "en-US",
"timestamp": "2024-01-15 10:30:45"
}
Error Response:
{
"success": false,
"error": "Error message here",
"timestamp": "2024-01-15 10:30:45"
}