feature: z-image, flux-2-pro. Updated houdini and nuke clients. Some schema simplification#50
Merged
JoeGaffney merged 15 commits intomainfrom Dec 2, 2025
Merged
feature: z-image, flux-2-pro. Updated houdini and nuke clients. Some schema simplification#50JoeGaffney merged 15 commits intomainfrom
JoeGaffney merged 15 commits intomainfrom
Conversation
…as have to subprocess call ffmpeg
Added an additional image to the README to enhance visual content.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the video model capabilities system and removes RunwayML integration. The key changes include:
- Removed the
runway-act-twomodel and therunwaymlPython dependency - Refactored video mode inference from
first-last-imagebeing a distinct mode tolast_imagebeing a capability flag - Added new image models:
z-image(local) andflux-2-pro(external) - Consolidated
Providertype definition intocommon.schemasto eliminate duplication - Removed
style-plusreference 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, theos.remove()call on line 25 won't fail, but the path construction assumes the directory hierarchy exists. Consider callingensure_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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.