Create Identity

POST https://app.resemble.ai/api/v2/identity

Create a new voice identity profile based on an audio sample.

Request Body

FieldTypeRequiredDescription
namestringSpeaker name/identifier.
urlstringURL to audio sample of the speaker.

Example

$curl --request POST 'https://app.resemble.ai/api/v2/identity' \
> -H 'Authorization: Bearer YOUR_API_TOKEN' \
> -H 'Content-Type: application/json' \
> --data '{
> "name": "John Doe",
> "url": "https://example.com/audio/john_doe_sample.wav"
> }'

Response

1{
2 "success": true,
3 "item": {
4 "uuid": "IDENTITY_UUID",
5 "name": "John Doe",
6 "created_at": "2024-01-01T00:00:00.000Z"
7 }
8}