Replies: 5 comments 5 replies
-
Any thoughts? Sorry to bother you @AUTOMATIC1111, but I'm really passionate about this project and continue to develop it, and would really love some guidance, even if minimal. Thanks!! |
Beta Was this translation helpful? Give feedback.
-
Here's how to create extensions. And here's some examples. |
Beta Was this translation helpful? Give feedback.
-
So... I did a little reading and playing around with this, and I've made some progress. For instance, I was able to get my script to be shown in the UI as its own accordion by changing the following lines in the python: def show(self, is_img2img): However, the script no longer triggers in img2img at all, and I imagine that's because I need to hook to an event somewhere. I've dug through other extensions but they are usually significantly more complicated, and so I haven't been able to decipher where the trigger point is. Two questions:
|
Beta Was this translation helpful? Give feedback.
-
I have one doubt, is there a way we can direclty make api call to the script and get the results. |
Beta Was this translation helpful? Give feedback.
-
I Do Not See Any Specific Language You Are Using, But If It Is Python (Like All Scripts Should Be) It Is A 1 Line Command In The Terminal. Replace 'your_script.py' With Your Filename & Wait A Minute For Everything To Complete. Now You Have A Fully Working .EXE As Long As The Original Script Is Functional. pyinstaller --onefile your_script.py |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all --
I just got my hands dirty recently modifying a publicly-available script for my own purposes. I would now like to convert it to a full blown extension so that it appears in the UI and allows me to use X/Y/Z Grid and other scripts alongside it (instead of taking up the only available script slot).
The script is fully functional with a usable UI. I have taken a look at the documentation for Scripts and Extensions but I'm having a hard time understanding the sum total of the differences and how much refactoring would be required to convert the script into an extension with its own UI. Can someone give me an idea of how big of a project this would be, and what the key steps of the process would be?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions