Add latest model constants (#229)#234
Conversation
The workflow streaming API now returns parent_node_id to indicate parent-child relationships between workflow nodes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Generation: add qwen3.x (3.7-max/plus, 3.6-plus/flash, 3.5-plus/flash), qwen3-coder (plus/flash/next), qwq-plus, qvq-max/plus, qwen-flash, qwen-long. MultiModalConversation: add qwen-vl-max/ocr, qwen3-vl-plus/flash, qwen-omni-turbo, qwen3/qwen3.5-omni-flash/plus. VideoSynthesis: add wan2.6 (t2v/i2v/r2v), wan2.7 (t2v/i2v/r2v/videoedit), happyhorse i2v/r2v/video-edit. ImageGeneration: add wan2.7 (t2v/i2v/image/image-pro/videoedit/r2v), qwen-image/edit/2.0/2.0-pro/plus/max/edit-plus. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
Code Review
This pull request bumps the SDK version to 2.22.23 and adds several new model constants across different generation tasks, including text generation (Qwen, Qwen3, QWQ, QVQ), image generation (WanX2.7, Qwen Image), multimodal conversation (Qwen VL, Omni), and video synthesis (Wan2.6, Wan2.7, HappyHorse). It also adds a parentNodeId field to WorkflowMessage. The review feedback highlights two main issues: first, video synthesis models were incorrectly added to the ImageGeneration class and should be removed; second, the newly added Wan models in VideoSynthesis should be renamed to use the WANX_ prefix instead of WAN to maintain naming consistency with existing constants.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
- Remove video models (t2v/i2v/videoedit/r2v) from ImageGeneration - Remove WAN2_6_* from VideoSynthesis (WAN_2_7_* supersedes) - Remove WanX2_6_IMAGE from ImageGeneration (WanX2_7_IMAGE supersedes) - Use WAN_ prefix for new video synthesis constants instead of WAN2_ Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Generation: remove qwen3.5, qwen3.6, qwq, qvq (qwen3.7 covers these). VideoSynthesis: remove wanx2.1 t2v/i2v (wan2.7 supersedes), keep kf2v. ImageGeneration: rename WanX2_7 to WAN_2_7 for naming consistency. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds WANX_2_1_T2V_PLUS, WANX_2_1_T2V_TURBO, WANX_2_1_I2V_PLUS, and WANX_2_1_I2V_TURBO constants to VideoSynthesis. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Summary
Test plan
mvn compilepasses🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com