Skip to main content

DiarizeInput

Properties

NameTypeRequiredDescription
content_uristrPublicly facing uri
encodingDiarizeInputEncodingThe encoding of the original audio
language_codestrLanguage spoken in the audio file.
sourcestrSource of the audio file eg: Phone, RingCentral, GoogleMeet, Zoom etc
audio_typeDiarizeInputAudioTypeType of the audio
separate_speaker_per_channelboolSet to True if the input audio is multi-channel and each channel has a separate speaker.
speaker_countintNumber of speakers in the file, omit parameter if unknown
speaker_idsList[str]Optional set of speakers to be identified from the call.
enable_voice_activity_detectionboolApply voice activity detection.

DiarizeInputEncoding

The encoding of the original audio

Properties

NameTypeRequiredDescription
MPEGstr"Mpeg"
MP4str"Mp4"
WAVstr"Wav"
WEBMstr"Webm"
WEBPstr"Webp"
AACstr"Aac"
AVIstr"Avi"
OGGstr"Ogg"

DiarizeInputAudioType

Type of the audio

Properties

NameTypeRequiredDescription
CALLCENTERstr"CallCenter"
MEETINGstr"Meeting"
EARNINGSCALLSstr"EarningsCalls"
INTERVIEWstr"Interview"
PRESSCONFERENCEstr"PressConference"
VOICEMAILstr"Voicemail"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →