Abdullah Alfaraj
|
e0fa03a864
|
fix bug: import jimp module
|
2023-02-15 12:10:26 +03:00 |
Abdullah Alfaraj
|
0aeddac05e
|
method to get the selection are from the canvas as base64
|
2023-02-15 11:51:03 +03:00 |
Abdullah Alfaraj
|
e7251fbf90
|
add crop method to extract the selected area of the canvas as base64 url
|
2023-02-15 11:49:31 +03:00 |
Abdullah Alfaraj
|
62e425b7d3
|
Todo: comment
|
2023-02-15 11:44:16 +03:00 |
Abdullah Alfaraj
|
6a2fbf2b76
|
convert the slashes in a path from \\ to /
|
2023-02-15 11:43:44 +03:00 |
Abdullah Alfaraj
|
dcc1a8024e
|
methods to add and remove encoding description from base64
|
2023-02-15 11:40:58 +03:00 |
Abdullah Alfaraj
|
3e860ce18a
|
fix typo: remove namespace
|
2023-02-15 11:37:23 +03:00 |
Abdullah Alfaraj
|
654d6c421e
|
missing "general" namespace
|
2023-02-14 12:58:21 +03:00 |
Abdullah Alfaraj
|
4bb41abb8e
|
add mode label the "generate more" button inner text
|
2023-02-14 12:56:59 +03:00 |
Abdullah Alfaraj
|
a5d0cbd857
|
use the horde api key when requesting a generation
|
2023-02-14 11:37:33 +03:00 |
Abdullah Alfaraj
|
af3ebe9b2e
|
use the backend type to select the appropriate generation routine
|
2023-02-14 11:35:03 +03:00 |
Abdullah Alfaraj
|
4c4a7cdec3
|
Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into horde_native
|
2023-02-14 05:52:20 +03:00 |
Abdullah Alfaraj
|
0cdf8675b3
|
message log for horde native progress info
|
2023-02-13 11:11:28 +03:00 |
Abdullah Alfaraj
|
3c18180151
|
delete progress layer method
|
2023-02-13 11:09:34 +03:00 |
Abdullah Alfaraj
|
be17130eb6
|
make scaleTo, moveTo ignore the selection area
|
2023-02-13 11:08:55 +03:00 |
Abdullah Alfaraj
|
9f4e096bc6
|
method to check if layer is valid/ exist
|
2023-02-13 11:07:42 +03:00 |
Abdullah Alfaraj
|
20a74a983b
|
method to import base64 png to layer
|
2023-02-13 11:05:41 +03:00 |
Abdullah Alfaraj
|
63937bf736
|
simulate synchronous behavior for horde request.
|
2023-02-13 03:00:22 +03:00 |
Abdullah Alfaraj
|
5301e44801
|
refactor updating the progress bar for the horde request
|
2023-02-13 01:46:02 +03:00 |
Abdullah Alfaraj
|
9820a491e8
|
prepare the output to be process by the generate()
|
2023-02-13 01:44:59 +03:00 |
Daniele
|
4977e0c8a5
|
Extras - bug fixing
|
2023-02-12 12:43:54 +00:00 |
Daniele
|
8fb3db6521
|
Extras tab
|
2023-02-11 21:46:52 +00:00 |
Abdullah Alfaraj
|
e2ea771e9b
|
add img2img, inpaint, and outpaint to the horde
|
2023-02-11 10:15:28 +03:00 |
Abdullah Alfaraj
|
703ac17a5a
|
add support to random seeds to the horde
|
2023-02-11 10:14:22 +03:00 |
Abdullah Alfaraj
|
deded1abcc
|
pass the the init image base64 webp encoding to the horde
|
2023-02-11 04:57:13 +03:00 |
Abdullah Alfaraj
|
9ec087989a
|
scale a layer by the specified width and height
|
2023-02-11 00:34:03 +03:00 |
Abdullah Alfaraj
|
c37cfcf18f
|
export layer as .webp file
|
2023-02-11 00:33:03 +03:00 |
Abdullah Alfaraj
|
1b618e53cf
|
convert base64 png to base64 webp
|
2023-02-11 00:30:27 +03:00 |
Abdullah Alfaraj
|
eae93b8328
|
convert base64_png to .png file
|
2023-02-11 00:29:51 +03:00 |
Abdullah Alfaraj
|
6a73c3031e
|
get the base64 of webp file
|
2023-02-11 00:28:30 +03:00 |
Abdullah Alfaraj
|
ecd739061e
|
export rectangular Layer as .webp
|
2023-02-10 19:50:20 +03:00 |
Abdullah Alfaraj
|
53054b8d8d
|
add Layer utility Class
|
2023-02-10 18:11:02 +03:00 |
Abdullah Alfaraj
|
7e4275c2da
|
code needed for doing img2img and inpainting in the horde, missing the base64 webp
|
2023-02-10 16:06:13 +03:00 |
Abdullah Alfaraj
|
9c307ed37a
|
another function for snap shot layer
|
2023-02-10 16:05:01 +03:00 |
Abdullah Alfaraj
|
feb6428c03
|
add IO class dedicated for saving and loading from files
|
2023-02-10 16:04:14 +03:00 |
Abdullah Alfaraj
|
861bc2f45a
|
added interrupt horde request
|
2023-02-09 21:48:07 +03:00 |
Abdullah Alfaraj
|
a61cec03ff
|
added horde negative prompt support
|
2023-02-09 21:46:11 +03:00 |
Abdullah Alfaraj
|
dd106bee00
|
do the prompt_shortcut substitution in getSettings()
|
2023-02-09 02:52:33 +03:00 |
Abdullah Alfaraj
|
914a6409aa
|
added hordeGenerator class to images in txt2img mode
|
2023-02-09 02:49:37 +03:00 |
Abdullah Alfaraj
|
d8cc9a00ca
|
move progress bar update function to html_manip.js
|
2023-02-09 02:40:01 +03:00 |
Abdullah Alfaraj
|
d44c3fc051
|
naming utilities
|
2023-02-09 02:38:29 +03:00 |
Abdullah Alfaraj
|
1678f790c3
|
select stable_diffusion model as the default model for the horde
|
2023-02-08 15:50:19 +03:00 |
Abdullah Alfaraj
|
0cfdb80850
|
move the generated image to selection area
|
2023-02-08 15:49:44 +03:00 |
Abdullah Alfaraj
|
52b5596031
|
use g_generation_session.selectionInfo instead of g_selection
|
2023-02-08 15:48:27 +03:00 |
Abdullah Alfaraj
|
e12e8d7742
|
store the horde generated images into the output folder
|
2023-02-08 13:21:18 +03:00 |
Abdullah Alfaraj
|
31cc01e775
|
map the plugin settings to the horde settings
|
2023-02-08 02:13:11 +03:00 |
Abdullah Alfaraj
|
fef5a0d696
|
setup the horde native rest api
|
2023-02-07 18:48:35 +03:00 |
Abdullah Alfaraj
|
6991619446
|
fix the prompt shortcut not loading correctly
|
2023-02-07 14:20:39 +03:00 |
Abdullah Alfaraj
|
d3b3d022ef
|
open links using the proxy server
|
2023-02-06 15:41:54 +03:00 |
Abdullah Alfaraj
|
808406ed7b
|
load metadata from history tab
|
2023-02-05 17:23:02 +03:00 |
Abdullah Alfaraj
|
4aeba9004a
|
store the auto metadata data in both txt2img and img2img modes
|
2023-02-05 11:36:28 +03:00 |
Abdullah Alfaraj
|
aade243e7f
|
add auto1111 get metadata function
|
2023-02-05 10:49:20 +03:00 |
Abdullah Alfaraj
|
ccac9a4be4
|
remove dead code
|
2023-02-04 22:46:19 +03:00 |
Abdullah Alfaraj
|
7d4db305f1
|
save and load the prompt shortcut
|
2023-02-04 21:23:02 +03:00 |
Abdullah Alfaraj
|
1eeb449cbc
|
add options to select the extension type
|
2023-02-04 17:25:23 +03:00 |
Abdullah Alfaraj
|
7b3118120c
|
fix null keywords issue
|
2023-02-04 17:24:09 +03:00 |
Abdullah Alfaraj
|
3f0409e8c0
|
use extension type in mask expansion request
|
2023-02-04 16:30:26 +03:00 |
Abdullah Alfaraj
|
02ef6fa695
|
add an extension type option
|
2023-02-04 16:29:01 +03:00 |
Abdullah Alfaraj
|
ab13d10e97
|
add mask expansion and prompt shortcut support to the .ccx package
|
2023-02-04 12:56:34 +03:00 |
Abdullah Alfaraj
|
70f6b6a612
|
add support to prompt shortcut in txt2img mode
|
2023-02-03 13:52:56 +03:00 |
Abdullah Alfaraj
|
bd8bb1d6d7
|
fix bug: submit new sd url will not do anything
|
2023-02-02 19:03:06 +03:00 |
Abdullah Alfaraj
|
874f804446
|
replace python server dependency for txt2img and img2img mode
|
2023-02-02 09:29:11 +03:00 |
Abdullah Alfaraj
|
34d8928898
|
all communication between plugin ui and proxy server is done through rest api
|
2023-02-01 12:34:53 +03:00 |
Abdullah Alfaraj
|
3c4a87fc01
|
store the output images in the generation_session
|
2023-01-31 18:02:19 +03:00 |
Abdullah Alfaraj
|
28f884de64
|
fix prettier formatting
|
2023-01-31 07:34:57 +03:00 |
Abdullah Alfaraj
|
4c04a8ae6e
|
remove sim from formatting
|
2023-01-31 07:09:06 +03:00 |
Abdullah Alfaraj
|
c557556e9c
|
apply formatting to the code base
|
2023-01-30 02:00:05 +03:00 |
Abdullah Alfaraj
|
84eb7dd2ff
|
add the history button
|
2023-01-26 20:31:39 +03:00 |
Abdullah Alfaraj
|
00efaa60ee
|
add tips to ui on hover
|
2023-01-26 02:12:35 +03:00 |
Abdullah Alfaraj
|
a9620756ac
|
add fill and original preset
|
2023-01-26 02:09:14 +03:00 |
Abdullah Alfaraj
|
98753acb73
|
selecting a layer should not change it's visibility
|
2023-01-25 22:54:45 +03:00 |
Abdullah Alfaraj
|
d6c2b89dae
|
add preset menu settings
|
2023-01-25 20:14:54 +03:00 |
Abdullah Alfaraj
|
b60faa38d8
|
add support to the horde
|
2023-01-25 07:30:12 +03:00 |
Abdullah Alfaraj
|
56ffe683e4
|
add images from history to canvas
|
2023-01-25 03:39:06 +03:00 |
Abdullah Alfaraj
|
e46a6860f9
|
add a snapshot canvas button
|
2023-01-24 19:28:32 +03:00 |
Abdullah Alfaraj
|
e231e963ab
|
fix bug: don't delete selection area on end of session
|
2023-01-24 18:00:16 +03:00 |
Abdullah Alfaraj
|
41ac8c56f2
|
add ui settings manager class for preset
|
2023-01-24 17:00:55 +03:00 |
Abdullah Alfaraj
|
cd9e8fbfdb
|
bug fix: resize correctly on silent import
|
2023-01-24 05:42:17 +03:00 |
Abdullah Alfaraj
|
e77a2439e3
|
create a temp mask layer when transitioning from inpaint session to another inpaint session
|
2023-01-23 04:33:28 +03:00 |
Abdullah Alfaraj
|
11dad32a62
|
refactor easyModeGenerate
|
2023-01-23 02:37:53 +03:00 |
Abdullah Alfaraj
|
0437cce5ed
|
fix bug: wait for the session to start
|
2023-01-23 01:31:55 +03:00 |
Abdullah Alfaraj
|
6507ef2ef3
|
fix snapAndFill bug
|
2023-01-23 00:00:35 +03:00 |
Abdullah Alfaraj
|
52e9a2d254
|
create a session folder and place the generated images in it
|
2023-01-22 22:29:44 +03:00 |
Abdullah Alfaraj
|
c0353286ec
|
reselecting the session selection area is irrelevant if we have changed the mode
|
2023-01-20 15:42:08 +03:00 |
Abdullah Alfaraj
|
5037bf2df1
|
rename custom mode to accept selected
|
2023-01-19 20:01:16 +03:00 |
Abdullah Alfaraj
|
be620059e3
|
method to change the generate btn names
|
2023-01-18 19:41:13 +03:00 |
Abdullah Alfaraj
|
e8c51b50df
|
moving the selection will change generate button ui/ indicate end of session
|
2023-01-18 15:54:19 +03:00 |
Abdullah Alfaraj
|
8a6bb515e0
|
add acceptAll, discardALL and acceptSelected functionality to manage the generated images
|
2023-01-18 15:05:09 +03:00 |
Abdullah Alfaraj
|
7e167cf478
|
add UI class to handle all ui related logic
|
2023-01-18 13:40:03 +03:00 |
Abdullah Alfaraj
|
ce0b5ae00d
|
all session management will be done by GenerationSession class
|
2023-01-18 13:05:07 +03:00 |
Abdullah Alfaraj
|
a493dad00b
|
adding a mask expansion slider
|
2023-01-17 19:44:04 +03:00 |
Abdullah Alfaraj
|
8dce0f0f2e
|
add a clipping mask to MaskGroup in outpaint mode
|
2023-01-17 16:58:54 +03:00 |
Abdullah Alfaraj
|
bec3498a70
|
add an interface class to access sd config info
|
2023-01-17 13:26:11 +03:00 |
Abdullah Alfaraj
|
d5b25fc365
|
add an interface class to handle and parse through sd options
|
2023-01-17 11:12:12 +03:00 |
Abdullah Alfaraj
|
595fd5ab3a
|
only delete inpaint mask layer if it exist
|
2023-01-15 07:22:40 +03:00 |
Abdullah Alfaraj
|
2035a84cb9
|
collapse mask related folders
|
2023-01-13 23:43:58 +03:00 |
Abdullah Alfaraj
|
c08f2436ea
|
add collapse group functionality
|
2023-01-13 05:11:51 +03:00 |
Abdullah Alfaraj
|
7a90467941
|
tips to be injected into their corresponding html elements
|
2023-01-12 22:06:48 +03:00 |
Abdullah Alfaraj
|
4daf48b653
|
get the index of the current layer
|
2023-01-11 12:33:19 +03:00 |
Abdullah Alfaraj
|
4416c78005
|
add new layer utility
|
2023-01-11 05:00:24 +03:00 |