Our model can help you ensure that your content is safe and appropriate for all audiences.
upload_url
returned by the AssemblyAI API to create a JSON payload containing the audio_url
parameter and the content_safety
parameter set to True
.
POST
request to the AssemblyAI API endpoint with the payload and headers.
completed
, you can retrieve the transcript from the API response, using the content_safety_labels
key to view the results.
content_safety_labels
that contains information about any sensitive content detected. The full text is contained in the text
key, and each problematic utterance has its own labels
and timestamp
. The entire audio is assigned a summary
and a severity_score_summary
for each category of unsafe content. Each label is returned with a confidence score and a severity score.