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

thomasmol/whisper-diarization:98cbf483

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
filename
string
Filename with file type extension.
file_string
string
Either provide: Base64 encoded audio file,
file_url
string
Or provide: A direct audio file URL
group_segments
boolean
True
Group segments of same speaker shorter apart than 2 seconds
num_speakers
integer
2

Min: 1

Max: 25

Number of speakers
prompt
string
Some people speaking.
Prompt, to be used as context
offset_seconds
integer
0
Offset in seconds, used for chunked inputs
chunk_index
integer
0
Index of chunk
chunk_count
integer
1

Min: 1

Number of chunks
webhook_id
string
Webhook ID

Output schema

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

Schema
{'properties': {'chunk_count': {'title': 'Chunk Count', 'type': 'integer'},
                'chunk_index': {'title': 'Chunk Index', 'type': 'integer'},
                'file_url': {'title': 'File Url', 'type': 'string'},
                'offset_seconds': {'title': 'Offset Seconds',
                                   'type': 'integer'},
                'segments': {'title': 'Segments'},
                'webhook_id': {'title': 'Webhook Id', 'type': 'string'}},
 'required': ['webhook_id',
              'file_url',
              'offset_seconds',
              'chunk_index',
              'chunk_count'],
 'title': 'ModelOutput',
 'type': 'object'}