[PR #8373] [MERGED] feat(tts): support ElevenLabs Eleven v4 models #8325

Closed
opened 2026-10-27 06:07:44 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8373
Author: @SpicyMarinara
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/elevenlabs-v4


📝 Commits (2)

  • f061b69 feat(tts): support ElevenLabs Eleven v4 models
  • 02e8c80 Merge branch 'staging' into feat/elevenlabs-v4

📊 Changes

4 files changed (+21 additions, -4 deletions)

View changed files

📝 packages/client/src/components/panels/settings/TTSConfigCard.tsx (+4 -1)
📝 packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/server/src/routes/tts.routes.ts (+8 -3)
📝 scripts/regressions/tts-source-persistence.regression.ts (+7 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #8372

Why this change

  • ElevenLabs released Eleven v4 (eleven_v4). The maintainer asked for support.
  • Eleven v4 has no speed setting ("Style and Speed sliders are not available in Eleven v4", per the v4 docs), so Marinara must stop sending speed for it, as it already does for Eleven v3.

What changed

  • The ElevenLabs model list offers eleven_v4 first, including the fallback list shown when models cannot be fetched from the account. eleven_v4_turbo is left out of the fallback: ElevenLabs documents it for the Text to Dialogue WebSocket, not the HTTP text-to-speech route this uses. The account's own model list still shows it if the API marks it as TTS-capable.
  • Eleven v4 requests leave out speed, as Eleven v3 already did. The settings card now disables the Speed slider for Eleven v3 and v4, with a note. Before, it looked active while its value was ignored. The rule lives in @marinara-engine/shared (elevenLabsModelSupportsSpeed).
  • The model help, the hint under the model field and the voice-design-model error mention v4. The new English strings are ui.panels.ttsconfigcard.elevenlabsModelIdHelp, ui.panels.ttsconfigcard.elevenV4SpeechUses and ui.panels.ttsconfigcard.elevenlabsModelHasNoSpeed.
  • The TTS regression covers which ElevenLabs models get a speed value.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Run by the agent:

  • pnpm check
  • pnpm localization:check
  • node scripts/run-regressions.mjs --filter tts-source-persistence

Not run: a real ElevenLabs request. No v4 API key was available.

Still to do by hand:

  • In Settings → Text to Speech with an ElevenLabs key, eleven_v4 appears in the model list (and eleven_v4_turbo too, if your account marks it as TTS-capable).
  • Generating speech with eleven_v4 plays audio. With v3 or v4 selected, the Speed slider is disabled with its note.
  • Audio tags such as [whispers] work with v4.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

The only UI change is text in the ElevenLabs model help and its hint.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8373 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/elevenlabs-v4` --- ### 📝 Commits (2) - [`f061b69`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f061b69ec01a9e6a9c7db16354c884593410f7e8) feat(tts): support ElevenLabs Eleven v4 models - [`02e8c80`](https://github.com/Pasta-Devs/Marinara-Engine/commit/02e8c80059106f5bae89ebe5f98bf8ec5a128d6b) Merge branch 'staging' into feat/elevenlabs-v4 ### 📊 Changes **4 files changed** (+21 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/panels/settings/TTSConfigCard.tsx` (+4 -1) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/server/src/routes/tts.routes.ts` (+8 -3) 📝 `scripts/regressions/tts-source-persistence.regression.ts` (+7 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #8372 ## Why this change - ElevenLabs released Eleven v4 (`eleven_v4`). The maintainer asked for support. - Eleven v4 has no speed setting ("Style and Speed sliders are not available in Eleven v4", per the [v4 docs](https://elevenlabs.io/docs/overview/capabilities/text-to-speech/eleven-v4)), so Marinara must stop sending `speed` for it, as it already does for Eleven v3. ## What changed - The ElevenLabs model list offers `eleven_v4` first, including the fallback list shown when models cannot be fetched from the account. `eleven_v4_turbo` is left out of the fallback: ElevenLabs documents it for the Text to Dialogue WebSocket, not the HTTP text-to-speech route this uses. The account's own model list still shows it if the API marks it as TTS-capable. - Eleven v4 requests leave out `speed`, as Eleven v3 already did. The settings card now disables the Speed slider for Eleven v3 and v4, with a note. Before, it looked active while its value was ignored. The rule lives in `@marinara-engine/shared` (`elevenLabsModelSupportsSpeed`). - The model help, the hint under the model field and the voice-design-model error mention v4. The new English strings are `ui.panels.ttsconfigcard.elevenlabsModelIdHelp`, `ui.panels.ttsconfigcard.elevenV4SpeechUses` and `ui.panels.ttsconfigcard.elevenlabsModelHasNoSpeed`. - The TTS regression covers which ElevenLabs models get a speed value. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Run by the agent: - `pnpm check` - `pnpm localization:check` - `node scripts/run-regressions.mjs --filter tts-source-persistence` Not run: a real ElevenLabs request. No v4 API key was available. Still to do by hand: - [ ] In Settings → Text to Speech with an ElevenLabs key, `eleven_v4` appears in the model list (and `eleven_v4_turbo` too, if your account marks it as TTS-capable). - [ ] Generating speech with `eleven_v4` plays audio. With v3 or v4 selected, the Speed slider is disabled with its note. - [ ] Audio tags such as `[whispers]` work with v4. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) The only UI change is text in the ElevenLabs model help and its hint. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 06:07:44 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8325
No description provided.