Commit Graph

433 Commits

Author SHA1 Message Date
henryruhs 1e8e763516 Rename local(s) to locale(s) 2025-12-17 18:50:50 +01:00
harisreedhar b2a2f84c24 workflows rename 2025-12-17 18:42:13 +01:00
harisreedhar 0773403d4b workflows rename 2025-12-17 18:42:13 +01:00
harisreedhar 23f865640a image to video as sequence 2025-12-17 18:42:13 +01:00
Henry Ruhs 396610e88c feat/ping-endpoint (#1001)
* api: add WebSocket /ping endpoint and update session guard to support WebSocket subprotocol auth; add tests (test_api_ping.py)

* Initial websocket support using ping

* Initial websocket support using ping

* Initial websocket support using ping

* Combine imports
2025-12-17 18:42:13 +01:00
harisreedhar 286d25e91d use common analyse_image method 2025-12-17 18:42:13 +01:00
harisreedhar deb5909f91 to video unification 2025-12-17 18:42:13 +01:00
harisreedhar 17f24784ad to video unification 2025-12-17 18:42:13 +01:00
harisreedhar e9d9dec598 detect workflow 2025-12-17 18:42:13 +01:00
harisreedhar 12ab871289 changes
restructure conditional methods to a fall-through pattern

common process_temp_frame for all workflow
2025-12-17 18:42:13 +01:00
Henry Ruhs 44830ffd9d Feat/session context (#993)
* Add simple session context

* Add simple session context
2025-12-17 18:42:13 +01:00
Henry Ruhs e13b81207c Add simple path isolation (#992) 2025-12-17 18:42:13 +01:00
harisreedhar c7e61d1678 update ffmpeg.set_loop
add test

introduce spawn_frames
2025-12-17 18:42:13 +01:00
harisreedhar 50473df4c0 changes 2025-12-17 18:42:13 +01:00
harisreedhar 2dbf4523fe remove --keep-temp 2025-12-17 18:42:13 +01:00
harisreedhar 1cfabf6639 Part 2 2025-12-17 18:42:13 +01:00
harisreedhar 03d1555a6f Part 2 2025-12-17 18:42:13 +01:00
harisreedhar cba29311c1 fix 2025-12-17 18:42:13 +01:00
harisreedhar 35c2022700 part 1 2025-12-17 18:42:13 +01:00
henryruhs 549de72bef Switch workflow args order in tests, Remove old choices in processors 2025-12-17 18:42:13 +01:00
henryruhs 9e6c070629 Switch workflow args order in tests, Remove old choices in processors 2025-12-17 18:42:13 +01:00
harisreedhar d4a4cf71d4 add todo
add test

cleanup

remove -w

move --workflow position

fix test

add --worflow, audio-to-image, image-to-image, image-to-video
2025-12-17 18:42:13 +01:00
Henry Ruhs 6180ccf6e6 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)

# Conflicts:
#	facefusion/program.py

* 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
2025-12-17 18:42:13 +01:00
harisreedhar 65a61d5001 changes 2025-12-17 18:42:13 +01:00
harisreedhar 7ccf4d5eda changes 2025-12-17 18:42:13 +01:00
harisreedhar b035f1a6e5 changes 2025-12-17 18:42:13 +01:00
harisreedhar 588eb049b0 rename to target_path 2025-12-17 18:42:13 +01:00
harisreedhar 0a4e1c639d fix exit-helper 2025-12-17 18:42:13 +01:00
harisreedhar 85b6d962f2 refactor temp handling from target-path to output-path 2025-12-17 18:42:13 +01:00
henryruhs 6f89e7db51 Burn it with fire 2025-12-17 18:42:13 +01:00
henryruhs 69ad7572c6 Burn it with fire 2025-12-17 18:42:13 +01:00
Henry Ruhs 68a56588e3 Remove system memory limit (#986) 2025-12-17 18:42:13 +01:00
Henry Ruhs 4b0d6c3333 Add session_id, make token size more reasonable (#983)
* Add session_id, make token size more reasonable

* Use more direct approach
2025-12-17 18:42:13 +01:00
Henry Ruhs 3daf049684 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
2025-12-17 18:42:13 +01:00
harisreedhar f745ddc831 remove output_path argument 2025-12-17 18:42:13 +01:00
harisreedhar 8f27d5dd08 remove output_path argument from merge_video() 2025-12-17 18:42:13 +01:00
harisreedhar a6bd2cdcc7 remove output_video_fps argument from merge_video() 2025-12-17 18:42:13 +01:00
harisreedhar 3ef90673b5 rename method argument 2025-12-17 18:42:13 +01:00
harisreedhar 29e3014945 fix 2025-12-17 18:42:13 +01:00
harisreedhar 7e2f793cf4 remove same file extension constraint 2025-12-17 18:42:13 +01:00
Henry Ruhs 0d2a434e61 Refactor reusable workflow tasks (#980)
* Refactor reusable workflow tasks

* Refactor reusable workflow tasks

* Make it borderline again
2025-12-17 18:42:13 +01:00
Henry Ruhs cfa2216d0c Feels so good to get rid of Gradio (#978) 2025-12-17 18:42:13 +01:00
henryruhs 20293d1fa3 Mark es temporary v4 2025-12-17 18:42:13 +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