You're looking at a specific version of this model. Jump to the model overview.

collectiveai-team /speaker-diarization-3:6e29843b

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
audio
string
https://replicate.delivery/pbxt/IZjTvet2ZGiyiYaMEEPrzn0xY1UDNsh0NfcO9qeTlpwCo7ig/lex-levin-4min.mp3
Audio file or url
num_speakers
integer

Min: 1

Number of speakers to diarize. Default: infer
min_speakers
integer

Min: 1

Minimum number of speakers to diarize. Default: None
max_speakers
integer

Min: 1

Maximum number of speakers to diarize. Default: None

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'properties': {'segments': {'items': {'properties': {'speaker': {'title': 'Speaker',
                                                                  'type': 'string'},
                                                      'start': {'title': 'Start',
                                                                'type': 'string'},
                                                      'stop': {'title': 'Stop',
                                                               'type': 'string'}},
                                       'required': ['speaker', 'start', 'stop'],
                                       'title': 'SpeakerSegment',
                                       'type': 'object'},
                             'title': 'Segments',
                             'type': 'array'},
                'speakers': {'properties': {'count': {'title': 'Count',
                                                      'type': 'integer'},
                                            'embeddings': {'additionalProperties': {'items': {'type': 'number'},
                                                                                    'type': 'array'},
                                                           'title': 'Embeddings',
                                                           'type': 'object'},
                                            'labels': {'items': {'type': 'string'},
                                                       'title': 'Labels',
                                                       'type': 'array'}},
                             'required': ['count', 'labels', 'embeddings'],
                             'title': 'Speakers',
                             'type': 'object'}},
 'required': ['segments', 'speakers'],
 'title': 'Output',
 'type': 'object'}