Skip to content

Interface: EnrollVoiceRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / EnrollVoiceRequest

Defined in: src/types/speech.ts:52

Body of POST /api/v1/speech/voices — enroll (or re-enroll) a cloned voice.

audio: string

Defined in: src/types/speech.ts:54

Base64-encoded reference clip (~5–10 s of clean speech works best).


optional audioMime?: string | null

Defined in: src/types/speech.ts:56

MIME hint for decoding the clip. Optional.


consent: VoiceConsent

Defined in: src/types/speech.ts:58

Who authorized this clone. Required.


optional engine?: string | null

Defined in: src/types/speech.ts:60

Engine whose conditioning to precompute. Defaults to "qwen3-tts". Optional.


name: string

Defined in: src/types/speech.ts:65

Display name. Re-enrolling the same name (case-insensitive) overwrites the same voice rather than accumulating duplicates.


optional transcript?: string | null

Defined in: src/types/speech.ts:70

Transcript of the clip. Supplying it enables the ICL clone path, which measurably improves speaker similarity. Optional.