Class ElevenLabsVoiceRequest
Inheritance
Inherited Members
Namespace: Glitch9.AIDevKit.ElevenLabs
Assembly: Glitch9.AIDevKit.Provider.ElevenLabs.dll
Syntax
public class ElevenLabsVoiceRequest : ElevenLabsAudioRequest
Properties
| Edit this page View SourceEnableLogging
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
[QueryParameter("enable_logging")]
public bool? EnableLogging { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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
[JsonProperty("model_id")]
public string Model { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Voice
Required. ID of the voice to be used. Use the Get voices endpoint list all the available voices.
Declaration
[PathParameter("0")]
public string Voice { get; set; }
Property Value
| Type | Description |
|---|---|
| string |