[Model] Add YuE2-3B text-to-music (model + /v1/audio/speech adapter) (#7886)

Signed-off-by: Youyuan Li <105433145+Darcy-Lee@users.noreply.github.com>
Signed-off-by: princepride <wangzhipeng628@gmail.com>
Co-authored-by: princepride <wangzhipeng628@gmail.com>
This commit is contained in:
Youyuan Liandprincepride authored and GitHub committed 2026-10-01 18:04:31 +08:00
1 parent a038b38179
commit 423f34326e
27 files changed
+3294 -6

No files matched your search

@@ -320,6 +320,15 @@ class TTSModelAdapter(ABC):
to unrelated TTS models.
"""
def collect_response_metadata(self, audio_output: Mapping[str, Any], collect: dict) -> None:
"""Fold engine-side metadata from the mm payload into ``collect``.
Non-streaming only. The orchestrator surfaces select ``collect``
entries as response headers (precedent: ``word_timestamps`` ->
``X-Word-Timestamps``, ``audio_truncated`` -> ``X-Audio-Truncated``);
adapters opt in by setting the keys it knows. Default: no-op.
"""
async def warmup(self) -> None:
return