Class VoiceLanguage
Represents a verified language for a voice, including language, model, accent, and preview details.
Inherited Members
Namespace: Glitch9.AIDevKit.ElevenLabs
Assembly: Glitch9.AIDevKit.Provider.ElevenLabs.dll
Syntax
public class VoiceLanguage
Properties
| Edit this page View SourceAccent
Optional. The accent of the voice (e.g., "British", "American").
Declaration
[JsonProperty("accent")]
public string Accent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Language
The primary language code (e.g., "en", "ko").
Declaration
[JsonIgnore]
public SystemLanguage Language { get; set; }
Property Value
| Type | Description |
|---|---|
| SystemLanguage |
Locale
Optional. The locale code of the voice (e.g., "en-US", "ko-KR").
Declaration
[JsonProperty("locale")]
public string Locale { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ModelId
The ID of the AI model associated with this language.
Declaration
[JsonProperty("model_id")]
public string ModelId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PreviewUrl
Optional. A preview URL that demonstrates this voice in the specified language.
Declaration
[JsonProperty("preview_url")]
public string PreviewUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |