|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIU. - OpenAI API > AIU. - Artificial Intelligence Utility |
MiniRobotLanguage (MRL)
Speech and Voice Configuration
Commands to configure the Speech-to-Text (STT) and Text-to-Speech (TTS) models.
Intention
This section contains the commands used to configure the models and voices for the audio-related AI operations. By default, the library uses high-quality standard models, but you can use these commands to select different versions (e.g., standard vs. HD for TTS) or customize the voice used for speech synthesis.
Commands in this Section
• AIU.SetSttModel / AIU.GetSttModel - Sets or retrieves the model for audio transcription (e.g., "whisper-1").
• AIU.SetTtsModel / AIU.GetTtsModel - Sets or retrieves the model for speech synthesis (e.g., "tts-1", "tts-1-hd").
• AIU.SetTtsVoice / AIU.GetTtsVoice - Sets or retrieves the voice for speech synthesis (e.g., "alloy", "nova").