Audio Emotion API

Merge Speakers

Merge multiple speakers into a single selected speaker on an audio document.

The merged speakers' segments are relabeled to selected_speaker_id and the merged-away speaker entries are removed from the audio. If the audio is linked to a video, faces matched to a merged-away speaker are unlinked (speaker_id cleared) and any face matched to the surviving speaker has its personality_traits reset to pending — speaker merge is intentionally NOT a face-merge cascade. See module.audios.controller.merge_speakers_in_audio for full semantics, including the symmetric face-merge fix tracked in #439.

put/v1/audios/{audio_id}/speakers

Request

  • Base URL
    https://api.imentiv.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

audio_idstring required

The unique audio ID.

Request body application/x-www-form-urlencoded

selected_speaker_idinteger required

The unique speaker ID to merge other speakers into.

merge_speaker_idstring required

A comma-separated list of speaker IDs to merge into selected_speaker_id.

Response

Successful Response

messagestring required

Changes

No recorded changes to this operation across all 12 revisions of this API.