From 05f171cc8c0112dfdb7530a07a35fb36f2e7864d Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Mon, 7 Jul 2025 20:24:33 -0700 Subject: [PATCH] [update] Video to Video API node pricing (#4378) --- src/composables/node/useNodePricing.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/composables/node/useNodePricing.ts b/src/composables/node/useNodePricing.ts index 4b76d65e9..5e1d5f070 100644 --- a/src/composables/node/useNodePricing.ts +++ b/src/composables/node/useNodePricing.ts @@ -954,7 +954,8 @@ const apiNodeCosts: Record = (w) => w.name === 'length' ) as IComboWidget - if (!lengthWidget) return '$1.50-3.00/Run (varies with length)' + // If no length widget exists, default to 5s pricing + if (!lengthWidget) return '$1.50/Run' const length = String(lengthWidget.value) if (length === '5s') { @@ -972,7 +973,8 @@ const apiNodeCosts: Record = (w) => w.name === 'length' ) as IComboWidget - if (!lengthWidget) return '$1.50-3.00/Run (varies with length)' + // If no length widget exists, default to 5s pricing + if (!lengthWidget) return '$1.50/Run' const length = String(lengthWidget.value) if (length === '5s') { @@ -990,16 +992,17 @@ const apiNodeCosts: Record = (w) => w.name === 'length' ) as IComboWidget - if (!lengthWidget) return '$2.00-4.00/Run (varies with length)' + // If no length widget exists, default to 5s pricing + if (!lengthWidget) return '$2.25/Run' const length = String(lengthWidget.value) if (length === '5s') { - return '$2.00/Run' + return '$2.25/Run' } else if (length === '10s') { return '$4.00/Run' } - return '$2.00/Run' + return '$2.25/Run' } } }