Skip to main content
Pre-Recorded

Enabling age & gender detection

Append age_detection=true and/or gender_detection=true to your Pulse STT query string. You can toggle them independently as well.

Sample request

curl --request POST \
  --url "https://waves-api.smallest.ai/api/v1/pulse/get_text?model=pulse&language=en&age_detection=true&gender_detection=true" \
  --header "Authorization: Bearer $SMALLEST_API_KEY" \
  --header "Content-Type: audio/wav" \
  --data-binary "@/path/to/audio.wav"
Age and gender detection are currently supported only for Pre-Recorded API. Real-Time API support is coming soon.

Output format & field of interest

Responses include top-level age (infant, teenager, adult, old) and gender (male, female) fields that describe the dominant speaker in the processed segment. Store these fields next to each transcript to power demographic analytics or routing logic.

Sample response

{
  "status": "success",
  "transcription": "Hello world.",
  "age": "adult",
  "gender": "male"
}