Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added Moonvalley pricing
  • Loading branch information
marawan206 committed Dec 4, 2025
commit 2f3fc5d1f623c93ea0f820a6e0c16bbf8eb00b30
24 changes: 12 additions & 12 deletions src/composables/node/useNodePricing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1209,16 +1209,16 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
) as IComboWidget

// If no length widget exists, default to 5s pricing
if (!lengthWidget) return '$1.50/Run'
if (!lengthWidget) return '$2.15/Run'

const length = String(lengthWidget.value)
if (length === '5s') {
return '$1.50/Run'
return '$2.15/Run'
} else if (length === '10s') {
return '$3.00/Run'
return '$4.29/Run'
}

return '$1.50/Run'
return '$2.15/Run'
}
},
MoonvalleyImg2VideoNode: {
Expand All @@ -1228,16 +1228,16 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
) as IComboWidget

// If no length widget exists, default to 5s pricing
if (!lengthWidget) return '$1.50/Run'
if (!lengthWidget) return '$2.15/Run'

const length = String(lengthWidget.value)
if (length === '5s') {
return '$1.50/Run'
return '$2.15/Run'
} else if (length === '10s') {
return '$3.00/Run'
return '$4.29/Run'
}

return '$1.50/Run'
return '$2.15/Run'
}
},
MoonvalleyVideo2VideoNode: {
Expand All @@ -1247,16 +1247,16 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
) as IComboWidget

// If no length widget exists, default to 5s pricing
if (!lengthWidget) return '$2.25/Run'
if (!lengthWidget) return '$3.22/Run'

const length = String(lengthWidget.value)
if (length === '5s') {
return '$2.25/Run'
return '$3.22/Run'
} else if (length === '10s') {
return '$4.00/Run'
return '$5.72/Run'
}

return '$2.25/Run'
return '$3.22/Run'
}
},
// Runway nodes - using actual node names from ComfyUI
Expand Down