Skip to content

feat: Add "wan2.6-i2v" video ratio configuration to Ali adaptor. - #2544

Merged
seefs001 merged 1 commit into
QuantumNous:mainfrom
seefs001:feature/wan-2.6
Dec 29, 2025
Merged

seefs001 merged 1 commit into
QuantumNous:mainfrom
seefs001:feature/wan-2.6

Conversation

@seefs001

@seefs001 seefs001 commented Dec 29, 2025 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Enhanced video model optimization with resolution-specific rate adjustments for improved processing efficiency.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Dec 29, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

A new ratio mapping for the wan2.6-i2v model is added to the ProcessAliOtherRatios function in the Ali adaptor. The mapping defines resolution-specific multipliers: 720P with a factor of 1 and 1080P with a factor of 1/0.6, extending the existing rate adjustment configuration table.

Changes

Cohort / File(s) Summary
Ali Model Ratio Configuration
relay/channel/task/ali/adaptor.go
Added resolution-specific rate multipliers for wan2.6-i2v model: 720P → 1, 1080P → 1/0.6

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Poem

🐰 A hop and a skip through ratios grand,
We've added new values so perfectly planned!
wan2.6-i2v now finds its place,
With 720P and 1080P grace! ✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and specifically describes the main change: adding a new video ratio configuration for the 'wan2.6-i2v' model to the Ali adaptor.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 725d61c and 24d359c.

📒 Files selected for processing (1)
  • relay/channel/task/ali/adaptor.go
🔇 Additional comments (1)
relay/channel/task/ali/adaptor.go (1)

195-198: The code is correct and requires no changes. According to official Alibaba Cloud documentation, the wan2.6-i2v model supports only 720P and 1080P resolutions—480P is not supported for this model. The implementation properly reflects the model's actual capabilities, and the absence of a 480P entry is intentional, not an oversight.

Likely an incorrect or invalid review comment.


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.

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