Compare commits

..

No commits in common. "e5057dde6bf18c5af4051f2e7a89cb8ddeeaad97" and "b6fd9ceffc7d557cc32c987bff42cef2e6a253b5" have entirely different histories.

View File

@ -2787,15 +2787,11 @@ class MotionControl(IO.ComfyNode):
],
is_api_node=True,
price_badge=IO.PriceBadge(
depends_on=IO.PriceBadgeDepends(widgets=["mode", "model"]),
depends_on=IO.PriceBadgeDepends(widgets=["mode"]),
expr="""
(
$prices := {
"kling-v3": {"std": 0.126, "pro": 0.168},
"kling-v2-6": {"std": 0.07, "pro": 0.112}
};
$modelPrices := $lookup($prices, widgets.model);
{"type":"usd","usd": $lookup($modelPrices, widgets.mode), "format":{"suffix":"/second"}}
$prices := {"std": 0.07, "pro": 0.112};
{"type":"usd","usd": $lookup($prices, widgets.mode), "format":{"suffix":"/second"}}
)
""",
),