add prices for Kling 2.1 model for KlingStartEndFrame node (#5264)

This commit is contained in:
Alexander Piskun
2025-09-01 20:54:55 +03:00
committed by GitHub
parent 1e6ba5c689
commit f0afc261a4

View File

@@ -413,7 +413,12 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
const modeValue = String(modeWidget.value)
// Same pricing matrix as KlingTextToVideoNode
if (modeValue.includes('v2-master')) {
if (modeValue.includes('v2-1')) {
if (modeValue.includes('10s')) {
return '$0.98/Run' // pro, 10s
}
return '$0.49/Run' // pro, 5s default
} else if (modeValue.includes('v2-master')) {
if (modeValue.includes('10s')) {
return '$2.80/Run'
}