Class: Telnyx::Models::TextToSpeechGenerateSpeechParams::Humain
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TextToSpeechGenerateSpeechParams::Humain
- Defined in:
- lib/telnyx/models/text_to_speech_generate_speech_params.rb,
sig/telnyx/models/text_to_speech_generate_speech_params.rbs
Defined Under Namespace
Modules: VoiceID
Instance Attribute Summary collapse
-
#ttfb_eagerness ⇒ Float?
Time-to-first-byte eagerness, trading synthesis latency for quality.
-
#voice_id ⇒ Symbol, ::Telnyx::Models::TextToSpeechGenerateSpeechParams::Humain::VoiceID
Humain voice identifier.
Instance Method Summary collapse
-
#initialize(voice_id:, ttfb_eagerness: nil) ⇒ Object
constructor
Humain provider-specific parameters.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(voice_id:, ttfb_eagerness: nil) ⇒ Object
Humain provider-specific parameters. Unlike other providers, Humain has no format/sample-rate negotiation (output is always PCM16 24kHz mono) and no language parameter — language is fixed per voice.
|
|
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 347
|
Instance Attribute Details
#ttfb_eagerness ⇒ Float?
Time-to-first-byte eagerness, trading synthesis latency for quality.
345 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 345 optional :ttfb_eagerness, Float |
#voice_id ⇒ Symbol, ::Telnyx::Models::TextToSpeechGenerateSpeechParams::Humain::VoiceID
Humain voice identifier.
339 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 339 required :voice_id, enum: -> { ::Telnyx::TextToSpeechGenerateSpeechParams::Humain::VoiceID } |
Instance Method Details
#to_hash ⇒ {
355 |
# File 'sig/telnyx/models/text_to_speech_generate_speech_params.rbs', line 355
def to_hash: -> {
|