Add speaker_embedding examples and sync with upstream PR#11
Merged
marksverdhei merged 1 commit intoq3tts-x-embeddingfrom Feb 5, 2026
Merged
Add speaker_embedding examples and sync with upstream PR#11marksverdhei merged 1 commit intoq3tts-x-embeddingfrom
marksverdhei merged 1 commit intoq3tts-x-embeddingfrom
Conversation
- Add speaker_embedding_interpolation.py example (SLERP between embeddings) - Add --speaker-embedding flag to openai_speech_client.py - Align protocol field description with upstream PR (1024-dim) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
speaker_embedding_interpolation.pyexample script demonstrating ECAPA-TDNN embedding extraction and SLERP interpolation between speaker embeddings--speaker-embeddingflag toopenai_speech_client.pyfor loading pre-computed embeddings from JSONspeaker_embeddingprotocol field description with upstream PR [Frontend] Add speaker_embedding passthrough to /v1/audio/speech API vllm-project/vllm-omni#1227 (specifies 1024-dim)Context
Syncs the example scripts and minor description alignment from the upstream PR (vllm-project/vllm-omni#1227). The core speaker_embedding passthrough logic (validation, parameter building, model handling) is already present on
q3tts-x-embedding.Test plan
openai_speech_client.py --speaker-embedding embedding.jsonloads and sends embedding correctlyspeaker_embedding_interpolation.py extractproduces valid 1024-dim embeddingsspeaker_embedding_interpolation.py interpolategenerates audio via API🤖 Generated with Claude Code