API and WEBUI have different effects #10934
xiaoxuwei12345
started this conversation in
General
Replies: 1 comment
-
Seems like your image generated from api is in bgr format while from UI it is in rgb format Using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The image generated by the API method of tile is different from that generated by the WEBUI method. As shown in the figure, the image generated by the API method is blue. Is my parameter setting incorrect?

"alwayson_scripts": {
"controlnet": {
"args": [
{
"input_image": encoded_image2,
"module": "tile_resample",
"model": "control_v11f1e_sd15_tile [a371b31b]",
"weight": 1,
"resize_mode": "Scale to Fit (Inner Fit)",
"lowvram": False,
"processor_res": 512,
"threshold_a": 0,
"threshold_b": 64,
"guidance_start": 0,
"guidance_end": 1,
"down_sampling_rate": 1,
"control_mode": 0,
}
]
}
}
Beta Was this translation helpful? Give feedback.
All reactions