[feat] Add dynamic pricing for API nodes with real-time updates#3963
Merged
christian-byrne merged 5 commits intomainfrom Jun 4, 2025
Merged
[feat] Add dynamic pricing for API nodes with real-time updates#3963christian-byrne merged 5 commits intomainfrom
christian-byrne merged 5 commits intomainfrom
Conversation
Enhanced API node pricing to dynamically calculate costs based on widget values and update in real-time when users change parameters like model, duration, resolution, etc.
f77703a to
0b2fb0d
Compare
christian-byrne
commented
May 30, 2025
…namic pricing - Create useComputedWithWidgetWatch composable for reactive widget-based computeds - Refactor useNodeBadge to use new composable for dynamic pricing nodes - Convert 4 Recraft nodes to dynamic pricing based on 'n' parameter - Add comprehensive tests for widget observation and Recraft pricing
webfiltered
suggested changes
May 30, 2025
@webfiltered's IIFE concern 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…resses @webfiltered's nit Replace 'as string' with String() for safer type conversion. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
webfiltered
approved these changes
Jun 4, 2025
lordTyrion
pushed a commit
to playbook3d/ComfyUI_frontend
that referenced
this pull request
Jul 2, 2025
…y-Org#3963) Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhanced API node pricing to dynamically calculate costs based on widget values and update in real-time when users change parameters like model, duration, resolution, etc.
Test plan
┆Issue is synchronized with this Notion page by Unito