Class: Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone
- 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::TelnyxQwen3TtsClone::Gender
Gender of the voice clone.
-
#label ⇒ String?
Optional custom label describing the voice style.
-
#language ⇒ String
ISO 639-1 language code from the Qwen language set.
-
#model_id ⇒ Symbol, ...
TTS model identifier.
-
#name ⇒ String
Name for the voice clone.
-
#provider ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone::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:, name:, provider:, label: nil, model_id: nil, ref_text: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see TelnyxQwen3TtsClone 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:, name:, provider:, label: nil, model_id: nil, ref_text: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone for more details.
Upload-based voice clone using the Telnyx Qwen3TTS model (default).
|
|
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 96
|
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.
46 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 46 required :audio_file, Telnyx::Internal::Type::FileInput |
#gender ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone::Gender
Gender of the voice clone.
52 53 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 52 required :gender, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone::Gender } |
#label ⇒ String?
Optional custom label describing the voice style.
78 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 78 optional :label, String |
#language ⇒ String
ISO 639-1 language code from the Qwen language set.
59 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 59 required :language, String |
#model_id ⇒ Symbol, ...
TTS model identifier. Nullable/omittable — defaults to Qwen3TTS.
84 85 86 87 88 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 84 optional :model_id, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone::ModelID }, nil?: true |
#name ⇒ String
Name for the voice clone.
65 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 65 required :name, String |
#provider ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone::Provider
Voice synthesis provider. Must be ‘telnyx`.
71 72 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 71 required :provider, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::TelnyxQwen3TtsClone::Provider } |
#ref_text ⇒ String?
Optional transcript of the audio file. Providing this improves clone quality.
94 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 94 optional :ref_text, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 129
|