mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1057] [Feature]: TTS format option #518
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#518
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BahamutRU on GitHub (May 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1057
What problem does this solve?
I use omnivoice.cpp it does not support mp3, and explicitly states this, and Marinara does not give a choice.
TTS provider returned 400: unsupported response_format 'mp3'; supported formats are 'wav' and 'pcm'With mp3, wav, pcm options it will be solved and worked.
Proposed solution
In Text to Speed, OpenAI-compatible add option Format: mp3, wav.
Additional context
https://github.com/bluryar/omnivoice.cpp
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@BahamutRU commented on GitHub (May 21, 2026):
I think it's very easy, when I get back from work, I'll do it and make PR if no one else does it before.
@BahamutRU commented on GitHub (May 21, 2026):
Awaiting merge to staging.
@cha1latte commented on GitHub (May 21, 2026):
Triage note: labeling this as
normal-scopebecause it is a focused compatibility option for the existing OpenAI-compatible TTS path, and PR #1061 already implements the mp3/wav format selection without creating a new provider workflow.The least risky next step is to keep it tied to PR #1061 and verify the format option against providers that reject mp3, such as omnivoice.cpp.
@bluryar commented on GitHub (May 27, 2026):
Cross-posting an update from
omnivoice.cppbecause the MP3 response-format issue has been addressed upstream.omnivoice.cppmain now includes MP3 output support:github.com/bluryar/omnivoice.cpp@fa784a0Summary of the implementation:
POST /v1/audio/speechendpoint now acceptsresponse_format: "mp3".Content-Type: audio/mpeg.--response-format mp3/--format mp3option as well.ffmpeg.Example request body:
Validation performed locally: rebuilt the CLI/server, generated MP3 from a GGUF model, and confirmed with
ffmpeg -ithat the output is detected as MP3 (Audio: mp3, 24000 Hz, mono, 64 kb/s).One caveat: Shine is licensed under GNU Library GPL v2 (LGPL-style). Source distribution is OK with the license/notice included, but binary distributors should preserve LGPL obligations, for example by keeping the MP3 backend replaceable/relinkable or making it optional/dynamically linked for release builds.