feat(terra): luna speaks with ElevenLabs v4 turbo

eleven_v4_turbo is the new default, same price per character as
v3_conversational. v4 also streams over Text to Dialogue, so the switch is
now uses_dialogue() for both. Audio tags may carry free-text directions
("[whispers, in a German accent]"): commas and apostrophes allowed, up to
80 chars. The voice prompt and luna-soul.md teach her the wider tag set,
including in text_to_speech voice notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 00:01:48 +02:00
co-authored by Claude Opus 5.5
parent 1209f165e9
commit efb690206b
6 changed files with 56 additions and 25 deletions
+5 -4
View File
@@ -61,11 +61,12 @@ in
ttsModel = lib.mkOption {
type = lib.types.str;
default = "eleven_v3_conversational";
default = "eleven_v4_turbo";
description = ''
eleven_v3* streams over the Text to Dialogue socket and performs audio
tags ([laughs], [sighs]); it also gets her German right, which Flash
reads with an English accent. Anything else uses the TTS socket, e.g.
eleven_v3* and eleven_v4* stream over the Text to Dialogue socket and
perform audio tags ([laughs], [sighs]); they also get her German right,
which Flash reads with an English accent. eleven_v4_turbo costs the
same as eleven_v3_conversational. Anything else uses the TTS socket, e.g.
"eleven_flash_v2_5" — half the price per character, faster, no tags.
'';
};