Skip to main content

CometAPITTS

Text-to-speech through CometAPI’s OpenAI-compatible speech API. Handy if you already use CometAPI and want OpenAI-style voices on the same key. Authenticates with COMETAPI_API_KEY from your environment, or an explicit api_key.

Fields

str
default:"UNSET"
Voice model to synthesize with, e.g. “tts-1” or “tts-1-hd”. Defaults to ‘tts-1’.
str
default:"UNSET"
Voice name, e.g. “alloy”, “echo”, “nova” or “shimmer”. Defaults to ‘alloy’.
float
default:"UNSET"
Speaking rate multiplier, 0.25 to 4.0, where 1.0 is normal speed. Defaults to 1.0.
str
default:"UNSET"
Audio format of the synthesized speech, e.g. “pcm”. Defaults to ‘pcm’.
bool
default:"UNSET"
Set to True to synthesize each sentence chunk as a separate request instead of one request per utterance. Defaults to False.