网站建设來选宙斯站长,洛阳 网站建设 大师字画,济南 制作网站 公司哪家好,软件开发方式webUI api payload 插件生成的接口参数不准确#xff0c;reference-only 的image不是对象#xff0c;就是不同字符串字段#xff0c;直接传#xff0c;不是套image。
综上#xff0c;那个插件参数不确定#xff0c;应直接看插件的源码#xff0c;看它接受什么参数
错误… webUI api payload 插件生成的接口参数不准确reference-only 的image不是对象就是不同字符串字段直接传不是套image。
综上那个插件参数不确定应直接看插件的源码看它接受什么参数
错误image:{image: None,mask: None},
正确 image:xxxxxx
看 stable diffusion 控制台输出说用上了reference-only 如果 image 传岔劈了控制台不会提示用了这个插件 请求参数-局部重绘
{prompt: ,negative_prompt: ,batch_size: 1,n_iter: 2, # n_iter: 1,seed: -1,steps: 30,cfg_scale: 7,sampler_name: DPM 2M Karras,width: 768,height: 1152, # fact_numinit_images: [],# 控制图像变化的程度如果0没有任何变化如果1则新图像不会跟随输入图像0.75是个很好的起点denoising_strength: 0.9,resize_mode: 0, # resize_mode: 2,mask: None,inpainting_fill: 1, # mask contentinpaint_full_res: 0, # inpaint areainpaint_full_res_padding: 32,alwayson_scripts: {ControlNet: {args: [{advanced_weighting: None,batch_images: ,control_mode: ControlNet is more important,enabled: True,guidance_end: 1,guidance_start: 0,hr_option: Both,image: None,#image: #{#image: None,#mask: None#},inpaint_crop_input_image: True,input_mode: simple,is_ui: True,loopback: False,low_vram: False,model: None,module: reference_only,output_dir: ,pixel_perfect: True,processor_res: -1,resize_mode: Crop and Resize,save_detected_map: True,threshold_a: 1,threshold_b: -1,weight: 2},{advanced_weighting: None,batch_images: ,control_mode: Balanced,enabled: True,guidance_end: 1,guidance_start: 0,hr_option: Both,image:{image: None,mask: None},inpaint_crop_input_image: True,input_mode: simple,is_ui: True,loopback: False,low_vram: False,model: control_v11p_sd15_openpose [cab727d4],module: openpose_full,output_dir: ,pixel_perfect: True,processor_res: 512,resize_mode: Crop and Resize,save_detected_map: True,threshold_a: -1,threshold_b: -1,weight: 1}]}}
}