stable diffusion 的 webui中api的使用,包括lora,controlnet、roop、vae等模块。 欢迎留言加群详细交流
{
"prompt": "(masterpiece, best quality,Refined, beautiful),haruno sakura",
"negative_prompt": " ((((big hands, un-detailed skin, semi-realistic)))), (((ugly mouth, ugly eyes,The disabled eyes, blurred eyes, missing teeth, crooked teeth, close up, cropped, out of frame))), worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck,Deforming fingers, incomplete fingers, extra fingers,Ugly face",
"override_settings": {
"sd_model_checkpoint": "MXCFSuper_Counterfeit/mxcfSuperCounterfeit_v10.safetensors [56c0585d87]",
"sd_vae": "YOZORA.vae.pt"
},
"clip_skip": 2,
"denoising_strength": 0.5,
"seed": -1,
"batch_size": 1,
"n_iter": 1,
"steps": 25,
"cfg_scale": 7,
"restore_faces": False,
"sampler_index": "DPM++ SDE Karras",
"resize_mode": 1, # "mask_blur": 10, # "tiling": False, # "eta": 0, # "script_args": [], # "inpainting_fill": 1, # "inpaint_full_res": True, # "inpaint_full_res_padding": 32, # "inpainting_mask_invert": 1,
"alwayson_scripts": {
"other plugin": {
"args": [arg1, arg2
]
} "ControlNet": {
"args": [
{
"enabled": True,
"input_image": "",
"mask": None,
"module": "canny",
"model": "control_sd15_canny [fef5e48e]",
"weight": 1,
"invert_image": False,
"resize_mode": 1,
"rgbbgr_mode": False,
"lowvram": False,
"processor_res": 512,
"threshold_a": 100,
"threshold_b": 200,
"starting_control_step": 0,
"ending_control_step": 1, # "guidance": 1, # "guidance_start": 0, # "guidance_end": 1,
"guessmode": False
}
]
}
}
}
参数解释:
模型:MXCFSuper_Counterfeit
VAE:none
Clip skip:2
Prompt:
Negative Prompt:””
Resize mode:Just resize
Sampling method:DPM++ SDE Karras
Sampling steps:25
Restore faces:flase
Width:所传图片宽度
Height:所传图片高度
Batch count:1
Batch size:1
CFG Scale:5
Denoising strength:0.5
Seed:-1
ControlNet:Enable
Control Type:Canny
Preprocessor:Canny
Model:control_sd15_canny
Control Weight:1
Starting Control Step:0
Ending Control Step:1
Preprocessor Resolution:512
Canny Low Threshold:100
Canny Hight Threshold:200
Control Mode:Balanced
Resize Mode:Crop and Resize
Script:none