Closed LX-Jimmy closed 1 year ago
You can try this extension: https://github.com/huchenlei/sd-webui-api-payload-display .
it will display the api payload after you do a generation in webui.
You can try this extension: https://github.com/huchenlei/sd-webui-api-payload-display .
it will display the api payload after you do a generation in webui.
it is super helpful. And I found my problem was just sd version issue. When I have updated sd to latest one, terminal still used an old one.
You can try this extension: https://github.com/huchenlei/sd-webui-api-payload-display .
it will display the api payload after you do a generation in webui.
I install your extension but nothing is shown. It will be better if you can provide some useful guides. Thanks!
It only shows payload after you generate something.
It sounds like the documentation is out of date for the API. So what is the fix? The suggestion extension is now broken.
Is there an existing issue for this?
What happened?
I tried to use controlnet web API to generate image. The API URL is /sdapi/v1/img2img, I can successfully generate image without controlnet, but accroding to https://github.com/Mikubill/sd-webui-controlnet/wiki/API#migrating-from-controlnet2img-to-sdapiv12img, when I added:
"alwayson_scripts": { "controlnet": { "args": [ { "module": "canny", "model": "control_canny-fp16 [e3fe7712]" } ] } }
it seems that the img2img run fine but the controlnet model doesn't kick in
I have searched for this problem, I see this problems occured in March when the sd and controlnet updated. The link is: https://github.com/Mikubill/sd-webui-controlnet/issues/571
I also tried to post an array as previous solutions told us to do, it was still useless
My post body is: { "denoising_strength": 1, "maskblur": 4, "prompt": "halo, paimon(genshin_impact), 1girl, simple_background, open_mouth, white_background, sparkle, solo, monochrome", "seed": 3974759810, "sampler_name": "Euler a", "steps": 50, "cfg_scale": 7, "width": 1024, "height": 1024, "alwayson_scripts": { "ControlNet": { "args": [ "module": "canny", "model": "control_canny-fp16 [e3fe7712]" ] } } "init_images": [encoded image] }
I have also tried to add "input_image" to controlnet, it was also useless
Steps to reproduce the problem
What should have happened?
it should get result processed by controlnet
Commit where the problem happens
None
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of enabled extensions
None
Console logs
Additional information
No response