Skip to content

Commit fe47a48

Browse files
authored
feat(api-nodes-pricing): add prices for ByteDance seedance-1-0-pro-fast model (#7026)
## Summary Price badges for this PR: comfyanonymous/ComfyUI#10947 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7026-feat-api-nodes-pricing-add-prices-for-ByteDance-seedance-1-0-pro-fast-model-2b96d73d365081eeb7f7de1dc892389b) by [Unito](https://www.unito.io)
1 parent 63f6854 commit fe47a48

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

src/composables/node/useNodePricing.ts

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,25 @@ const byteDanceVideoPricingCalculator = (node: LGraphNode): string => {
131131
'720p': [0.51, 0.56],
132132
'1080p': [1.18, 1.22]
133133
},
134+
'seedance-1-0-pro-fast': {
135+
'480p': [0.09, 0.1],
136+
'720p': [0.21, 0.23],
137+
'1080p': [0.47, 0.49]
138+
},
134139
'seedance-1-0-lite': {
135140
'480p': [0.17, 0.18],
136141
'720p': [0.37, 0.41],
137142
'1080p': [0.85, 0.88]
138143
}
139144
}
140145

141-
const modelKey = model.includes('seedance-1-0-pro')
142-
? 'seedance-1-0-pro'
143-
: model.includes('seedance-1-0-lite')
144-
? 'seedance-1-0-lite'
145-
: ''
146+
const modelKey = model.includes('seedance-1-0-pro-fast')
147+
? 'seedance-1-0-pro-fast'
148+
: model.includes('seedance-1-0-pro')
149+
? 'seedance-1-0-pro'
150+
: model.includes('seedance-1-0-lite')
151+
? 'seedance-1-0-lite'
152+
: ''
146153

147154
const resKey = resolution.includes('1080')
148155
? '1080p'

0 commit comments

Comments
 (0)