Celebrity Voice Detection

Overview

Our Celebrity Voice Detection API detects the presence of well-known figures in audio and video content. Powered by our voice recognition technology, Celebrity Voice Detection identifies over 500 celebrities, politicians, and well-known public figures.

The model analyzes the voice in an audio or video file and identifies potential matches with individuals in our index. For each detected voice, the API returns the matching name and confidence score. It also returns an attribute category, which describes what type of famous figure the recognized individual is. The available categories are: film, music, media, politics, business, and sports.

Celebrity Voice Detection can help identify when audio contains or recreates the recognizable voice of a public figure, including in generated or manipulated content.

Request Format

# submit a task with media with url
curl --request POST \
  --url https://api.thehive.ai/api/v2/task/sync \
  --header 'accept: application/json' \
  --header 'authorization: token <API_KEY>' \
  --form 'url='

# submit a task with media with local media file
 curl --request POST \
     --url https://api.thehive.ai/api/v2/task/sync \
     --header 'Authorization: Token <token>' \
     --form 'media=@"<absolute/path/to/file>"'

Response

The Celebrity Voice Detection API returns recognition results for each sampled timestamp in the media. For each timestamp, the response includes the detected individual's name, confidence score, and category. To see an annotated example of an API response object for this model, visit our API reference page.

Thresholds

We recommend the following threshold for optimized model performance: 0.875.
We suggest starting with this threshold, but you should always refine these thresholds to suit your specific use case.