Class: Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::MinimaxClone
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::MinimaxClone
- 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::MinimaxClone::Gender
Gender of the voice clone.
-
#label ⇒ String?
Optional custom label describing the voice style.
-
#language ⇒ String
ISO 639-1 language code from the Minimax language set.
-
#model_id ⇒ Symbol, ...
TTS model identifier.
-
#name ⇒ String
Name for the voice clone.
-
#provider ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::MinimaxClone::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 MinimaxClone 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::MinimaxClone for more details.
Upload-based voice clone using the Minimax provider.
|
|
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 328
|
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: 20MB.
282 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 282 required :audio_file, Telnyx::Internal::Type::FileInput |
#gender ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::MinimaxClone::Gender
Gender of the voice clone.
288 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 288 required :gender, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::MinimaxClone::Gender } |
#label ⇒ String?
Optional custom label describing the voice style.
312 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 312 optional :label, String |
#language ⇒ String
ISO 639-1 language code from the Minimax language set.
294 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 294 required :language, String |
#model_id ⇒ Symbol, ...
TTS model identifier. Nullable — defaults to speech-2.8-turbo.
318 319 320 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 318 optional :model_id, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::MinimaxClone::ModelID }, nil?: true |
#name ⇒ String
Name for the voice clone.
300 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 300 required :name, String |
#provider ⇒ Symbol, Telnyx::Models::VoiceCloneCreateFromUploadParams::Params::MinimaxClone::Provider
Voice synthesis provider. Must be ‘minimax`.
306 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 306 required :provider, enum: -> { Telnyx::VoiceCloneCreateFromUploadParams::Params::MinimaxClone::Provider } |
#ref_text ⇒ String?
Optional transcript of the audio file. Providing this improves clone quality.
326 |
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 326 optional :ref_text, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/voice_clone_create_from_upload_params.rb', line 361
|