Skip to main content
Version: Latest

AIAPI

  • assembly: AIHuman.SDK.Core
  • namespace: AIHuman.Core
Modifier and TypeMethod and Description
voidAuthenticate(string appId, string userKey, Action<AIList, AIError> OnComplete) Attempts to authenticate with the issued userKey. It passes the response to Callback(onComplete) and if successful, you can get a usable AI model.
AIHuman.Common.AIErrorGenerateToken(string appId, string userKey) Attempts to authenticate to the server with this information and returns true if successful.
voidGetAIList(Action<AIList, AIError> OnComplete) Get a list of available AI models.
stringDefaultAIName { get; } Get the default AI information.
voidGetSampleTexts(string aiName, Action<string[], AIError> OnComplete) Get AI sample sentences using aiName.
voidGetSampleTextList(string languageCode, Action<string[], AIError> OnComplete) Get the list of sample texts for the language from server.
AIHuman.Common.Model.AIClipSetCreateClipSet(string speechText, string gestureName = "", CustomVoice customVoice = null) Create AIClipSet Object.
AIHuman.Common.AIErrorLoadCustomVoices() Load a collection of available languages and gender-specific voices.
Collection<string>GetSpeakableLanguages(string gender = null) Get a collection of speakable languages.
Collection<CustomVoice>GetCustomVoices(string language = null, string gender = null) Get a collection of available custom voices.
CustomVoiceFindCustomVoice(string id) Find CustomVoice by id. return null if there is none.