abacusai.speech_gen_settings

Classes

SpeechGenSettings

Unified speech generation settings combining STT, TTS, and STS.

Module Contents

class abacusai.speech_gen_settings.SpeechGenSettings(client, speechType=None, modelsByType=None, settingsByType=None)

Bases: abacusai.return_class.AbstractApiClass

Unified speech generation settings combining STT, TTS, and STS.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • speechType (dict) – Dropdown for type of speech (speech_to_text, text_to_speech, speech_to_speech).

  • modelsByType (dict) – Maps each speech type to the list of applicable model keys.

  • settingsByType (dict) – Maps each speech type to its model settings dict.

speech_type = None
models_by_type = None
settings_by_type = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict