Skip to content

[Partner Nodes] feat: Beeble SwitchX nodes#14137

Merged
Kosinkadink merged 2 commits into
masterfrom
feat/api-nodes/beeble-switchx
May 27, 2026
Merged

[Partner Nodes] feat: Beeble SwitchX nodes#14137
Kosinkadink merged 2 commits into
masterfrom
feat/api-nodes/beeble-switchx

Conversation

@bigcat88
Copy link
Copy Markdown
Contributor

@bigcat88 bigcat88 commented May 27, 2026

This PR adds two nodes, one for Image processing and one for Video.
Official documentation: https://docs.beeble.ai/beeble/switchx

API Node PR Checklist

Scope

  • Is API Node Change

Pricing & Billing

  • Need pricing update
  • No pricing update

If Need pricing update:

  • Metronome rate cards updated
  • Auto‑billing tests updated and passing

QA

  • QA done
  • QA not required

Comms

  • Informed Kosinkadink

Signed-off-by: bigcat88 <bigcat88@icloud.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 27, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds a new Beeble SwitchX API integration module with two ComfyUI nodes for media editing. The video node accepts video frames and processes them through the Beeble API; the image node handles single images. Both nodes support optional alpha masking (select, custom, fill modes), automatic resolution downsampling to enforce Beeble's 2.77MP pixel budget, optional reference image input, and prompt-based edits. The implementation submits requests to the API, polls for completion status (now classifying "in_queue" as a queued state), downloads the rendered output, and optionally retrieves alpha matte results. A BeebleExtension class registers both nodes for ComfyUI.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adding two new Beeble SwitchX nodes (image and video) as partner nodes, directly matching the changeset.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The PR description clearly relates to the changeset, documenting the addition of two Beeble SwitchX nodes (Image and Video) with proper checklist completion.

✏️ 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/util/client.py`:
- Line 89: The shared default QUEUED_STATUSES in comfy_api_nodes/util/client.py
now includes "in_queue", causing poll_op_raw to treat that as a non-consuming
queued state and effectively bypass max_poll_attempts for any node that uses the
default; update comfy_api_nodes/nodes_beeble.py to call poll_op (the wrapper
that ultimately uses poll_op_raw) with an explicit queued_statuses list that
excludes "in_queue" (e.g., copy the original queued list without "in_queue") so
Beeble polling behavior is unchanged, or alternatively pass a queued_statuses
that enforces consumption/timeouts; reference poll_op, poll_op_raw, and
QUEUED_STATUSES when making the change.
🪄 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

Run ID: 9e7e7415-7af8-4fec-9172-cbd7bb3d31cd

📥 Commits

Reviewing files that changed from the base of the PR and between 0cce76d and 060f747.

⛔ Files ignored due to path filters (1)
  • comfy_api_nodes/apis/beeble.py is excluded by !comfy_api_nodes/apis/**
📒 Files selected for processing (2)
  • comfy_api_nodes/nodes_beeble.py
  • comfy_api_nodes/util/client.py

Comment thread comfy_api_nodes/util/client.py
@Kosinkadink Kosinkadink merged commit 51ef17e into master May 27, 2026
22 checks passed
@bigcat88 bigcat88 deleted the feat/api-nodes/beeble-switchx branch May 28, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants