Interface VoicesCreateRequest

Request details to create a new voice.

interface VoicesCreateRequest {
    avatar?: Blob | Buffer;
    consent: { email: string; fullName: string };
    gender?: Gender;
    name: string;
    sample: Blob | Buffer;
}

Properties

avatar?: Blob | Buffer

The voice avatar image.

consent: { email: string; fullName: string }

The user consent that the voice belongs to you, or to someone you represent.

Type declaration

  • email: string

    The email of the person who gave the consent.

  • fullName: string

    The full name of the person who gave the consent.

gender?: Gender

Voice gender marker.

name: string

The name of the voice.

sample: Blob | Buffer

The audio sample file to be used for the voice.