Analyze prosody
Analyze emotional expression from speech audio.
This endpoint requires authentication. Include your API key in the Authorization header. This is
an async job-based endpoint. Submit audio, then poll for results.
How It Works
- Submit audio via
POST /v1/prosody— returns ajob_id - Poll status via
GET /v1/prosody/{job_id}— returnsqueued,in_progress,completed, orfailed - Retrieve results via
GET /v1/prosody/{job_id}/result— returns 5 emotion metrics
Request Body (multipart/form-data)
Code Examples
curl -X POST https://api.valsea.ai/v1/prosody \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "model=valsea-prosody" \
-F "file=@audio.wav"
Response
Submit Response (202)
Minimal (json)
Verbose (verbose_json)
Includes all fields from the minimal response, plus: