a-person-mask-generator
a-person-mask-generator copied to clipboard
Does not work correctly by API
Good afternoon, the problem is the following - in the browser, using the module, changes clothes perfectly. Unniffed the request, prescribed parameters in the api http://127.0.0.1:7860/sdapi/v1/img2img - does not change clothes fully, it feels like denosing does not set, although set 0.9. Here are the parameters that I send on the api
{
"prompt": "<lora:add_detail:0.8>, <lora:more_details:0.3>, masterpiece, high quality, 8k, beautiful lighting, absurdres, perfect anatomy, ((swimsuit, blue swimsuit)), ",
"negative_prompt": "(worst quality, low quality, ugly:1.4), (deformed, distorted, disfigured:1.3), stacked torsos, totem pole, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, text, watermark",
"sampler_name": "Euler a",
"styles": [],
"seed": -1,
"subseed": -1,
"subseed_strength": 0,
"seed_resize_from_h": -1,
"seed_resize_from_w": -1,
"batch_size": 1,
"n_iter": 1,
"steps": 24,
"cfg_scale": 7,
"width": 640,
"height": 848,
"restore_faces": false,
"tiling": false,
"do_not_save_samples": false,
"do_not_save_grid": false,
"eta": 0,
"denoising_strength": 0.9,
"s_min_uncond": 0,
"s_churn": 0,
"s_tmax": 0,
"s_tmin": 0,
"s_noise": 0,
"override_settings": {},
"disable_extra_networks": false,
"comments": {},
"init_images": [
"base64 our images"
],
"send_images": true,
"save_images": false,
"alwayson_scripts": {
"A Person Mask Generator": {
"args": [
true,
[
"clothes"
],
true,
4,
0,
1,
false, (or true - not change nothing)
256,
8
]
}
}
}
Been racking my brain for a couple days now that I haven't changed it already. What is the problem and what to do, please tell me. Thanks in advance
The first image is taken via the web. Models etc. are the same, all parameters are the same
This is the result we get from the API