[GH-ISSUE #3410] [Issue]: PocketTTS voice list excludes custom voices #1846

Closed
opened 2026-10-21 05:43:13 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3410

Originally assigned to: @SpicyMarinara on GitHub.

Summary

PocketTTS Text to Speech connection only appears to list built-in voices even though the PocketTTS /v1/voices API exposes both built-in and custom voices. Request to include custom voice types if compatible.

Expected behavior

Marinara Engine should include PocketTTS custom voices exposed by the /v1/voices endpoint alongside built-in voices, if the API supports using them.

Actual behavior

The PocketTTS source works, but only returns built-in voices and does not include custom voices.

Steps to reproduce

  1. Configure the PocketTTS Text to Speech connection.
  2. Query or load available voices in Marinara Engine.
  3. Compare the voices shown in Marinara Engine with the PocketTTS <base url>/voices or HOST:PORT/v1/voices API response.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

PocketTTS voices endpoint example: {"data":[{"id":"alba","name":"Alba","object":"voice","type":"builtin"}, ... ,{"id":"ASEN","name":"Asen","object":"voice","type":"custom"},...]}. The API exposes type: custom voices in addition to type: builtin.

Additional context

User asks whether custom PocketTTS voices are technically incompatible with the API or whether Marinara Engine only needs to update filtering/code to include custom voice types. PocketTTS custom voices include community voices from Hugging Face and voice clone features.

Discord thread: [Feature Request] PocketTTS Custom Voices
Discord thread link: https://discord.com/channels/1417099416812392641/1524893972101726472
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-09T21:44:14.109Z] AgentX: Currently, the "PocketTTS" source for Text to Speech connection works fine. However, it seems to only return the built-in voices and doesn't include custom voices.

<base url>/voices (aka "HOST:PORT/v1/voices") API Endpoint returns
` ` `
{"data":[{"id":"alba","name":"Alba","object":"voice","type":"builtin"}, ... ,{"id":"ASEN","name":"Asen","object":"voice","type":"custom"},...}]}
` ` `
So I see the "custom" voice names are being exposed via the API, in addition to the "builtin" voices. I was wondering if there was a technical reason if these customs aren't compatible with the API or if it's just a matter of updating the code to also include 'custom' types.

Thanks, I've been playing around with multiple localhost TTS solutions and this one looks really interesting and offers quite a few custom voices from their HG site from community members (and also the voice clone feature).
[Discord message: https://discord.com/channels/1417099416812392641/1524893972101726472/1524893972101726472]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3410 Originally assigned to: @SpicyMarinara on GitHub. ## Summary PocketTTS Text to Speech connection only appears to list built-in voices even though the PocketTTS `/v1/voices` API exposes both built-in and custom voices. Request to include `custom` voice types if compatible. ## Expected behavior Marinara Engine should include PocketTTS custom voices exposed by the `/v1/voices` endpoint alongside built-in voices, if the API supports using them. ## Actual behavior The PocketTTS source works, but only returns built-in voices and does not include custom voices. ## Steps to reproduce 1. Configure the PocketTTS Text to Speech connection. 2. Query or load available voices in Marinara Engine. 3. Compare the voices shown in Marinara Engine with the PocketTTS `<base url>/voices` or `HOST:PORT/v1/voices` API response. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video PocketTTS voices endpoint example: `{"data":[{"id":"alba","name":"Alba","object":"voice","type":"builtin"}, ... ,{"id":"ASEN","name":"Asen","object":"voice","type":"custom"},...]}`. The API exposes `type: custom` voices in addition to `type: builtin`. ## Additional context User asks whether custom PocketTTS voices are technically incompatible with the API or whether Marinara Engine only needs to update filtering/code to include `custom` voice types. PocketTTS custom voices include community voices from Hugging Face and voice clone features. Discord thread: [Feature Request] PocketTTS Custom Voices Discord thread link: https://discord.com/channels/1417099416812392641/1524893972101726472 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-09T21:44:14.109Z] AgentX: Currently, the "PocketTTS" source for Text to Speech connection works fine. However, it seems to only return the built-in voices and doesn't include custom voices. <base url>/voices (aka "HOST:PORT/v1/voices") API Endpoint returns ` ` ` {"data":[{"id":"alba","name":"Alba","object":"voice","type":"builtin"}, ... ,{"id":"ASEN","name":"Asen","object":"voice","type":"custom"},...}]} ` ` ` So I see the "custom" voice names are being exposed via the API, in addition to the "builtin" voices. I was wondering if there was a technical reason if these customs aren't compatible with the API or if it's just a matter of updating the code to also include 'custom' types. Thanks, I've been playing around with multiple localhost TTS solutions and this one looks really interesting and offers quite a few custom voices from their HG site from community members (and also the voice clone feature). [Discord message: https://discord.com/channels/1417099416812392641/1524893972101726472/1524893972101726472] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:43:13 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 9, 2026):

Resolved in #3412, merged to staging as c3fa793. PocketTTS voice refresh now reads provider voices from /v1/voices, including custom voices.

<!-- gh-comment-id:4930545416 --> @SpicyMarinara commented on GitHub (Jul 9, 2026): Resolved in #3412, merged to staging as c3fa793. PocketTTS voice refresh now reads provider voices from /v1/voices, including custom voices.
Author
Owner

@Gunterlie commented on GitHub (Jul 10, 2026):

@SpicyMarinara
Regression btw, we had this once, even configurable.

Issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1592

Fix: https://github.com/Pasta-Devs/Marinara-Engine/pull/1744

<!-- gh-comment-id:4935068275 --> @Gunterlie commented on GitHub (Jul 10, 2026): @SpicyMarinara Regression btw, we had this once, even configurable. Issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1592 Fix: https://github.com/Pasta-Devs/Marinara-Engine/pull/1744
Author
Owner

@SpicyMarinara commented on GitHub (Jul 10, 2026):

@Gunterlie you mean we are having a regression now or we accidentally had a regression and presently it's fixed?

<!-- gh-comment-id:4935740320 --> @SpicyMarinara commented on GitHub (Jul 10, 2026): @Gunterlie you mean we are having a regression now or we accidentally had a regression and presently it's fixed?
Author
Owner

@Gunterlie commented on GitHub (Jul 10, 2026):

@SpicyMarinara Sorry for not clarifying.
Both actually, but I just noticed the fix was in the refactor version so that explains why it was missing.

As there was (or is?) no standardized Endpoint for voices on the Internet, Fix: https://github.com/Pasta-Devs/Marinara-Engine/pull/1744 added a configurable endpoint url for voices lookup in refactor so its a bit more future-proof.

But your fix is elegant and working for this specific PocketTTS implementation. - Just a note.

<!-- gh-comment-id:4935895045 --> @Gunterlie commented on GitHub (Jul 10, 2026): @SpicyMarinara Sorry for not clarifying. Both actually, but I just noticed the fix was in the refactor version so that explains why it was missing. As there was (or is?) no standardized Endpoint for voices on the Internet, Fix: https://github.com/Pasta-Devs/Marinara-Engine/pull/1744 added a configurable endpoint url for voices lookup in refactor so its a bit more future-proof. But your fix is elegant and working for this specific PocketTTS implementation. - Just a note.
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#1846
No description provided.