Class VoiceRequest
Inheritance
object
RequestBody
VoiceRequest
Assembly: .dll
Syntax
public class VoiceRequest : AudioRequest
Properties
EnableLogging
Optional.
When enable_logging is set to false zero retention mode will be used for the request.
This will mean history features are unavailable for this request, including request stitching.
Zero retention mode may only be used by enterprise customers.
Declaration
[QueryParameterAttribute]
public bool? EnableLogging { get; set; }
Property Value
Model
Optional.
SpeechRequest:
Identifier of the model that will be used, you can query them using GET /v1/models.
The model needs to have support for text to speech,
you can check this using the can_do_text_to_speech property.
Defaults to 'eleven_monolingual_v1'.
VoiceChangerRequest:
Identifier of the model that will be used, you can query them using GET /v1/models.
The model needs to have support for speech to speech, you can check this using the can_do_voice_conversion property.
Defaults to eleven_english_sts_v2
Declaration
public Model Model { get; set; }
Property Value
Voice
Declaration
public Voice Voice { get; set; }
Property Value
VoiceId
Required.
ID of the voice to be used.
Use the Get voices endpoint list all the available voices.
Declaration
[PathParameterAttribute]
public string VoiceId { get; set; }
Property Value