Posts: 29
Threads: 0
Joined: Feb 2024
Reputation:
0
Gimp version:
Operating system(s): Windows Vista or 7, 8, 10 (64-bit)
(10-10-2024, 05:44 PM)nchen Wrote: Cześć,
stworzyłem kilka wtyczek wykorzystujących ComfyUI do dodawania funkcji AI do Gimpa. Obejmują one wymazywanie obiektów, generowanie obrazów i generowanie obrazu do obrazu. Mam kilka filmów na moim Githubie: https://github.com/nchenevey1/gimp-comfy-tools
Możliwości są ograniczone wyobraźnią. Planuję w przyszłości dodać funkcję skalowania w górę, która pozwoli niezawodnie tworzyć dobre zdjęcia AI o rozdzielczości powyżej 8000x8000 lub poprawiać zdjęcia o niskiej rozdzielczości. Jestem jednak biednym studentem, więc proszę o cierpliwość, jeśli masz jakieś prośby dotyczące funkcji.
Osobiście nie uważam, że sztuka AI jest nieetyczna, ale może to złagodzić te wątpliwości związane z oprogramowaniem open source i generowaniem lokalnym. Wadą jest to, że wymaga to dostępu do pamięci VRAM lokalnie lub przez Websocket, a także miejsca na duże modele (zwykle 2-10 gigabajtów każdy). Działa to dobrze u mnie z kartą graficzną RTX 3060 w laptopie.
Jeśli komuś się to podoba i chciałby pomocy w konfiguracji, dajcie znać.
Mam nadzieję, że wszystkim się to spodoba!
Mam pytanie do autora:
Jak zainstalować program GIMP krok po kroku w wersji 2.10 lub 3.0
Zwłaszcza jeśli nie jest się programistą.
W żadnym wypadku nie może
Posts: 1
Threads: 0
Joined: Sep 2025
Reputation:
0
Gimp version:
Operating system(s): Windows 11
(10-30-2024, 06:14 PM)nchen Wrote: (10-30-2024, 05:27 AM)inkdolls Wrote: Ok, thanks for your reply, I guess that works, but I already had managed to make it work before reading your post.
I found the last version of rgthree that still has the old node. Once I copied it, I finally got an image to appear in Gimp!
I've had a few hiccups though:
The checkpoint in the workflow overrides whatever I place in the dialog window in GImp. In fact, I initially got an error of 'Value not in list: ckpt_name: '1.5_dreamshaper_8.safetensors', since I don't have that model in my computer, it only worked when I manually edited the json file.
The Gimp plugin throws an error when reading json files that ComfyUI saves. I couldn't just save a modified workflow of yours, I had to manually edit the file.
Thanks a lot for this! This is going to be very useful. Sometimes I do a lot of back and forth between Gimp and Stable Diffusion.
It actually reminds me of how specialized solutions like https://www.cogniteq.com/sports-software/fitness-apps are built to streamline workflows and cut down on repetitive back-and-forth between tools
In regards to the checkpoint not working, are you supplying just the checkpoint name or the entire path? When selecting the file in the GIMP menu, it should provide the entire path. The way I currently have it, the code checks the provided path and selects just the file name at the end. Ultimately, just the name is necessary so this is an oversight on my part.
Another possibility: The code looks for the CheckPointLoaderSimple node (default checkpoint loader). Using another one might not work.
For the ComfyUI json files, you'll have to save as an API file. It should be one of the "save" options on the ComfyUI menu.
Also, I updated the files so it should work with the up-to-date rgthree power lora loader. I'll try to make the node options more flexible in the future.
You're welcome! Hopefully we can get it up and working smoothly for you. I appreciate you helping me with bug fixing 
I’ve seen this fail when the checkpoint lives in a subfolder or only via extra_model_paths.yaml CheckpointLoaderSimple resolves bare names only from models/checkpoints at server start, so a restart or using a loader that accepts full paths is required
|