Skip to content
VoiceMint Developers

Process Multi Speaker

POST/voice-processing/voice/multi-speaker

Process audio with multiple speakers and advanced diarization.

Authentication

Authorization: Bearer vm_sk_… with the media.write permission (or all.write). See Authentication.

Parameters

NameInTypeDescription
speaker_count*queryinteger

Request body

multipart/form-data

FieldTypeDescription
diarization_settingsobject
file*file
speaker_profilesobject[]

Response

200 application/json

FieldTypeDescription
confidence_scores*objectConfidence scores
diarization_results*objectDiarization results
metadataobjectAdditional metadata
segments*object[]Processed audio segments
speaker_profiles*object[]Identified speaker profiles
{
  "confidence_scores": {},
  "diarization_results": {},
  "metadata": {},
  "segments": [
    {}
  ],
  "speaker_profiles": [
    {}
  ]
}

Errors

401Missing, wrong, revoked or expired key.
403The key lacks media.write, the route is not available to keys, or the key's IP allow-list refuses this client.
402Not enough credits, or the key reached its spending cap.
422The request failed validation; `detail` lists the fields.
429Over a rate limit; retry after `Retry-After` seconds.

All statuses: Errors.

Example

curl -X POST "https://api.voicemint.io/api/v1/voice-processing/voice/multi-speaker?speaker_count=SPEAKER_COUNT" \
  -H "Authorization: Bearer $VOICEMINT_API_KEY" \
  -F "diarization_settings=..." \
  -F "file=@./file" \
  -F "speaker_profiles=..."