Skip to main content
Version: 2.0.0

Update a recording

This endpoint updates a recording for a particular voice.

HTTP Request

PUT https://app.resemble.ai/api/v2/voices/<voice_uuid>/recordings/<recording_uuid>
URL ParametersTypeDescription
recording_uuidstringUUID of the recording to update
voice_uuidstringUUID of the voice to which the recording belongs
Multipart Form BodyTypeDescription
emotionstringEmotion of the recording
is_activebooleanIf false, the recording is not used to train the voice model
namestringName of the recording
textstringTranscript of the recording
fill(optional) booleanDefaulted to false. If true, the recording will be used for Resemble Fill. Please see Using Resemble Fill Through The API for detailed instructions.
note

You cannot upload a new file for a recording. Instead, try deleting the recording you wish to replace and creating an entirely new one!

HTTP Response

{
"success": true,
"item": {
"uuid": <string>,
"name": <string>,
"text": <string>,
"emotion": <string>,
"is_active": <boolean>,
"audio_src": Optional<string>,
"created_at": <UTC string>,
"updated_at": <UTC string>,
}
}

Examples

NodeJS
1 2 3 4 5 6 7 8 9 10 import { Resemble } from '@resemble/node' Resemble.setApiKey('YOUR_API_TOKEN') await Resemble.v2.recordings.update(voiceUuid, { emotion: 'happy', is_active: false, name: 'happy_sample', text: 'Hey, this is a happy sample!' })

Try it out

API Key:
Voice UUID:
Recording UUID:
Multipart Body:
Emotion:
Name:
Text:
Is Active:
Fill: