mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1177] [Feature]: Game Mode: generate stable NPC voices with a Voice Design → Clone pipeline #599
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#599
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 @palinalif on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1177
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Game Mode can generate a large number of NPCs, but giving those NPCs distinct voices currently requires either choosing from a fixed pool of existing voices or manually creating/uploading a voice for them.
That works for important hand-authored characters, but not for NPC #13443 who randomly shouted at my player character and will never appear again (good riddance tbh).
Voice-design models solve half of this problem: given a description, they can create an appropriate synthetic voice. Voice-cloning models solve the other half: given reference audio, they can reproduce that voice consistently, making the result feel more real. This is in fact a recommended approach by Qwen3TTS!
Connecting those two steps would let Marinara create a stable voice for generated NPCs automatically:
Proposed package or change
Add an optional Voice Design → Clone pipeline for generated Game Mode NPCs.
When an NPC needs a voice and does not already have one:
The generated voice should be stable and cached. Revisiting the same NPC should never redesign their voice on every line or every session.
Ideally the system should be capability-based rather than tied to one provider:
The Voice Design stage should be lazy/on-demand so a generated world does not create hundreds of voices for NPCs the player never meets.
If characters gain first-class Voice metadata in a separate character-card feature, promoted or persistent NPCs should use the same underlying voice representation where practical.
Why should this be optional?
Voice generation can consume additional provider requests, storage, and potentially paid API usage.
Players who prefer the current random voice pools, use a simple fixed TTS voice, or do not use TTS at all should see no behavioral change.
The pipeline should only run when explicitly enabled and when compatible Voice Design and TTS capabilities are configured.
Alternatives considered
A lazy, cached Voice Design → Clone pipeline gives generated NPCs persistent voice identity without turning world generation into a voice-generation batch job.
Additional context
Game Mode already has stable random NPC voice assignment from configured male/female voice pools. This request would build on that idea rather than replace it.
Marinara also already distinguishes voice-design models from speech-capable TTS models in its TTS integration. The missing piece is using a voice-design model as an upstream voice-creation step instead of attempting to use it directly for speech.
This would pair naturally with a separate proposal for a Voice tab on character cards, where named characters can store reference audio and/or a textual voice description.
Template check
@SpicyMarinara commented on GitHub (Oct 2, 2026):
Thanks for this one too! It's really well thought out, and voices for made-up NPCs don't raise the worries that clips on shared cards did. We're still going to pass on it for now, for practical reasons:
Random NPC Voices already gives every NPC a stable pick from the male and female pools, so if you want more variety today, add more voices to those pools. Each NPC keeps the same pick.
What would change our minds is support for a service that can both design and clone voices by itself, like Qwen3-TTS. That would make a lazy, cached voice per NPC much cheaper, and we'd be happy to look at this again then. Closing as not planned for now.