Skip to content

feature: z-image, flux-2-pro. Updated houdini and nuke clients. Some schema simplification#50

Merged
JoeGaffney merged 15 commits intomainfrom
2024-11-29
Dec 2, 2025
Merged

feature: z-image, flux-2-pro. Updated houdini and nuke clients. Some schema simplification#50
JoeGaffney merged 15 commits intomainfrom
2024-11-29

Conversation

@JoeGaffney
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 2, 2025 20:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the video model capabilities system and removes RunwayML integration. The key changes include:

  • Removed the runway-act-two model and the runwayml Python dependency
  • Refactored video mode inference from first-last-image being a distinct mode to last_image being a capability flag
  • Added new image models: z-image (local) and flux-2-pro (external)
  • Consolidated Provider type definition into common.schemas to eliminate duplication
  • Removed style-plus reference mode and mask support from IP adapters
  • Simplified system prompts for text generation
  • Updated Nuke and Houdini clients to reflect API changes

Reviewed changes

Copilot reviewed 50 out of 53 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
workers/videos/schemas.py Refactored InferredMode to remove first-last-image; added last_image capability flag to model metadata
workers/videos/tasks.py Removed runway_act_two task definition
workers/videos/external/runway_act_two.py Deleted entire RunwayML Act Two integration
workers/requirements.txt Removed runwayml dependency; updated diffusers commit hash
workers/common/schemas.py Added centralized Provider type definition
workers/images/schemas.py Added z-image and flux-2-pro models; removed style-plus reference mode and mask field
workers/images/local/z_image.py New implementation for Z-Image model
workers/images/external/flux_2_pro.py New implementation for Flux 2 Pro via Replicate
workers/images/adapters.py Removed mask processing logic from IP adapters
workers/tests/general/test_validators.py Updated validation tests to reflect schema changes
clients/nuke/python/utils.py Refactored reference handling to inline configuration instead of separate nodes
clients/nuke/gizmos/*.gizmo Updated Nuke node UI to match API changes
clients/houdini/python/*.py Updated Houdini integration to match API changes
docker-compose*.yml Removed RUNWAYML_API_SECRET environment variable
Comments suppressed due to low confidence (2)

workers/tests/utils.py:26

  • The change to the output path structure creates a subdirectory for each model, but ensure_path_exists(output_name) is only called after attempting to remove an existing file. If the directory doesn't exist yet, the os.remove() call on line 25 won't fail, but the path construction assumes the directory hierarchy exists. Consider calling ensure_path_exists() before attempting any file operations to ensure the directory structure is created first.
    workers/images/local/z_image.py:2
  • Import of 'Flux2Pipeline' is not used.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JoeGaffney JoeGaffney changed the title 2024 11 29 feature: z-image, flux-2-pro. Updated houdini and nuke clients. Some schema simplification Dec 2, 2025
@JoeGaffney JoeGaffney merged commit 58d163f into main Dec 2, 2025
1 check passed
@JoeGaffney JoeGaffney deleted the 2024-11-29 branch December 2, 2025 21:46
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