Commit Graph

349 Commits (8d73846cbf2abb9f686e77e4a58ba36706ddad19)

Author SHA1 Message Date
Abdullah Alfaraj 7e98fe0add formate project files with prettier 2023-06-10 12:16:50 +03:00
Abdullah Alfaraj e822b2cfd0 Merge branch 'edit_245' into dev_1.2.7 2023-06-09 05:37:58 +03:00
Abdullah Alfaraj d2fd88ed21 fix: controlNet preset menu will not load 2023-06-09 05:04:09 +03:00
Abdullah Alfaraj 573187246f
Finalize v1.2.5 Release 2023-06-06 07:27:07 +03:00
Abdullah Alfaraj 745d541a62 removing dead code and comments 2023-06-05 19:06:11 +03:00
unknown 9c723389f6 controlnet refactor 2023-06-05 23:06:36 +08:00
Abdullah Alfaraj 5032f5bbd9 fix: Show command is not available error 2023-06-04 12:14:06 +03:00
Abdullah Alfaraj 33e79546a7 fix: concatenate always on scripts 2023-06-03 11:23:03 +03:00
Abdullah Alfaraj ee3758ad29 request ControlNet models and modules only once when initializing ctrl net tab 2023-06-02 18:31:42 +03:00
Abdullah Alfaraj a8a98b4bab the lora menu will use the latest lora endpoint 2023-05-27 21:49:29 +03:00
Abdullah Alfaraj 0ffad88092 disable the error dialog for toggleBackgroundLayer 2023-05-27 07:48:26 +03:00
Abdullah Alfaraj f6ee21cae7 Eliminate dependency on config endpoint 2023-05-27 05:04:38 +03:00
Abdullah Alfaraj bbdbfa3440 no longer using config endpoint to retrieve list of hi-res upscalers 2023-05-27 04:19:58 +03:00
Abdullah Alfaraj 5e25529680 add support to controlnet pixel perfect and control mode 2023-05-27 03:21:55 +03:00
Abdullah Alfaraj 7f08ce67d0 add functionality to get controlnet version 2023-05-26 19:46:52 +03:00
Abdullah Alfaraj 40e9d05d22 remove the hardcoded local address http://127.0.0.1:7860 from interrogation request 2023-05-24 16:47:39 +03:00
Abdullah Alfaraj 59e804e9b6 Merge branch 'pr/zombieyang/264' into dev_merge_ultimate_sd_upscale 2023-05-22 18:07:34 +03:00
unknown 38f8f1cf42 enable to invoke the api with null model for model_free module 2023-05-22 00:29:51 +08:00
unknown ce37cd3741 hide model picker when preprocessor is reference 2023-05-21 16:51:11 +08:00
Abdullah Alfaraj 67d69808bb updated mask expansion icon 2023-05-15 20:01:54 +03:00
Abdullah Alfaraj 0ad3f02fef
Merge pull request #255 from zombieyang/master
some controlnet fix
2023-05-15 02:56:52 +03:00
Abdullah Alfaraj aaaab8bd2b update nre version number 2023-05-15 02:07:04 +03:00
Abdullah Alfaraj c211dc4b70 update controlnet detection map thumbnails buttons 2023-05-15 02:07:04 +03:00
Abdullah Alfaraj 358b9b812b fix bug: native horde random seed condition never trigger 2023-05-15 02:07:04 +03:00
Abdullah Alfaraj db3597fd6f add svg search, and svg canvas buttons to lexica image thumbnail 2023-05-15 02:07:03 +03:00
Abdullah Alfaraj 2386494fc0 only initialize controlnet tab with g_controlnet_max_models value 2023-05-15 02:07:03 +03:00
Abdullah Alfaraj 9b8ba2a1a1 only initialize ControlNetTab if max models > 0, show error otherwise 2023-05-15 02:07:03 +03:00
Abdullah Alfaraj 168ced40fd set max Units to 0 if controlnet is not install 2023-05-15 02:07:03 +03:00
Abdullah Alfaraj 28b2ed50f9 cap the height of preset textarea to 800px 2023-05-14 23:01:46 +03:00
unknown c7d04973bc ui fix in controlnet 2023-05-14 23:54:07 +08:00
unknown bcac172151 use alias_names=1 in controlNet module. keep same with Auto1111 2023-05-14 18:31:22 +08:00
僵尸浩 0f47f46aa7
Update control_net.js 2023-05-08 22:03:39 +08:00
Abdullah Alfaraj c08818901d delete hardcoded preprocessor values 2023-05-08 11:48:24 +03:00
Abdullah Alfaraj c57bf2bd71 update controlnet sliders by using the module_detail from /controlnet/module_list endpoint 2023-05-08 11:30:25 +03:00
Abdullah Alfaraj 7f075e7f99 add support to the controlnet_1.1 preprocessors 2023-05-04 19:43:23 +03:00
Abdullah Alfaraj 70a3908810 use controlnet api /module_list endpoint to get the preprocessors list 2023-05-03 20:24:25 +03:00
Abdullah Alfaraj 785da83601 Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into lexica_api_merge 2023-05-02 23:03:58 +03:00
Abdullah Alfaraj db382ab6ed add option to quickly turn off/ disable controlnet tab 2023-05-01 21:11:44 +03:00
Abdullah Alfaraj f2edeae2ad add button to search for similar images to lexica image 2023-05-01 02:17:53 +03:00
Abdullah Alfaraj 11b198cda0 fix bug: missing html_id parameter 2023-05-01 02:17:04 +03:00
Abdullah Alfaraj f99d6245d1 fix bug: use new the html id for batch size 2023-05-01 00:19:18 +03:00
Abdullah Alfaraj 864af3fabb add placeholder item lora menu 2023-04-30 23:12:44 +03:00
Abdullah Alfaraj 88687d96bc refactor controlNet: clone controlNet Unit from template 2023-04-30 23:11:35 +03:00
Abdullah Alfaraj 576a385f03 getter and setters that use an element instead of id 2023-04-30 21:01:06 +03:00
unknown 1a85a925b2 in controlnet 1.1, a controlnet data with enable=False needed to be passed to api event though the controlnet is disabled. 2023-04-29 00:13:58 +08:00
Abdullah Alfaraj 672fb21abd add functionality for previewing annotator result 2023-04-27 19:15:03 +03:00
Abdullah Alfaraj d1e9d6a4f4 clear history result from ram 2023-04-27 18:43:17 +03:00
Abdullah Alfaraj 2fbda16f2b toggle "image cfg scale slider" visibility 2023-04-27 05:16:08 +03:00
Abdullah Alfaraj 9c18a78389 preview annotator result 2023-04-25 18:23:31 +03:00
Abdullah Alfaraj 195bde2aea add thumbnail functionality to lexica page 2023-04-25 18:22:35 +03:00
Abdullah Alfaraj 8314f8da57 add a progress image preview option next to each progress bar 2023-04-15 16:31:08 +03:00
Abdullah Alfaraj 62e3b48bdf WIP: add a ctrl+backspace delete behavior to sp-textarea 2023-04-14 02:13:32 +03:00
Abdullah Alfaraj 5756020444 change the preprocessor default values sent to the api depend on the selected preprocessor type 2023-04-14 02:07:58 +03:00
Abdullah Alfaraj 85766d3a63 the refresh button will refresh the sd tab 2023-04-14 02:05:16 +03:00
Abdullah Alfaraj fa40e7ae9c add support to image cfg scale for pix2pix model 2023-04-10 05:17:23 +03:00
Abdullah Alfaraj 491c368175 add utility method to add event listener to a slider 2023-04-10 05:15:22 +03:00
Abdullah Alfaraj 860923844b add a simple mechanism to log to file 2023-04-08 16:53:58 +03:00
Abdullah Alfaraj 21ac843e13 add lora models menu and populated from auto1111 lora dir 2023-04-08 01:39:42 +03:00
Abdullah Alfaraj d2093bdf1d request list of lora models names and convert them to prompts 2023-04-07 23:37:44 +03:00
Abdullah Alfaraj 2529c7e76c Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into lexica_api 2023-04-07 17:15:03 +03:00
Abdullah Alfaraj 6c48fb01d6 reduce the padding the progress image add to the viewer tab 2023-04-07 15:44:41 +03:00
Abdullah Alfaraj f59e9ee544 update the controlnet entry point to txt2img and img2img 2023-03-30 02:01:19 +03:00
Abdullah Alfaraj 723980e086 copy lexica settings to the ui 2023-03-26 17:04:31 +03:00
Abdullah Alfaraj 48964afc2f hide the lexica prompt textarea when scrolling 2023-03-26 17:03:20 +03:00
Abdullah Alfaraj 2648ad4047 load image from search on top of the layer stack 2023-03-26 16:59:09 +03:00
Abdullah Alfaraj ba7f829012 update progress bar when interrogating an image 2023-03-26 16:15:49 +03:00
Abdullah Alfaraj 45068f45b8 simplify hr scaler, remove hr width and hr height sliders 2023-03-26 16:13:17 +03:00
Abdullah Alfaraj 85b2de55ac add open document folder feature 2023-03-25 22:20:27 +03:00
Abdullah Alfaraj e94cdc6c73 clip interrogate feature 2023-03-25 10:55:11 +03:00
Abdullah Alfaraj 3ba20036e3 place the downloaded image on top of the layer stack 2023-03-25 09:06:09 +03:00
Abdullah Alfaraj 455ac21912 lock the session folder so that it can't be moved by mistake 2023-03-25 09:02:26 +03:00
Abdullah Alfaraj 930e4bddd1 search lexica for similar images 2023-03-24 18:36:40 +03:00
Abdullah Alfaraj db5051a12f upload image to freeimage host and return image url 2023-03-24 18:36:09 +03:00
Abdullah Alfaraj 5ddc60858c search lexica for prompt and images 2023-03-24 18:34:49 +03:00
Abdullah Alfaraj 6e663142c7 add general Post request methods 2023-03-24 18:29:39 +03:00
Abdullah Alfaraj 3a97b59db7 simplify selection to canvas interface method 2023-03-24 15:47:00 +03:00
Abdullah Alfaraj 36ccbd84a8 preview the expanded mask on ui change 2023-03-24 06:13:06 +03:00
Abdullah Alfaraj e0aecb1dc1 methods to visualize both the mask and the mask after expansion 2023-03-23 15:12:37 +03:00
Abdullah Alfaraj a2d95de887 import localFileSystem 2023-03-19 05:00:14 +03:00
Abdullah Alfaraj 62fe41d2ce move btnImageSearch click event to image_search_tab 2023-03-19 04:49:40 +03:00
Abdullah Alfaraj 2a7817a29e move btnLoadHistory click event to history_tab.js 2023-03-15 06:35:18 +03:00
Abdullah Alfaraj 69e47e8cf2 refactor getHistoryMetadata 2023-03-15 06:14:04 +03:00
Abdullah Alfaraj c576bbbcbc update message for version v1.2.2 2023-03-14 20:55:00 +03:00
Abdullah Alfaraj 9fc9a08773 add optimization option for different pc specs. 2023-03-14 03:08:00 +03:00
Abdullah Alfaraj 829f599e08 fix missing executeAsModal function error 2023-03-14 03:06:26 +03:00
Abdullah Alfaraj f176c2888a update label for progress bart to be more descriptive 2023-03-14 03:01:24 +03:00
Abdullah Alfaraj ae156e0a9b update the progress bar using sudo timer when loading ControlNet models 2023-03-14 02:59:55 +03:00
Abdullah Alfaraj 87ca494e5e add and remove preset to right preset menu based on selected preset type 2023-03-13 23:27:49 +03:00
Abdullah Alfaraj 0ae02a7808 comment old log 2023-03-13 23:17:25 +03:00
Abdullah Alfaraj 9dfddc61a9 make new preset base on preset type 2023-03-13 01:03:13 +03:00
Abdullah Alfaraj b827df0088 add logo creation and backgrounds presets to cnet 2023-03-13 00:12:58 +03:00
Abdullah Alfaraj cc433cdb7e use background-image property for preview image instead of img.src 2023-03-12 16:54:58 +03:00
Abdullah Alfaraj ff0aaace62 add a default preset 2023-03-12 16:38:44 +03:00
Abdullah Alfaraj a1a2118bb2 add convenient button to set all controlnet images at once 2023-03-11 22:46:29 +03:00
Abdullah Alfaraj 3a0a4b5be3 reset ControlNet Units settings before applying a preset 2023-03-11 22:45:15 +03:00
Abdullah Alfaraj 13d798af3d add ControlNet preset "Maintain Composition (Character)" 2023-03-11 22:43:33 +03:00
Abdullah Alfaraj c7b6aa2242 unselect menu if item does not exist 2023-03-11 22:42:57 +03:00
Abdullah Alfaraj 72dd3d92d5 refactor the layer to base64 code from setControlNetImage 2023-03-11 22:40:09 +03:00
Abdullah Alfaraj 1852068339 add preset sub menu to the settings tab 2023-03-11 18:10:02 +03:00
Abdullah Alfaraj ecb70d997e add controlnet hand fix preset 2023-03-11 18:08:45 +03:00