From d3b27d7f6831487d0e7914b2901c92804850e51c Mon Sep 17 00:00:00 2001 From: Qiaochu Hu <110hqc@gmail.com> Date: Wed, 6 May 2026 11:39:56 +0800 Subject: [PATCH] fix: correct TTS voice parameter name in asset_based pipeline asset_based.py was passing voice_id= to TTSService but the parameter is named voice=. The wrong kwarg was silently swallowed by **params, so user voice configuration was always ignored and the default voice was used instead. --- pixelle_video/pipelines/asset_based.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelle_video/pipelines/asset_based.py b/pixelle_video/pipelines/asset_based.py index 25957b0..5ffcc19 100644 --- a/pixelle_video/pipelines/asset_based.py +++ b/pixelle_video/pipelines/asset_based.py @@ -582,7 +582,7 @@ class AssetBasedPipeline(LinearVideoPipeline): await self.core.tts( text=narration_text, output_path=str(audio_path), - voice_id=config.voice_id, + voice=config.voice_id, speed=config.tts_speed )