Replace local LTX GPU pipeline with ComfyUI workflow stub#49
Closed
nick-knack-knight wants to merge 1 commit intoLightricks:mainfrom
Closed
Replace local LTX GPU pipeline with ComfyUI workflow stub#49nick-knack-knight wants to merge 1 commit intoLightricks:mainfrom
nick-knack-knight wants to merge 1 commit intoLightricks:mainfrom
Conversation
The T2V/I2V generation path no longer calls the local DistilledPipeline. Instead it calls `call_comfyui_workflow()` in the new service module `backend/services/comfyui_pipeline/comfyui_video_pipeline.py`. Changes: - Add `backend/services/comfyui_pipeline/comfyui_video_pipeline.py` — the single file to fill in with ComfyUI API / tunnel code. Contains a `ComfyUIGenerationParams` dataclass (all generation params) and the `call_comfyui_workflow()` stub with a detailed TODO block. - Add `VideoGenerationHandler._generate_comfyui()` — replaces the `load_gpu_pipeline` + `generate_video` block; packs params, calls the stub, writes returned bytes to the output path, and integrates with the existing generation state machine (progress updates, cancellation, error handling). - `VideoGenerationHandler.generate()` now routes the main T2V/I2V path to `_generate_comfyui()`. The LTX API forced path and A2V path are unchanged. https://claude.ai/code/session_01TZHGm5QYVSSZdx5nCKp7fj
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.
The T2V/I2V generation path no longer calls the local DistilledPipeline. Instead it calls
call_comfyui_workflow()in the new service modulebackend/services/comfyui_pipeline/comfyui_video_pipeline.py.Changes:
backend/services/comfyui_pipeline/comfyui_video_pipeline.py— the single file to fill in with ComfyUI API / tunnel code. Contains aComfyUIGenerationParamsdataclass (all generation params) and thecall_comfyui_workflow()stub with a detailed TODO block.VideoGenerationHandler._generate_comfyui()— replaces theload_gpu_pipeline+generate_videoblock; packs params, calls the stub, writes returned bytes to the output path, and integrates with the existing generation state machine (progress updates, cancellation, error handling).VideoGenerationHandler.generate()now routes the main T2V/I2V path to_generate_comfyui(). The LTX API forced path and A2V path are unchanged.https://claude.ai/code/session_01TZHGm5QYVSSZdx5nCKp7fj