Transcribe audio
api.assemblyai.com
with api.eu.assemblyai.com
.Headers
Request
Enable Auto Chapters, can be true or false
Enable Content Moderation, can be true or false
Transcribe Filler Words, like “umm”, in your media file; can be true or false
Enable Entity Detection, can be true or false
Enable Topic Detection, can be true or false
keyterms_prompt
is only supported when the speech_model
is specified as slam-1
The language of your audio file. Possible values are found in Supported Languages. The default value is ‘en_us’.
Enable Automatic language detection, either true or false.
Enable Multichannel transcription, can be true or false.
Generate a copy of the original media file with spoken PII “beeped” out, can be true or false. See PII redaction for more details.
Controls the filetype of the audio created by redact_pii_audio. Currently supports mp3 (default) and wav. See PII redaction for more details.
The list of PII Redaction policies to enable. See PII redaction for more details.
The replacement logic for detected PII, can be “entity_type” or “hash”. See PII redaction for more details.
Enable Sentiment Analysis, can be true or false
Enable Speaker diarization, can be true or false
Tells the speaker label model how many speakers it should attempt to identify, up to 10. See Speaker diarization for more details.
The speech model to use for the transcription. When null
, the universal
model is used.
Reject audio files that contain less than this fraction of speech. Valid values are in the range [0, 1] inclusive.
Enable Summarization, can be true or false
The URL to which we send webhook requests. We sends two different types of webhook requests. One request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled.
Enable Dual Channel transcription, can be true or false.
Response
Whether PII Redaction is enabled, either true or false
Whether Summarization is enabled, either true or false
The language of your audio file. Possible values are found in Supported Languages. The default value is ‘en_us’.
Whether Automatic language detection is enabled, either true or false
The confidence score for the detected language, between 0.0 (low confidence) and 1.0 (high confidence)
The speech model used for the transcription. When null
, the universal
model is used.
An array of temporally-sequential word objects, one for each word in the transcript. See Speech recognition for more information.
When multichannel or speaker_labels is enabled, a list of turn-by-turn utterance objects. See Speaker diarization and Multichannel transcription for more information.
The confidence score for the transcript, between 0.0 (low confidence) and 1.0 (high confidence)
Transcribe Filler Words, like “umm”, in your media file; can be true or false
Whether Multichannel transcription was enabled in the transcription request, either true or false
The URL to which we send webhook requests. We sends two different types of webhook requests. One request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled.
An array of results for the Key Phrases model, if it is enabled. See Key Phrases for more information.
Whether Profanity Filtering is enabled, either true or false
Whether a redacted version of the audio file was generated, either true or false. See PII redaction for more information.
The audio quality of the PII-redacted audio file, if redact_pii_audio is enabled. See PII redaction for more information.
The list of PII Redaction policies that were enabled, if PII Redaction is enabled. See PII redaction for more information.
The replacement logic for detected PII, can be “entity_type” or “hash”. See PII redaction for more details.
Whether Speaker diarization is enabled, can be true or false
Tell the speaker label model how many speakers it should attempt to identify, up to 10. See Speaker diarization for more details.
Whether Content Moderation is enabled, can be true or false
An array of results for the Content Moderation model, if it is enabled. See Content moderation for more information.
Whether Topic Detection is enabled, can be true or false
The result of the Topic Detection model, if it is enabled. See Topic Detection for more information.
Improve accuracy with up to 1000 domain-specific words or phrases (maximum 6 words per phrase).
Whether Auto Chapters is enabled, can be true or false
The type of summary generated, if Summarization is enabled
The Summarization model used to generate the summary, if Summarization is enabled
The generated summary of the media file, if Summarization is enabled
Whether Sentiment Analysis is enabled, can be true or false
An array of results for the Sentiment Analysis model, if it is enabled. See Sentiment Analysis for more information.
Whether Entity Detection is enabled, can be true or false
An array of results for the Entity Detection model, if it is enabled. See Entity detection for more information.
Defaults to null. Reject audio files that contain less than this fraction of speech. Valid values are in the range [0, 1] inclusive.
Whether Dual channel transcription was enabled in the transcription request, either true or false