[Partner Nodes] feat(Grok): add 1080p resolution to Grok Image node#14612
Conversation
Signed-off-by: bigcat88 <bigcat88@icloud.com>
📝 WalkthroughWalkthroughThe changes update 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@comfy_api_nodes/nodes_grok.py`:
- Around line 573-578: The price badge logic in the Grok image/video pricing
expression is undercounting the mandatory 1.5 image input because it only adds
$imgCost when inputs.image is connected. Update the pricing calculation near the
widgets.resolution and $imgCost logic so grok-imagine-video-1.5 always includes
the image input cost in the displayed USD total, regardless of connection state,
while preserving the existing resolution/duration rate handling.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 2d547ca4-b284-4bb9-b5fd-2ad123c8cd95
📒 Files selected for processing (1)
comfy_api_nodes/nodes_grok.py
Also we will switch from
grok-imagine-video-1.5-previewto thegrok-imagine-video-1.5model ID. Second try.API Node PR Checklist
Scope
Pricing & Billing
If Need pricing update:
QA
Comms