Skip to content

Support speech speed in server and TTS model interfaces - #616

Merged
0xShug0 merged 1 commit into
mainfrom
fix/611-kokoro-supertonic-speed
Sep 20, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
fix/611-kokoro-supertonic-speed

Conversation

@0xShug0

@0xShug0 0xShug0 commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Fixes #611

Summary

  • Route top-level speed and speaking_rate in /v1/audio/speech to models that support speed control.
  • Expose speed as Kokoro's canonical request option while retaining the existing voice-style and legacy alias paths.
  • Make Supertonic accept both option names, with speed listed as the primary public option.
  • Keep published Kokoro GGUFs usable when their embedded spec predates speed. No UI changes.

Validation

  • Debug CLI and server builds passed.
  • In server mode, speed 2 produced roughly half the duration of speed 1 for Kokoro and Supertonic.
  • For each model, speed=2 and speaking_rate=2 produced byte-identical WAVs.
  • A Supertonic request shaped like the current UI payload matched the top-level speed result.

@0xShug0
0xShug0 merged commit 9ba8841 into main Sep 20, 2026
9 checks passed
@0xShug0
0xShug0 deleted the fix/611-kokoro-supertonic-speed branch September 20, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "speed" parameter support to server

1 participant