Persona playback setup
- Create or open a Blueprint actor or character that should speak.
- Add the ElevenLabs Persona Component.
- Create an ElevenLabs Persona Mapping Data asset.
- Add entries for each line. Each entry needs an Audio ID, a SoundWave or sound asset, and optionally a facial animation asset.
- Assign the mapping data asset to the component.
- Set the default face mesh component name if your character uses a specific face component.
- In Blueprint, call Play Persona Cue By Id with the Audio ID you want to play.
Try the example project
The separate example demonstrates saved-audio playback with original test tones. It does not include generated speech, a MetaHuman or face animation, and this playback exercise needs no API key.
- Install the matching plugin separately, then open
EVSExample.uprojectin Unreal Engine 5.8.2 on Windows, matching the supplied example binaries. - Open
/Game/ElevenLabsExample/Maps/L_VoiceStudioExampleif it is not already the startup map. - Press Play and click inside the viewport. Press 1 for the ascending
Hellotone, 2 for the descendingReplytone, or Space to stop playback. - Stop Play and open
/Game/ElevenLabsExample/Data/DA_OriginalToneCues. Change an entry's Volume Multiplier or Pitch Multiplier, save, and play that cue again to compare. - Replace an entry's Audio with your own saved SoundWave. Keep the
HelloandReplyIDs to use the example's existing key bindings.
The map actor Voice Studio runtime example exposes Cue Mappings and Persona. Its initial audio assets are SW_ToneHello and SW_ToneReply.
Blueprint-callable actions
The default face component name is Face. Facial playback switches that component to single-animation mode; default stop behavior restores its prior animation mode. Use compatible saved animation and test alongside your character's animation Blueprint.
| Action | Use it for |
|---|---|
| Play Persona Cue By Id | Plays mapped audio and mapped facial animation together. |
| Play Audio By Id | Alias of Play Persona Cue By Id in this version: it also plays a mapped facial animation. Use a mapping with no facial animation for audio-only playback. |
| Stop Persona Playback | Stops the current voice line and/or face animation. |
| Has Persona Cue | Checks whether an ID exists before trying to play it. |
| Get Active Audio Component | Returns the currently playing audio component for extra Blueprint control. |