From b0cd6c4ee84d919e2285b79e7a022bfe5ffe88a6 Mon Sep 17 00:00:00 2001 From: jueming Date: Thu, 24 Apr 2025 09:14:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20voice=5Fid=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=E4=B8=BA=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodes/text_to_speech.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nodes/text_to_speech.py b/nodes/text_to_speech.py index bf22e4d..ef105e3 100644 --- a/nodes/text_to_speech.py +++ b/nodes/text_to_speech.py @@ -20,10 +20,11 @@ class TextToSpeech: "group_id": ("STRING", {"multiline": False}), "text": ("STRING", {"multiline": True}), "model": (["speech-02-hd", "speech-02-turbo", "speech-01-hd", "speech-01-turbo"], {"default": "speech-02-hd"}), - "voice_id": (["Wise_Woman", "Friendly_Person", "Inspirational_girl", "Deep_Voice_Man", - "Calm_Woman", "Casual_Guy", "Lively_Girl", "Patient_Man", "Young_Knight", - "Determined_Man", "Lovely_Girl", "Decent_Boy", "Imposing_Manner", - "Elegant_Man", "Abbess", "Sweet_Girl_2", "Exuberant_Girl"], {"default": "Wise_Woman"}), + "voice_id": ("STRING", { + "multiline": False, + "default": "", + "placeholder": "Voice ID for text-to-speech" + }), "speed": ("FLOAT", {"default": 1.0, "min": 0.5, "max": 2.0, "step": 0.1}), "volume": ("FLOAT", {"default": 1.0, "min": 0.1, "max": 10.0, "step": 0.1}), "pitch": ("INT", {"default": 0, "min": -12, "max": 12, "step": 1}),