Commit Graph

27 Commits (bbcae309d1c0921c212bfb9719169db8826b795f)

Author SHA1 Message Date
Chenlei Hu bbcae309d1
Save/Use CLIP output in API (#2590)
* Add API support

* Add assertion

* Add test

* nit
2024-04-15 15:08:51 -04:00
Chenlei Hu 8af7577c45
Change API processor_res/threshold_a/threshold_b default values (#2746)
* Change API threshold_a/threshold_b/res default values

* move code

* Add tests

* update test

* Add log_context for testing

* More test

* nit

* encoding

* Change cq log encoding
2024-04-15 09:46:14 -04:00
Chenlei Hu eb451a007f
Fix faceid (#2727) 2024-03-31 23:54:20 -04:00
Chenlei Hu a5f9d59717
Add clip mask support (#2721)
* Add clip mask support

* nit

* Add tests
2024-03-31 12:13:51 -04:00
Chenlei Hu 807a883ed6
Move ad batch input (#2720)
* Move ad batch input

* nit

* nit
2024-03-30 23:31:12 -04:00
Chenlei Hu f6f36e3bbf
Add 'image_mask' field for compatibility with SD Forge (#2717)
* Add 'image_mask' field for compatibility with SD Forge

* Merge img2img test and txt2img tests

* Reduce target size to speed up CQ
2024-03-30 17:32:06 -04:00
Chenlei Hu 976c595150
Add ruff linter dep (#2666) 2024-02-28 22:44:10 -05:00
Chenlei Hu a773a1a816
Real multi-inputs for all IP-Adapters (#2594)
* Add adapter tests

* real multi inputs

* multi-inputs

* Fix hook

* Use real multi for instant id
2024-01-28 12:44:40 -05:00
Chenlei Hu 14ab5e4ff6
Revert " Real multi-inputs unit" (#2583) 2024-01-25 08:52:10 -05:00
Chenlei Hu 6a1d882e89
Real multi-inputs unit (#2578)
* Add adapter tests

* real multi inputs
2024-01-24 20:19:11 -05:00
Chenlei Hu d139d8c88d
🐛 Fix ip-adapter (#2569) 2024-01-23 18:54:35 -05:00
Chenlei Hu 25e41dc63b
Real multi-inputs ControlNet unit (#2539)
* real multi-inputs

* add tests

* nit

* 🐛 Fix negative prompt issue
2024-01-22 02:27:37 -05:00
Chenlei Hu a79661e0db
🚚 Move inpaint crop logic as a function (#2534)
* Add tests

* 🔨 Extract crop logic
2024-01-21 19:00:28 -05:00
Chenlei Hu 81b5dde69a
🎨 Multi-Inputs more user friendly UI (#2533)
* format

* 🎨 multi-inputs UI refresh

* nit
2024-01-21 18:17:59 -05:00
Chenlei Hu 7aaf263208
Add hr_option (Both, High res only, Low res only) (#2379)
*  Add hr_option

🎨 Only show when relevant

 Add unit test

* 🐛 fix per-unit
2024-01-01 00:06:55 -05:00
Chenlei Hu 0c0eb6b317
Control inpaint crop per ControlNet unit (#2377)
*  Control inpaint crop per ControlNet unit

* nits
2023-12-31 18:27:20 -05:00
Chenlei Hu 11019f4820
Support advanced_weighting in API (#2368)
*  Support advanced_weighting in API

* 📝 add note

* 🐛 nits

* 📝 Add examples
2023-12-30 17:35:52 -05:00
Chenlei Hu 27c78e3fec
🐛 Set default model/module to string values (#2335) 2023-12-15 21:54:16 -05:00
Chenlei Hu 54dfb899d5
Ignore unrecognized params (#2313) 2023-12-09 23:17:03 -05:00
lllyasviel d0e79b397d
typo 2023-12-06 07:24:13 -08:00
lllyasviel 47dfefa54f
StyleAlign (#2294)
StyleAlign
2023-12-06 06:49:05 -08:00
Chenlei Hu 457da74dc7
Add new API option send_detected_map (#2251) 2023-11-11 19:06:06 -05:00
Chenlei Hu f2aafcf2be
🐛 Fix update_cn_script (#2203) 2023-10-28 23:05:34 -04:00
Chenlei Hu 4ac716a6e8
Revert "Update external_code.py fix 2132 2111 (#2133)" (#2202)
This reverts commit e382d16185.
2023-10-28 14:31:28 -04:00
joergwa e382d16185
Update external_code.py fix 2132 2111 (#2133)
fix for https://github.com/Mikubill/sd-webui-controlnet/issues/2132 https://github.com/Mikubill/sd-webui-controlnet/issues/2111
2023-10-25 21:35:02 -04:00
lllyasviel 1d5402326d
sdxl support (for SAI/HuggingFace/diffuser/community models) (#1952)
sdxl support (for SAI/HuggingFace/diffuser/community models)
1.1.400
2023-09-04 10:41:42 -07:00
ljleb 6ed97a7da2
Remove `importlib.reload`s (#1775)
* move external_code.py for python module caching

* remove importlib reload

* add test

* rename

---------

Co-authored-by: ljleb <set>
2023-07-08 16:52:16 -04:00