Trillet AI logo

Create Custom Voice

Create a custom voice using a voice embedding.

POSThttps://api.trillet.ai/v1/api/voices

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Request Body

namestringrequired

Name for the custom voice.

descriptionstring

Description of the custom voice.

embeddingobjectrequired

Voice embedding object generated from voice cloning.

languagestring

Language code for the voice (e.g., "en").

Response Fields

_idstring

Unique identifier for the custom voice.

namestring

Name of the custom voice.

descriptionstring

Description of the custom voice.

workspaceIdstring

Workspace that owns the custom voice.

createdAtstring

Timestamp when the voice was created.

{
  "_id": "665a1b2c3d4e5f6a7b8c9d0e",
  "name": "Custom Sales Voice",
  "description": "Professional sales voice",
  "language": "en",
  "workspaceId": "664a1b2c3d4e5f6a7b8c9d0e",
  "createdAt": "2024-06-01T09:00:00.000Z"
}