Skip to content

Commit f0afc26

Browse files
authored
add prices for Kling 2.1 model for KlingStartEndFrame node (#5264)
1 parent 1e6ba5c commit f0afc26

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/composables/node/useNodePricing.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,12 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
413413
const modeValue = String(modeWidget.value)
414414

415415
// Same pricing matrix as KlingTextToVideoNode
416-
if (modeValue.includes('v2-master')) {
416+
if (modeValue.includes('v2-1')) {
417+
if (modeValue.includes('10s')) {
418+
return '$0.98/Run' // pro, 10s
419+
}
420+
return '$0.49/Run' // pro, 5s default
421+
} else if (modeValue.includes('v2-master')) {
417422
if (modeValue.includes('10s')) {
418423
return '$2.80/Run'
419424
}

0 commit comments

Comments
 (0)