Commit Graph

432 Commits

Author SHA1 Message Date
harisreedhar 4f660ff41b to video unification 2026-03-17 14:01:49 +01:00
harisreedhar 0e40370ba1 to video unification 2026-03-17 14:01:49 +01:00
harisreedhar ade915697c detect workflow 2026-03-17 14:01:49 +01:00
harisreedhar e5460a06d2 changes
restructure conditional methods to a fall-through pattern

common process_temp_frame for all workflow
2026-03-17 14:01:49 +01:00
Henry Ruhs a829742cba Feat/session context (#993)
* Add simple session context

* Add simple session context
2026-03-17 14:01:49 +01:00
Henry Ruhs 38a7da5a26 Add simple path isolation (#992) 2026-03-17 14:01:49 +01:00
harisreedhar 0625e84e78 update ffmpeg.set_loop
add test

introduce spawn_frames
2026-03-17 14:01:49 +01:00
harisreedhar 518b1b98b2 changes 2026-03-17 14:01:49 +01:00
harisreedhar 6e47fa9f33 remove --keep-temp 2026-03-17 14:01:49 +01:00
harisreedhar 6cbcd327bf Part 2 2026-03-17 14:01:49 +01:00
harisreedhar 320131772b Part 2 2026-03-17 14:01:49 +01:00
harisreedhar df70da4d96 fix 2026-03-17 14:01:49 +01:00
harisreedhar 1f485d0230 part 1 2026-03-17 14:01:49 +01:00
henryruhs 86c315bb37 Switch workflow args order in tests, Remove old choices in processors 2026-03-17 14:01:49 +01:00
henryruhs 98109f174e Switch workflow args order in tests, Remove old choices in processors 2026-03-17 14:01:49 +01:00
harisreedhar de2d5cfc7d add todo
add test

cleanup

remove -w

move --workflow position

fix test

add --worflow, audio-to-image, image-to-image, image-to-video
2026-03-17 14:01:49 +01:00
Henry Ruhs 051aed6133 Scope for Args (#988)
* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Remove system memory limit (#986)

* Add session_id, make token size more reasonable (#983)

* Add session_id, make token size more reasonable

* Use more direct approach

* Fix more stuff

* Fix ignore comments

* Fix naming

* Fix lint
2026-03-17 14:01:46 +01:00
harisreedhar 5faff3b03e changes 2026-03-17 14:01:38 +01:00
harisreedhar 878c738a94 changes 2026-03-17 14:01:38 +01:00
harisreedhar 562a28c342 changes 2026-03-17 14:01:38 +01:00
harisreedhar 0d0e200e99 rename to target_path 2026-03-17 14:01:38 +01:00
harisreedhar c670170be3 fix exit-helper 2026-03-17 14:01:38 +01:00
harisreedhar 5ca7f3d0dc refactor temp handling from target-path to output-path 2026-03-17 14:01:38 +01:00
henryruhs d548353cf6 Burn it with fire 2026-03-17 14:01:38 +01:00
henryruhs 5aa3dafd93 Burn it with fire 2026-03-17 14:01:38 +01:00
Henry Ruhs 74bd73f5a1 Remove system memory limit (#986) 2026-03-17 14:01:35 +01:00
Henry Ruhs dd772279ed Add session_id, make token size more reasonable (#983)
* Add session_id, make token size more reasonable

* Use more direct approach
2026-03-17 14:01:35 +01:00
Henry Ruhs 04f6a2c758 Local API (#982)
* Introduce API scelleton

* Raw impl for session

* Simple state endpoint

* Apply _body naming

* Finalize session testing and comment out tons of useless code

* Clean and refactor part1

* Clean and refactor part2

* Clean and refactor part2

* Clean and refactor part2

* Clean and refactor part2

* Refactor middleware

* Refactor middleware

* Clean and refactor part3

* TDD and 2 beers

* TDD and 2 beers

* Complete state endpoints

* You can only set what is already present

* Use only JSON as response

* Use default logger

* Improve auth extraction

* Extend api command with more args

* Adjust API messages
2026-03-17 14:01:35 +01:00
harisreedhar 820134698b remove output_path argument 2026-03-17 14:01:28 +01:00
harisreedhar 49b6acfecf remove output_path argument from merge_video() 2026-03-17 14:01:28 +01:00
harisreedhar 14c9aef764 remove output_video_fps argument from merge_video() 2026-03-17 14:01:28 +01:00
harisreedhar f94826511d rename method argument 2026-03-17 14:01:28 +01:00
harisreedhar da42377219 fix 2026-03-17 14:01:28 +01:00
harisreedhar 0de966d794 remove same file extension constraint 2026-03-17 14:01:28 +01:00
Henry Ruhs 3618a89668 Refactor reusable workflow tasks (#980)
* Refactor reusable workflow tasks

* Refactor reusable workflow tasks

* Make it borderline again
2026-03-17 14:01:28 +01:00
Henry Ruhs d4f1992167 Feels so good to get rid of Gradio (#978) 2026-03-17 14:01:27 +01:00
henryruhs 8ec519f183 Mark es temporary v4 2026-03-17 14:01:03 +01:00
Henry Ruhs 57fcb86b82 3.6.0 (#1062)
* mark as next

* add fran model

* add support for corridor key (#1060)

* introduce despill color

* simplify the apply dispill color

* finalize naming for both fill and despill

* follow vision_frame convension

* patch fran model

* adjust fran urls

* Feat/dynamic env setup (#1061)

* dynamic environment setup

* dynamic environment setup

* fix fran model

* prevent directml using incompatible corridor_key model

* fix environment setup for windows

* switch to corridor_key_1024 and corridor_key_2048

* switch to corridor_key_1024 and corridor_key_2048

* mark it as 3.6.0

* rename environment to conda

* rename environment to conda

* fix testing for face analyser

* some background remove cosmetics

* some background remove cosmetics

* some background remove cosmetics

* update preview

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
3.6.0
2026-03-16 15:08:43 +01:00
henryruhs 2cc05d4fba update licenses 2026-03-09 21:24:53 +01:00
Henry Ruhs a498f3d618 Patch 3.5.4 (#1055)
* remove insecure flag from curl

* eleminate repating definitons

* limit processors and ui layouts by choices

* follow couple of v4 standards

* use more secure mkstemp

* dynamic cache path for execution providers

* fix benchmarker, prevent path traveling via job-id

* fix order in execution provider choices

* resort by prioroty

* introduce support for QNN

* close file description for Windows to stop crying

* prevent ConnectionResetError under windows

* needed for nested .caches directory as onnxruntime does not create it

* different approach to silent asyncio

* update dependencies

* simplify the name to just inference providers

* switch to trt_builder_optimization_level 4
3.5.4
2026-03-08 11:00:45 +01:00
Henry Ruhs c7976ec9d4 Fix list literal spacing to use [ x, y ] style (#1044)
Enforce consistent space inside square brackets for all list literals
across source and test files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-18 09:18:03 +01:00
Henry Ruhs 8801668562 3.5.3
* honor webcam resolution to avoid stripe mismatch, update dependencies

* avoid version conflicts

* enforce prores video extraction to 8 bit

* make the installer more robust on execution switch

* make the installer more robust on execution switch

* improve the installer env handling

* different approach to handle env
3.5.3
2026-02-11 09:35:08 +01:00
Henry Ruhs a7f3de3dbc Rename local(s) to locale(s) (#1008) 2025-12-17 18:37:51 +01:00
Henry Ruhs 666c15f9da Patch 3.5.2 (#1002)
* Remove old files

* Fix some spacing

* Introduce retry to download

* More testing

* Better installer scripting (#994)

* Better installer scripting

* Add migraphx installer support

* Add migraphx installer support

* Ignore issue

* Ignore issue

* Make --force-install optional
3.5.2
2025-12-13 08:37:15 +01:00
Henry Ruhs 420d738a6b 3.5.1 (#985)
* Fix type for device id

* Fix type for device id

* Fix order

* Remove comma

* Replace Generator typing

* Replace Generator typing

* Conditional kill myself (#984)

* Introduce conditional remove mask

* fix

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
3.5.1
2025-11-19 17:39:42 +01:00
henryruhs 81c5e85dea Remove invalid command 3.5.0 2025-11-07 12:37:21 +01:00
Henry Ruhs 8bf9170577 3.5.0 (#977)
* Mark as NEXT

* Reduce caching to avoid RAM explosion

* Reduce caching to avoid RAM explosion

* Update dependencies

* add face-detector-pad-factor

* update facefusion.ini

* fix test

* change pad to margin

* fix order

* add prepare margin

* use 50% max margin

* Minor fixes part2

* Minor fixes part3

* Minor fixes part4

* Minor fixes part1

* Downgrade onnxruntime as of BiRefNet broken on CPU

add test

update

update facefusion.ini

add birefnet

* rename models

add more models

* Fix versions

* Add .claude to gitignore

* add normalize color

add 4 channel

add colors

* worflows

* cleanup

* cleanup

* cleanup

* cleanup

* add more models (#961)

* Fix naming

* changes

* Fix style and mock Gradio

* Fix style and mock Gradio

* Fix style and mock Gradio

* apply clamp

* remove clamp

* Add normalizer test

* Introduce sanitizer for the rescue (#963)

* Introduce sanitizer for the rescue

* Introduce sanitizer for the rescue

* Introduce sanitizer for the rescue

* prepare ffmpeg for alpha support

* Some cleanup

* Some cleanup

* Fix CI

* List as TypeAlias is not allowed (#967)

* List as TypeAlias is not allowed

* List as TypeAlias is not allowed

* List as TypeAlias is not allowed

* List as TypeAlias is not allowed

* Add mpeg and mxf support (#968)

* Add mpeg support

* Add mxf support

* Adjust fix_xxx_encoder for the new formats

* Extend output pattern for batch-run (#969)

* Extend output pattern for batch-run

* Add {target_extension} to allowed mixed files

* Catch invalid output pattern keys

* alpha support

* cleanup

* cleanup

* add ProcessorOutputs type

* fix preview and streamer, support alpha for background_remover

* Refactor/open close processors (#972)

* Introduce open/close processors

* Add locales for translator

* Introduce __autoload__ for translator

* More cleanup

* Fix import issues

* Resolve the scope situation for locals

* Fix installer by not using translator

* Fixes after merge

* Fixes after merge

* Fix translator keys in ui

* Use LOCALS in installer

* Update and partial fix DirectML

* Use latest onnxruntime

* Fix performance

* Fix lint issues

* fix mask

* fix lint

* fix lint

* Remove default from translator.get()

* remove 'framerate='

* fix test

* Rename and reorder models

* Align naming

* add alpha preview

* fix frame-by-frame

* Add alpha effect via css

* preview support alpha channel

* fix preview modes

* Use official assets repositories

* Add support for u2net_cloth

* fix naming

* Add more models

* Add vendor, license and year direct to the models

* Add vendor, license and year direct to the models

* Update dependencies, Minor CSS adjustment

* Ready for 3.5.0

* Fix naming

* Update about messages

* Fix return

* Use groups to show/hide

* Update preview

* Conditional merge mask

* Conditional merge mask

* Fix import order

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
Co-authored-by: Harisreedhar <46858047+harisreedhar@users.noreply.github.com>
2025-11-03 14:05:15 +01:00
Henry Ruhs 189d750621 3.4.2 (#975)
* Reduce caching to avoid RAM explosion

* Reduce caching to avoid RAM explosion

* Reduce caching to avoid RAM explosion

* fix bounding_box scale

* Bump to 3.4.2

* More conservative on audio caching

* Fix coverage issue

* Fix coverage issue

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
3.4.2
2025-10-29 11:51:42 +01:00
Henry Ruhs f3be23d19b Patch (#947)
* Fix preview when using frame enhancer

* Fix version conflict numpy vs. cv2

* Use latest numpy

* Introduce scale_face() to match size of temp frames and target frames

* Remove hardcoded backend for camera under Windows

* Up and downgrade some dependencies

* Up and downgrade some dependencies

* Up and downgrade some dependencies
3.4.1
2025-09-11 16:58:39 +02:00
henryruhs 16e84b43ce Update preview 3.4.0 2025-09-08 10:54:22 +02:00