sdwebuiapi icon indicating copy to clipboard operation
sdwebuiapi copied to clipboard

Do this api support the latest controlnet function--reference only? Seems not

Open UrwLee opened this issue 1 year ago • 4 comments

UrwLee avatar Jun 07 '23 07:06 UrwLee

I'm not sure what you mean by reference only.

Did you mean detect function?

r = api.controlnet_detect(images=[img], module='canny')
r.image

mix1009 avatar Jun 08 '23 06:06 mix1009

Same issue here. I'm wondering whether it supports the controlnet module "reference_only". Thanks!

DanielSHKao avatar Jul 09 '23 21:07 DanielSHKao

I'm not sure what you mean by reference only.

Did you mean detect function?

r = api.controlnet_detect(images=[img], module='canny')
r.image

this function, I really want to have this feature, it works very well image

yier2333 avatar Jul 11 '23 05:07 yier2333

I found the reference , but I use two controlnet but only the first one is valid

controlnet_units=[unit2, unit1]

image

yier2333 avatar Jul 11 '23 08:07 yier2333