mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-03 04:00:31 +00:00
[backport 1.28] add pricing for new Veo3.1 model (#6075)
Backport of #6074 to `core/1.28` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6075-backport-1-28-add-pricing-for-new-Veo3-1-model-28d6d73d365081c0b647f8a472d4fca9) by [Unito](https://www.unito.io) Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
This commit is contained in:
@@ -1141,9 +1141,15 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
|
||||
const generateAudio =
|
||||
String(generateAudioWidget.value).toLowerCase() === 'true'
|
||||
|
||||
if (model.includes('veo-3.0-fast-generate-001')) {
|
||||
if (
|
||||
model.includes('veo-3.0-fast-generate-001') ||
|
||||
model.includes('veo-3.1-fast-generate')
|
||||
) {
|
||||
return generateAudio ? '$1.20/Run' : '$0.80/Run'
|
||||
} else if (model.includes('veo-3.0-generate-001')) {
|
||||
} else if (
|
||||
model.includes('veo-3.0-generate-001') ||
|
||||
model.includes('veo-3.1-generate')
|
||||
) {
|
||||
return generateAudio ? '$3.20/Run' : '$1.60/Run'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user