AIS. - AI Speech Synthesis

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIS. - AI Speech Synthesis >

AIS. - AI Speech Synthesis

AIS.SetVoiceId

Top


MiniRobotLanguage (MRL)

 

AIS.SetVoiceId

Set voice by specific Voice ID

 

Intention

 

The AIS.SetVoiceId command sets the voice for TTS using a specific Elevenlabs voice ID. This is useful when you need to use a precise voice identifier rather than a friendly name.

 

Syntax

 

AIS.SetVoiceId|$$VoiceId

 

P1 - $$VoiceId - The specific Elevenlabs voice ID

 

Example

 

' Set voice by specific ID

AIS.SetVoiceId|21m00Tcm4TlvDq8ikWAM

 

' Speak with this voice

AIS.SayText|Hello world