<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AI - Set Parameters > Set Endpoints > AIC. - Artificial Intelligence Command |
MiniRobotLanguage (MRL)
AIC.Set TTS Endpoint
Set the http: - Endpoint for the Text-to-Speech Command
Intention
This command is used to set the endpoint for Text-to-Speech (TTS) operations. The default endpoint is:
`https://api.openai.com/v1/audio/speech`
This command can be used to update the endpoint if necessary, specifically for TTS operations.
Syntax
AIC.Set TTS Endpoint[|P1]
Parameter Explanation
P1 - (optional) URL of the Endpoint to use. Currently, only the default endpoint is allowed. If P1 is omitted, the default Endpoint is set.
Example
'***********************************
' AIC.-Sample
'***********************************
' Set the TTS endpoint to the default
AIC.Set TTS Endpoint
Remarks
Currently, only the default endpoint is allowed.
Limitations:
Setting an incorrect or unreachable endpoint may lead to errors or undefined results.
See also:
•