ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

How to use deepbooru in ComfyUI?

Open VenkatLohithDasari opened this issue 3 years ago • 8 comments

Hey guys, I'm trying to convert some images into "almost" anime style using anythingv3 model. So It's like this, I first input image, then using deep-danbooru, I extract tags for that specific image then use that as a prompt to do img2img process.

Sorry, I'm new in all of these, and first time using Comfy, so I wanted to know how can I use deep-Danbooru here like interrogate deepbooru feature in Auto1111 WebUI.

VenkatLohithDasari avatar Jul 27 '23 06:07 VenkatLohithDasari

https://github.com/pythongosssss/ComfyUI-WD14-Tagger

ltdrdata avatar Jul 27 '23 13:07 ltdrdata

pythongosssss/ComfyUI-WD14-Tagger

Thanks for that but How can I take the string (tags) and then put them to the clip prompt's text field? there seems to be no way to do that....plus no info is given regarding that in the extension repo

VenkatLohithDasari avatar Jul 28 '23 11:07 VenkatLohithDasari

pythongosssss/ComfyUI-WD14-Tagger

Thanks for that but How can I take the string (tags) and then put them to the clip prompt's text field? there seems to be no way to do that....plus no info is given regarding that in the extension repo

https://www.youtube.com/watch?v=HV2kyxNoYAE

I'd uploaded usage video of WD14 Tagger.

ltdrdata avatar Jul 28 '23 12:07 ltdrdata

youtube.com/watch?v=HV2kyxNoYAE

I'd uploaded usage video of WD14 Tagger.

Dam! thankyou so much for uploading the usage video guide! It made understanding things simpler!!

VenkatLohithDasari avatar Jul 28 '23 13:07 VenkatLohithDasari

Hi. I am so new to Comfy and have been enjoying it so much. In your You tube video above what happens at : 1:07 / 2:48 It is the point when the tagger is triggered. How did you trigger it ? I have watched it closely, it seems you went to the checkpoint node clicked it and then go to the tagger node. You elarge the tagger node and then something happens to trigger it and it goes green. You did not click on the Queue Promt (i tried that) so Im assume you hit a key on the keyboard ? Thanks so much ! I did not install onnxruntime, is that why ?

Seanscrafts avatar Sep 04 '23 23:09 Seanscrafts

Hi. I am so new to Comfy and have been enjoying it so much. In your You tube video above what happens at : 1:07 / 2:48 It is the point when the tagger is triggered. How did you trigger it ? I have watched it closely, it seems you went to the checkpoint node clicked it and then go to the tagger node. You elarge the tagger node and then something happens to trigger it and it goes green. You did not click on the Queue Promt (i tried that) so Im assume you hit a key on the keyboard ? Thanks so much !

"ctrl-enter" is equivalent to "click queue prompt"

Read README page in ComfyUI repo. You can find bunch of useful shortcut keys.

ltdrdata avatar Sep 04 '23 23:09 ltdrdata

It works now, it just does not preview the text in the tagger node but when I plug the string node into the clip text prompt it works. I do have the preview method in Comfi manager set to auto. Thank you

Seanscrafts avatar Sep 05 '23 00:09 Seanscrafts

Does Deepdanbooru use a different model compared to WD14? If so then are there other models out there with different base dataset? P.S. WAS has a plugin with BLIP which is somewhat "CLIP Interrogator" but requires an initial prompt instead of being fully auto, wondering what can be done

TomLucidor avatar Oct 20 '23 09:10 TomLucidor