Deep Learning Audio Analysis with Symbol Matching
Loading...
All API requests require a valid token. Include the token in the Authorization header:
Authorization: Bearer YOUR_TOKEN
Description: Generate a new API token
Request Body:
{
"client_id": "your-client-identifier"
}
Response:
{
"token": "generated-token",
"client_id": "your-client-identifier",
"message": "Token generated successfully"
}
Description: Analyze symbol-audio pairs
Headers: Authorization: Bearer YOUR_TOKEN
Request Body:
{
"data": [
{
"symbol": "hello",
"audio": "base64_encoded_audio_data"
},
{
"symbol": "world",
"audio": "base64_encoded_audio_data"
}
]
}
Response:
{
"results": [
{
"symbol": "hello",
"trueFalse": true
},
{
"symbol": "world",
"trueFalse": false
}
],
"processed_count": 2
}
Description: Check API health status
Response:
{
"status": "healthy",
"audio_processor_ready": true,
"message": "Audio analysis API is running"
}
POST /api/generate-token with your client ID
POST /api/analyze with your token and symbol-audio pairs