Skip to content

ComfyUI backport release v0.26.2#14634

Closed
alexisrolland wants to merge 7 commits into
masterfrom
0.26.2
Closed

ComfyUI backport release v0.26.2#14634
alexisrolland wants to merge 7 commits into
masterfrom
0.26.2

Conversation

@alexisrolland

@alexisrolland alexisrolland commented Jun 25, 2026

Copy link
Copy Markdown
Member

Backport of commits:

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

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Seedance 2.0 nodes add a Mini model option, 4k resolution choices, resolution-aware pricing, and updated polling cost extraction. Grok video now exposes 1080p for grok-imagine-video-1.5 with matching pricing and validation. HappyHorse nodes move to 1.1 variants, expand ratios and reference-image inputs, update pricing, and add image dimension and aspect-ratio checks. Package version files and a dependency pin were bumped.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 12.50% 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 is concise and correctly identifies this PR as a ComfyUI backport release.
Description check ✅ Passed The description is directly related, listing the backported commits that match 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.

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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/nodes_bytedance.py`:
- Around line 2031-2040: The Seedance 2.0 reference inputs now allow a 4k
resolution, but the validation map for dreamina-seedance-2-0-260128 does not
enforce any pixel limits for that option. Update
SEEDANCE2_REF_VIDEO_PIXEL_LIMITS in comfy_api_nodes/apis/bytedance.py to add a
4k entry for that model, matching the intended 4K pixel range used by the node’s
reference input options. Make sure the model["resolution"] path in the Seedance
validation flow uses this new 4k limit so the pixel range check is applied
consistently.
🪄 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: d0db33b4-f438-4de1-a400-ca17606ccba0

📥 Commits

Reviewing files that changed from the base of the PR and between 639c8fa and c39ba98.

⛔ Files ignored due to path filters (1)
  • comfy_api_nodes/apis/bytedance.py is excluded by !comfy_api_nodes/apis/**
📒 Files selected for processing (6)
  • comfy_api_nodes/nodes_bytedance.py
  • comfy_api_nodes/nodes_grok.py
  • comfy_api_nodes/nodes_wan.py
  • comfyui_version.py
  • pyproject.toml
  • requirements.txt

Comment on lines +2031 to +2040
_seedance2_reference_inputs(["480p", "720p", "1080p", "4k"], default_ratio="adaptive"),
),
IO.DynamicCombo.Option(
"Seedance 2.0 Fast",
_seedance2_reference_inputs(["480p", "720p"], default_ratio="adaptive"),
),
IO.DynamicCombo.Option(
"Seedance 2.0 Mini",
_seedance2_reference_inputs(["480p", "720p"], default_ratio="adaptive"),
),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Inspect Seedance 2.0 reference-video pixel-limit coverage for newly exposed schema options.
# Expect: SEEDANCE2_REF_VIDEO_PIXEL_LIMITS contains coverage for the Mini model id and for base 4k reference-video resolution.

rg -n -C 6 'SEEDANCE2_REF_VIDEO_PIXEL_LIMITS|dreamina-seedance-2-0-mini|["'\'']4k["'\'']' comfy_api_nodes/nodes_bytedance.py

Repository: Comfy-Org/ComfyUI

Length of output: 8956


🏁 Script executed:

grep -n -A 50 "SEEDANCE2_REF_VIDEO_PIXEL_LIMITS" comfy_api_nodes/apis/bytedance.py

Repository: Comfy-Org/ComfyUI

Length of output: 1484


Add 4k limits to SEEDANCE2_REF_VIDEO_PIXEL_LIMITS.

The Seedance 2.0 node now exposes 4k resolution in reference video inputs (lines 2030-2031), but the validation map SEEDANCE2_REF_VIDEO_PIXEL_LIMITS (in comfy_api_nodes/apis/bytedance.py) lacks a 4k entry for the dreamina-seedance-2-0-260128 model. Currently, selecting 4k will result in a missing limit check, bypassing the intended pixel range validation.

Inspection details

Current map definition in comfy_api_nodes/apis/bytedance.py:

"dreamina-seedance-2-0-260128": {
    "480p": {"min": 409_600, "max": 927_408},
    "720p": {"min": 409_600, "max": 927_408},
    "1080p": {"min": 409_600, "max": 2_073_600},
},

Missing 4k key. Please add the expected pixel range limits (likely ~4K resolution pixels) to ensure model["resolution"] "4k" is properly validated during execution.

🤖 Prompt for 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.

In `@comfy_api_nodes/nodes_bytedance.py` around lines 2031 - 2040, The Seedance
2.0 reference inputs now allow a 4k resolution, but the validation map for
dreamina-seedance-2-0-260128 does not enforce any pixel limits for that option.
Update SEEDANCE2_REF_VIDEO_PIXEL_LIMITS in comfy_api_nodes/apis/bytedance.py to
add a 4k entry for that model, matching the intended 4K pixel range used by the
node’s reference input options. Make sure the model["resolution"] path in the
Seedance validation flow uses this new 4k limit so the pixel range check is
applied consistently.

@comfy-fennec-girl comfy-fennec-girl Bot deleted the 0.26.2 branch June 25, 2026 15:26
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.

3 participants