ElevenLabsOutputFormat
ElevenLabs output format identifiers.
type ElevenLabsOutputFormat =
| "pcm_16000"
| "pcm_22050"
| "pcm_24000"
| "pcm_44100"
| "mp3_44100_128"
| "ulaw_8000"
| string & {
};
Defined in: src/providers/tts/elevenlabs/ElevenLabsTTS.ts:57
ElevenLabs output format identifiers.
Remarks
The format string encodes both the encoding type and sample rate:
pcm_16000— 16-bit PCM at 16 kHzpcm_22050— 16-bit PCM at 22.05 kHzpcm_24000— 16-bit PCM at 24 kHzpcm_44100— 16-bit PCM at 44.1 kHzmp3_44100_128— MP3 at 44.1 kHz, 128 kbpsulaw_8000— mu-law at 8 kHz (telephony)
Custom format strings are also accepted via the string & {} type widening.