22 Commits

Author SHA1 Message Date
CalamitousFelicitousness 8d69b011e1 feat(ltx): add a keyword core to the ltx runner
run_ltx reported failure by yielding a string, which is why LTX had no API.
run() is the core underneath: keyword arguments named as video_run.run names
them, a VideoResult back, VideoError out with 499 for an interrupt. The lock,
progress and summary stay in the adapter, whose signature is unchanged since
callers bind to it by keyword. Failure now closes the processing object and
deactivates networks, which abort never did.
2026-08-19 01:45:46 +01:00
CalamitousFelicitousness 5837dcdd63 refactor(video): carry output resolution on the video result
Both runners round the requested resolution and the two-stage LTX path derives
its own, so the request never recorded what came out. Read it off the decoded
frames instead.
2026-08-19 01:45:46 +01:00
CalamitousFelicitousness 8774cc72b9 fix(video): return none when the av package is unavailable
check_av returned the module on success and False on failure, so the two
callers testing for None treated a failed import as a working av and reached
into it anyway. It now returns None, and the guard that had to test for both
tests for one.
2026-08-18 03:13:00 +01:00
CalamitousFelicitousness 9892a3f05f feat(minimax): add mixed-media reference caps and resolver
MiniMax-H3 conditions on image, video and audio references, and the limits it
enforces on them are constructor defaults on a block class the package does not
re-export, so they cannot be imported and are mirrored here instead.

The resolver takes decoded images and local file paths and returns the reference
objects the pipeline reads, checking cheapest first: classification and counts
open no files, container headers are read without decoding, and only then is the
media decoded. Everything runs before the model load, so a rejected request costs
nothing.

- reference limits as a frozen dataclass, keyed by workflow since the rows that
  carry ref2va differ only in which repo they load
- media classification and container probing as generic video helpers
- a url is refused before construction: the reference classes fetch one and
  decode whatever comes back
- a video is bounded by duration and by what it decodes to, since the pipeline
  truncates it to the generated length and the decode is held across the load
- the frame floor is counted on the decoded video at the rate it resamples to,
  which is what the conditioner measures
- torchaudio and av are checked up front rather than surfacing as an import
  failure once the weights are resident
2026-08-16 20:04:43 +01:00
Vladimir Mandic 87824ad0a3 update video codecs
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-15 14:23:18 +02:00
CalamitousFelicitousness 888cdd1eca feat(video): support first-last-frame for Wan 2.2 I2V
The I2V path forwards a last-frame image to the pipeline when one is supplied and the loaded pipeline accepts it, turning the run into first-last-frame interpolation. supports_last_frame() gates on the pipeline taking a last_image argument and not running expand_timesteps, which conditions on the first frame only, so a model that cannot use a last frame logs a warning instead of silently ignoring it.
2026-06-30 23:00:36 +01:00
Vladimir Mandic 8f5759ac01 fix video prompt
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-16 08:47:19 +02:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
Vladimir Mandic 45c5091aa9 fix wan and add hf mirror setting
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-16 11:26:23 -04:00
Vladimir Mandic 3e3adcee74 add skyreels-v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-07 13:56:13 -04:00
Vladimir Mandic 091bbd7bc6 video tab redesign and optimized ltxvideo
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-10 11:43:44 -04:00
Vladimir Mandic a38f7cbca0 general te hijack
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-14 09:46:03 -04:00
Vladimir Mandic 84fe068070 custom model loader
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-08 14:56:07 -04:00
Vladimir Mandic 8343469be0 improve prompt enhancer and update apply styles
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-28 21:03:27 -04:00
Vladimir Mandic 2c58d3b36c fastercache and pyramidattentionbroadcast
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-27 11:49:30 -04:00
Vladimir Mandic 068daa1e09 add manual module move for video models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-27 09:13:10 -04:00
Vladimir Mandic d7bab01df0 update video
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-23 13:19:12 -04:00
Vladimir Mandic 46bc0834b1 video tab major update
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-21 14:53:52 -04:00
Vladimir Mandic 5c46904fd8 video tab alpha releasee
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-20 14:39:38 -04:00
Vladimir Mandic 79a5391e47 video unified component loader
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-20 14:39:38 -04:00
Vladimir Mandic 9bf6838962 update video tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-20 14:39:38 -04:00