|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIS. - AI Speech Synthesis > AIS. - AI Speech Synthesis |
AIS.SaveKey |
Top |
MiniRobotLanguage (MRL)
AIS.SaveKey
Save the Elevenlabs API Key to file
Intention
The AIS.SaveKey command saves the Elevenlabs API key to an encrypted file for secure storage. The saved key can later be loaded using AIS.SetKey.
Syntax
AIS.SaveKey|$$Key[|$$FilePath]
P1 - $$Key - The API key to save
P2 - $$FilePath (optional) - Where to save the key. Default: AIS_Folder\AIS_License_Key.dat
Example
' Save key to default location
AIS.SaveKey|your_elevenlabs_api_key
' Save key to custom location
AIS.SaveKey|your_elevenlabs_api_key|C:\Secure\MyKey.dat
' Later, load the saved key
AIS.SetKey|Crypt|C:\Secure\MyKey.dat
Related Commands
- AIS.SetKey - Load saved API key