[GH-ISSUE #4499] [Issue]: PocketTTS provider uses incompatible OpenAI-style endpoints #2446

Closed
opened 2026-10-21 05:48:17 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara 2.4.0 cannot use an official PocketTTS server because it requests OpenAI-compatible voice and speech endpoints that PocketTTS does not serve.

Expected behavior

When PocketTTS is selected, Marinara should use endpoints supported by the official PocketTTS server and successfully retrieve voices and generate speech.

Actual behavior

Marinara requests GET /v1/voices and POST /v1/audio/speech. The PocketTTS server returns 404 Not Found for both requests.

Steps to reproduce

  1. Run PocketTTS at http://localhost:8000.
  2. Select PocketTTS as the TTS provider in Marinara 2.4.0 and configure the server URL as http://localhost:8000.
  3. Trigger voice retrieval or speech generation.
  4. Observe repeated 404 responses for /v1/voices and /v1/audio/speech.

Environment

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

Logs, screenshots, or video

INFO: Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
INFO: ::1:52825 - "GET /v1/voices HTTP/1.1" 404 Not Found
INFO: ::1:52826 - "POST /v1/audio/speech HTTP/1.1" 404 Not Found
The 404 responses repeat.

Additional context

Marinara's default PocketTTS URL is http://localhost:49112; changing it to port 8000 produced the same result. Workaround: use a local TTS server with an OpenAI-compatible API, such as Kokoro-FastAPI or Piper with an OpenAI wrapper.

Discord thread: Engine cant connect to official pocket-tts server
Discord thread link: https://discord.com/channels/1417099416812392641/1533697440849330206
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-08-03T04:46:04.619Z] Katsuro: **Bug: PocketTTS server incompatible as Marinara's hitting OpenAI-style endpoints**

**Description:**
Running PocketTTS on `http://localhost:8000`. Marinara connects but gets 404 on all voice/speech requests.

**Logs:**

INFO: Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
INFO: ::1:52825 - "GET /v1/voices HTTP/1.1" 404 Not Found
INFO: ::1:52826 - "POST /v1/audio/speech HTTP/1.1" 404 Not Found
... (repeats)


**Cause:**
Marinara's PocketTTS provider uses OpenAI-compatible endpoints even when PocketTTS is selected as TTS provider:
- GET /v1/voices
- POST /v1/audio/speech

PocketTTS does not serve these paths.

**Workaround:**
Use a local TTS server with an OpenAI-compatible API (e.g. Kokoro-FastAPI, Piper with an OpenAI wrapper).

**Environment:**
- Marinara default PocketTTS URL: http://localhost:49112 (changed to 8000, same result)

Marinara version: 2.4.0
[Discord message: https://discord.com/channels/1417099416812392641/1533697440849330206/1533697440849330206]

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 (Aug 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4499 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Marinara 2.4.0 cannot use an official PocketTTS server because it requests OpenAI-compatible voice and speech endpoints that PocketTTS does not serve. ## Expected behavior When PocketTTS is selected, Marinara should use endpoints supported by the official PocketTTS server and successfully retrieve voices and generate speech. ## Actual behavior Marinara requests GET /v1/voices and POST /v1/audio/speech. The PocketTTS server returns 404 Not Found for both requests. ## Steps to reproduce 1. Run PocketTTS at http://localhost:8000. 2. Select PocketTTS as the TTS provider in Marinara 2.4.0 and configure the server URL as http://localhost:8000. 3. Trigger voice retrieval or speech generation. 4. Observe repeated 404 responses for /v1/voices and /v1/audio/speech. ## Environment - Marinara Engine version: 2.4.0 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video INFO: Uvicorn running on http://localhost:8000 (Press CTRL+C to quit) INFO: ::1:52825 - "GET /v1/voices HTTP/1.1" 404 Not Found INFO: ::1:52826 - "POST /v1/audio/speech HTTP/1.1" 404 Not Found The 404 responses repeat. ## Additional context Marinara's default PocketTTS URL is http://localhost:49112; changing it to port 8000 produced the same result. Workaround: use a local TTS server with an OpenAI-compatible API, such as Kokoro-FastAPI or Piper with an OpenAI wrapper. Discord thread: Engine cant connect to official pocket-tts server Discord thread link: https://discord.com/channels/1417099416812392641/1533697440849330206 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-08-03T04:46:04.619Z] Katsuro: **Bug: PocketTTS server incompatible as Marinara's hitting OpenAI-style endpoints** **Description:** Running PocketTTS on `http://localhost:8000`. Marinara connects but gets 404 on all voice/speech requests. **Logs:** INFO: Uvicorn running on http://localhost:8000 (Press CTRL+C to quit) INFO: ::1:52825 - "GET /v1/voices HTTP/1.1" 404 Not Found INFO: ::1:52826 - "POST /v1/audio/speech HTTP/1.1" 404 Not Found ... (repeats) **Cause:** Marinara's PocketTTS provider uses OpenAI-compatible endpoints even when PocketTTS is selected as TTS provider: - GET /v1/voices - POST /v1/audio/speech PocketTTS does not serve these paths. **Workaround:** Use a local TTS server with an OpenAI-compatible API (e.g. Kokoro-FastAPI, Piper with an OpenAI wrapper). **Environment:** - Marinara default PocketTTS URL: http://localhost:49112 (changed to 8000, same result) Marinara version: 2.4.0 [Discord message: https://discord.com/channels/1417099416812392641/1533697440849330206/1533697440849330206] ``` </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:48:17 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 3, 2026):

I’m taking ownership of this compatibility fix as SpicyMarinara. I’m working from agent/fix-open-issues-4497-4499, with a draft PR against staging opened before implementation.

<!-- gh-comment-id:5162980211 --> @SpicyMarinara commented on GitHub (Aug 3, 2026): I’m taking ownership of this compatibility fix as `SpicyMarinara`. I’m working from `agent/fix-open-issues-4497-4499`, with a draft PR against `staging` opened before implementation.
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#2446
No description provided.