Class ElevenLabsQuery
Inheritance
object
Query
ElevenLabsQuery
Assembly: .dll
Syntax
public class ElevenLabsQuery : Query
Constructors
ElevenLabsQuery(int, int)
Declaration
public ElevenLabsQuery(int page, int pageSize)
Parameters
Type |
Name |
Description |
int |
page |
|
int |
pageSize |
|
Properties
Accent
Optional. Accent used for filtering
Declaration
[QueryParameterAttribute]
public string Accent { get; set; }
Property Value
Age
Optional. Accent used for filtering
Declaration
[QueryParameterAttribute]
public VoiceAge? Age { get; set; }
Property Value
Category
Optional.
Category of the voice to filter by. One of: 'premade', 'cloned', 'generated', 'professional'.
Declaration
[QueryParameterAttribute]
public VoiceCategory? Category { get; set; }
Property Value
CollectionId
Optional.
Collection ID to filter voices by.
Declaration
[QueryParameterAttribute]
public string CollectionId { get; set; }
Property Value
Featured
Optional. Filter featured voices
Defaults to false
Declaration
[QueryParameterAttribute]
public bool? Featured { get; set; }
Property Value
FineTuningState
Optional.
State of the voice’s fine tuning to filter by.
One of: 'draft', 'not_verified', 'not_started', 'queued', 'fine_tuning', 'fine_tuned', 'failed', 'delayed'.
Declaration
[QueryParameterAttribute]
public string FineTuningState { get; set; }
Property Value
Gender
Optional. Gender used for filtering
Declaration
[QueryParameterAttribute]
public VoiceGender? Gender { get; set; }
Property Value
IncludeTotalCount
Optional.
Whether to include the total count of voices found in the response.
Defaults to true. May incur performance cost.
Declaration
[QueryParameterAttribute]
public bool? IncludeTotalCount { get; set; }
Property Value
Language
Optional. Language used for filtering
Declaration
[QueryParameterAttribute]
public SystemLanguage? Language { get; set; }
Property Value
Type |
Description |
SystemLanguage? |
|
Locale
Optional. Locale used for filtering
Declaration
[QueryParameterAttribute]
public string Locale { get; set; }
Property Value
MinimumNoticePeriod
Optional. Filter voices with a minimum notice period of the given number of days.
Declaration
[QueryParameterAttribute]
public int? MinimumNoticePeriod { get; set; }
Property Value
NextPageToken
Optional.
The next page token to use for pagination. Returned from the previous request.
Declaration
[QueryParameterAttribute]
public string NextPageToken { get; set; }
Property Value
OwnerId
Optional. Filter voices by public owner ID
Declaration
[QueryParameterAttribute]
public string OwnerId { get; set; }
Property Value
Page
Declaration
[QueryParameterAttribute]
public int? Page { get; set; }
Property Value
ReaderAppEnabled
Optional. Filter voices that are enabled for the reader app
Defaults to false
Declaration
[QueryParameterAttribute]
public bool? ReaderAppEnabled { get; set; }
Property Value
Search
Optional.
Search term to filter voices by. Searches in name, description, labels, and category.
Declaration
[QueryParameterAttribute]
public string Search { get; set; }
Property Value
SearchTerm
Optional. Search term used for filtering
Declaration
[QueryParameterAttribute]
public string SearchTerm { get; set; }
Property Value
Sort
Optional.
Which field to sort by. One of: 'created_at_unix', 'name'.
Declaration
[QueryParameterAttribute]
public string Sort { get; set; }
Property Value
SortDirection
Optional.
Which direction to sort the voices in. 'asc' or 'desc'.
Declaration
[QueryParameterAttribute]
public SortDirection? SortDirection { get; set; }
Property Value
Type
Optional. Use-case used for filtering
Declaration
[QueryParameterAttribute]
public VoiceType? Type { get; set; }
Property Value
VoiceType
Optional.
Type of the voice to filter by. One of: 'personal', 'community', 'default', 'workspace'.
Declaration
[QueryParameterAttribute]
public string VoiceType { get; set; }
Property Value
Extension Methods