Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
3dd3e26
[backport cloud/1.33] feat: open template via URL in linear mode (#6968)
comfy-pr-bot Nov 27, 2025
31d8422
[backport cloud/1.33] fix: don't use registry when only checking for …
christian-byrne Nov 27, 2025
334404a
[backport cloud/1.33] fix: remove LOD from vue nodes (#6983)
christian-byrne Nov 27, 2025
0cd0218
[backport cloud/1.33] fix: Vue Node <-> Litegraph node height offset …
christian-byrne Nov 27, 2025
896867b
[backport cloud/1.33] fix: add filter for combo widgets (#7003)
comfy-pr-bot Nov 27, 2025
550ca0c
[backport cloud/1.33] Remove app.graph usage from widgetInput code (#…
comfy-pr-bot Nov 28, 2025
637c199
[backport cloud/1.33] [fix] Re-encode cloud-subscription video to VP9…
comfy-pr-bot Nov 28, 2025
22aea29
[backport cloud/1.33] [feat] Show "Finished in" duration for complete…
comfy-pr-bot Nov 28, 2025
72a2581
[backport cloud/1.33] feat(api-nodes-pricing): add prices for ByteDan…
comfy-pr-bot Nov 29, 2025
7b589b5
[backport cloud/1.33] mark vue nodes menu toggle with beta tag (#7052)
comfy-pr-bot Nov 30, 2025
3856e0d
[backport cloud/1.33] fix: loader node widget value shows placeholder…
comfy-pr-bot Nov 30, 2025
ffa55cb
[backport cloud/1.33] Simplify Vue node resize to bottom-right corner…
christian-byrne Dec 1, 2025
3920413
[backport cloud/1.33] [fix] Prevent drag activation during Vue node r…
comfy-pr-bot Dec 1, 2025
c8a1df3
[backport cloud/1.33] feat(api-nodes-pricing): add prices for Kling O…
comfy-pr-bot Dec 1, 2025
b663244
[backport cloud/1.33] fix: normalize path separators in comfyAPIPlugi…
comfy-pr-bot Dec 3, 2025
6c34085
[backport cloud/1.33] cloud: increase feature flag polling interval t…
comfy-pr-bot Dec 3, 2025
d314172
[feat] Add remote config support for model upload and asset update fe…
luke-mino-altherr Dec 4, 2025
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
Next Next commit
[backport cloud/1.33] feat(api-nodes-pricing): add prices for Kling O…
…1 video model (#7079)

Backport of #7077 to `cloud/1.33`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7079-backport-cloud-1-33-feat-api-nodes-pricing-add-prices-for-Kling-O1-video-model-2bc6d73d365081c4ad83d1c5317a9135)
by [Unito](https://www.unito.io)

Co-authored-by: Alexander Piskun <[email protected]>
  • Loading branch information
comfy-pr-bot and bigcat88 authored Dec 1, 2025
commit c8a1df3a0549aeaa2533ab647c52c06d0c8dc002
34 changes: 34 additions & 0 deletions src/composables/node/useNodePricing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ const calculateRunwayDurationPrice = (node: LGraphNode): string => {
return `$${cost}/Run`
}

const makeOmniProDurationCalculator =
(pricePerSecond: number): PricingFunction =>
(node: LGraphNode): string => {
const durationWidget = node.widgets?.find(
(w) => w.name === 'duration'
) as IComboWidget
if (!durationWidget) return `$${pricePerSecond.toFixed(3)}/second`

const seconds = parseFloat(String(durationWidget.value))
if (!Number.isFinite(seconds)) return `$${pricePerSecond.toFixed(3)}/second`

const cost = pricePerSecond * seconds
return `$${cost.toFixed(2)}/Run`
}

const pixversePricingCalculator = (node: LGraphNode): string => {
const durationWidget = node.widgets?.find(
(w) => w.name === 'duration_seconds'
Expand Down Expand Up @@ -706,6 +721,21 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
KlingVirtualTryOnNode: {
displayPrice: '$0.07/Run'
},
KlingOmniProTextToVideoNode: {
displayPrice: makeOmniProDurationCalculator(0.112)
},
KlingOmniProFirstLastFrameNode: {
displayPrice: makeOmniProDurationCalculator(0.112)
},
KlingOmniProImageToVideoNode: {
displayPrice: makeOmniProDurationCalculator(0.112)
},
KlingOmniProVideoToVideoNode: {
displayPrice: makeOmniProDurationCalculator(0.168)
},
KlingOmniProEditVideoNode: {
displayPrice: '$0.168/second'
},
LumaImageToVideoNode: {
displayPrice: (node: LGraphNode): string => {
// Same pricing as LumaVideoNode per CSV
Expand Down Expand Up @@ -1880,6 +1910,10 @@ export const useNodePricing = () => {
KlingDualCharacterVideoEffectNode: ['mode', 'model_name', 'duration'],
KlingSingleImageVideoEffectNode: ['effect_scene'],
KlingStartEndFrameNode: ['mode', 'model_name', 'duration'],
KlingOmniProTextToVideoNode: ['duration'],
KlingOmniProFirstLastFrameNode: ['duration'],
KlingOmniProImageToVideoNode: ['duration'],
KlingOmniProVideoToVideoNode: ['duration'],
MinimaxHailuoVideoNode: ['resolution', 'duration'],
OpenAIDalle3: ['size', 'quality'],
OpenAIDalle2: ['size', 'n'],
Expand Down