Add reference media

Attach a reference media file (voice sample, face photo, or reference video) to an identity. The modality’s embedding recomputes asynchronously; the media becomes searchable once its embedding status is ready.

Authentication

AuthorizationBearer
API token from https://app.resemble.ai/account/api

Path parameters

uuidstringRequired

Request

This endpoint expects a multipart form containing a file.
modalityenumRequired
Allowed values:
filefileRequired
The media file to attach

Response

Media attached; returns the updated identity

uuidstringOptional
namestringOptional
identity_typeenumOptional
visibilityenumOptional
notesstring or nullOptional
voice_profile_idstring or nullOptional
created_atdatetimeOptional
updated_atdatetimeOptional
project_countintegerOptional
voice_sampleslist of objectsOptional
face_photoslist of objectsOptional
reference_videoslist of objectsOptional
embeddingslist of objectsOptional

Per-modality embedding processing status

projectslist of objectsOptional

Errors

400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error