[backport core/1.33] feat(api-nodes-pricing): add prices for Kling-v2-5-turbo for node KlingStartEndFrame (#7237)

Backport of #6996 to `core/1.33`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7237-backport-core-1-33-feat-api-nodes-pricing-add-prices-for-Kling-v2-5-turbo-for-node-Kl-2c36d73d365081f09245e6bac055dc2b)
by [Unito](https://www.unito.io)

Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
This commit is contained in:
Comfy Org PR Bot
2025-12-09 08:26:25 +09:00
committed by GitHub
parent 1df90b0b5f
commit 7fb3d2b122

View File

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