Class: Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone
- Defined in:
- lib/telnyx/models/voice_clone_create_from_upload_params.rb
Defined Under Namespace
Modules: Gender, ModelID, Provider
Instance Attribute Summary collapse
-
#audio_file ⇒ Pathname, ...
Audio file to clone the voice from.
-
#gender ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::Gender
Gender of the voice clone.
-
#label ⇒ String?
Optional custom label describing the voice style.
-
#language ⇒ String
ISO 639-1 language code from the Ultra language set (40 languages).
-
#model_id ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::ModelID
TTS model identifier.
-
#name ⇒ String
Name for the voice clone.
-
#provider ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::Provider
Voice synthesis provider.
-
#ref_text ⇒ String?
Optional transcript of the audio file.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(audio_file:, gender:, language:, model_id:, name:, provider:, label: nil, ref_text: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see TelnyxUltraClone for more details.
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(audio_file:, gender:, language:, model_id:, name:, provider:, label: nil, ref_text: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone for more details.
Upload-based voice clone using the Telnyx Ultra model.
|
|
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 212
|
Instance Attribute Details
#audio_file ⇒ Pathname, ...
Audio file to clone the voice from. Supported formats: WAV, MP3, FLAC, OGG, M4A. For best quality, provide 5–10 seconds of clear, uninterrupted speech. Maximum size: 5MB.
166 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 166 required :audio_file, Telnyx::Internal::Type::FileInput |
#gender ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::Gender
Gender of the voice clone.
172 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 172 required :gender, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::Gender } |
#label ⇒ String?
Optional custom label describing the voice style.
204 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 204 optional :label, String |
#language ⇒ String
ISO 639-1 language code from the Ultra language set (40 languages).
178 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 178 required :language, String |
#model_id ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::ModelID
TTS model identifier. Must be ‘Ultra`.
184 185 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 184 required :model_id, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::ModelID } |
#name ⇒ String
Name for the voice clone.
191 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 191 required :name, String |
#provider ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::Provider
Voice synthesis provider. Must be ‘telnyx`.
197 198 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 197 required :provider, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::TelnyxUltraClone::Provider } |
#ref_text ⇒ String?
Optional transcript of the audio file. Providing this improves clone quality.
210 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 210 optional :ref_text, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 245
|