Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

[Partner Nodes] fix(HeyGen): update HeyGen Voice price badge (#17257)

Alexander Piskund80736d2aa63
diff --git a/comfy_api_nodes/nodes_heygen.py b/comfy_api_nodes/nodes_heygen.py
index 47086c990..ef0817b1d 100644
--- a/comfy_api_nodes/nodes_heygen.py
+++ b/comfy_api_nodes/nodes_heygen.py
@@ -1239,7 +1239,6 @@ class HeyGenVoiceTextToSpeechNode(IO.ComfyNode):
IO.DynamicCombo.Option("heygen-voice-1", _voice_tts_inputs()),
IO.DynamicCombo.Option("heygen-voice-1-turbo", _voice_tts_inputs()),
],
- tooltip="heygen-voice-1-turbo is faster and costs half as much.",
),
],
outputs=[IO.Audio.Output()],
@@ -1254,7 +1253,9 @@ class HeyGenVoiceTextToSpeechNode(IO.ComfyNode):
expr="""
(
$t := $lookup(widgets, "model.text");
- $rate := widgets.model = "heygen-voice-1-turbo" ? 0.010725 : 0.02145;
+ $rate := widgets.model = "heygen-voice-1-turbo"
+ ? 0.00572
+ : ($now() < "2026-11-01T00:00:00.000Z" ? 0.02145 : 0.0429);
$type($t) = "string" and $length($t) > 0
? {"type":"usd","usd": $length($t) * $rate / 1000}
: {"type":"usd","usd": $rate, "format":{"approximate":true,"suffix":"/1K chars"}}