diff --git a/BaiHu/Image/23/1.png b/BaiHu/Image/23/1.png new file mode 100644 index 00000000..af525f35 Binary files /dev/null and b/BaiHu/Image/23/1.png differ diff --git a/BaiHu/Image/23/2.png b/BaiHu/Image/23/2.png new file mode 100644 index 00000000..3c41e7f2 Binary files /dev/null and b/BaiHu/Image/23/2.png differ diff --git a/BaiHu/Image/23/3.png b/BaiHu/Image/23/3.png new file mode 100644 index 00000000..8943cf97 Binary files /dev/null and b/BaiHu/Image/23/3.png differ diff --git a/BaiHu/Image/23/4.png b/BaiHu/Image/23/4.png new file mode 100644 index 00000000..5b4f3045 Binary files /dev/null and b/BaiHu/Image/23/4.png differ diff --git a/BaiHu/Image/23/5.png b/BaiHu/Image/23/5.png new file mode 100644 index 00000000..fc913747 Binary files /dev/null and b/BaiHu/Image/23/5.png differ diff --git a/BaiHu/JSON/23_1.json b/BaiHu/JSON/23_1.json new file mode 100644 index 00000000..6513b33e --- /dev/null +++ b/BaiHu/JSON/23_1.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "ReVAnimated_v122_V122.safetensors [f8bb2922e1]", + "sd_vae": "Automatic" + }, + "prompt": "cxs,masterpiece,best quality,super detailed,upper body,8K,chibi face,,,", + "negative_prompt": "NSFW,blurry,low quality,watermark,monochrome,badhandv4,easynegative,ng_deepnegative_v1_75t,bad proportions,mutated hands and fingers,poorly drawn face,extra limb,missing limb,malformed limbs,disconnected limbs,ugly,floating limbs,extra legs,mutation,bad body,long neck,cross-eyed,text,cleavage,", + "steps": 45, + "sampler_name": "DPM++ 2M Karras", + "width": 816, + "height": 1456, + "batch_size": 1, + "n_iter": 1, + "seed": 1, + "cfg_scale": 7, + "CLIP_stop_at_last_layers": 2, + "init_images": [ + "string" + ], + "restore_faces": false, + "enable_hr": true, + "denoising_strength": 0.5, + "alwayson_scripts": { + "ControlNet": { + "args": [ + { + "enabled": true, + "model": "ip-adapter-faceid-plusv2_sd15 [6e14fc1a]", + "module": "ip-adapter_face_id_plus", + "weight": 1, + "resize_mode": "Crop and Resize", + "guidance_start": 0, + "guidance_end": 1, + "pixel_perfect": true, + "processor_res": 512, + "save_detected_map": true, + "input_image": "string", + "control_mode": "My prompt is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/23_2.json b/BaiHu/JSON/23_2.json new file mode 100644 index 00000000..6513b33e --- /dev/null +++ b/BaiHu/JSON/23_2.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "ReVAnimated_v122_V122.safetensors [f8bb2922e1]", + "sd_vae": "Automatic" + }, + "prompt": "cxs,masterpiece,best quality,super detailed,upper body,8K,chibi face,,,", + "negative_prompt": "NSFW,blurry,low quality,watermark,monochrome,badhandv4,easynegative,ng_deepnegative_v1_75t,bad proportions,mutated hands and fingers,poorly drawn face,extra limb,missing limb,malformed limbs,disconnected limbs,ugly,floating limbs,extra legs,mutation,bad body,long neck,cross-eyed,text,cleavage,", + "steps": 45, + "sampler_name": "DPM++ 2M Karras", + "width": 816, + "height": 1456, + "batch_size": 1, + "n_iter": 1, + "seed": 1, + "cfg_scale": 7, + "CLIP_stop_at_last_layers": 2, + "init_images": [ + "string" + ], + "restore_faces": false, + "enable_hr": true, + "denoising_strength": 0.5, + "alwayson_scripts": { + "ControlNet": { + "args": [ + { + "enabled": true, + "model": "ip-adapter-faceid-plusv2_sd15 [6e14fc1a]", + "module": "ip-adapter_face_id_plus", + "weight": 1, + "resize_mode": "Crop and Resize", + "guidance_start": 0, + "guidance_end": 1, + "pixel_perfect": true, + "processor_res": 512, + "save_detected_map": true, + "input_image": "string", + "control_mode": "My prompt is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/23_3.json b/BaiHu/JSON/23_3.json new file mode 100644 index 00000000..d4f7c69f --- /dev/null +++ b/BaiHu/JSON/23_3.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "ReVAnimated_v122_V122.safetensors [f8bb2922e1]", + "sd_vae": "Automatic" + }, + "prompt": "cxs,masterpiece,best quality,super detailed,upper body,8K,chibi face,,,", + "negative_prompt": "NSFW,blurry,low quality,watermark,monochrome,badhandv4,easynegative,ng_deepnegative_v1_75t,bad proportions,mutated hands and fingers,poorly drawn face,extra limb,missing limb,malformed limbs,disconnected limbs,ugly,floating limbs,extra legs,mutation,bad body,long neck,cross-eyed,text,cleavage,", + "steps": 45, + "sampler_name": "DPM++ 2M Karras", + "width": 768, + "height": 1024, + "batch_size": 1, + "n_iter": 1, + "seed": 1, + "cfg_scale": 7, + "CLIP_stop_at_last_layers": 2, + "init_images": [ + "string" + ], + "restore_faces": false, + "enable_hr": true, + "denoising_strength": 0.5, + "alwayson_scripts": { + "ControlNet": { + "args": [ + { + "enabled": true, + "model": "ip-adapter-faceid-plusv2_sd15 [6e14fc1a]", + "module": "ip-adapter_face_id_plus", + "weight": 1, + "resize_mode": "Crop and Resize", + "guidance_start": 0, + "guidance_end": 1, + "pixel_perfect": true, + "processor_res": 512, + "save_detected_map": true, + "input_image": "string", + "control_mode": "My prompt is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/23_4.json b/BaiHu/JSON/23_4.json new file mode 100644 index 00000000..d4f7c69f --- /dev/null +++ b/BaiHu/JSON/23_4.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "ReVAnimated_v122_V122.safetensors [f8bb2922e1]", + "sd_vae": "Automatic" + }, + "prompt": "cxs,masterpiece,best quality,super detailed,upper body,8K,chibi face,,,", + "negative_prompt": "NSFW,blurry,low quality,watermark,monochrome,badhandv4,easynegative,ng_deepnegative_v1_75t,bad proportions,mutated hands and fingers,poorly drawn face,extra limb,missing limb,malformed limbs,disconnected limbs,ugly,floating limbs,extra legs,mutation,bad body,long neck,cross-eyed,text,cleavage,", + "steps": 45, + "sampler_name": "DPM++ 2M Karras", + "width": 768, + "height": 1024, + "batch_size": 1, + "n_iter": 1, + "seed": 1, + "cfg_scale": 7, + "CLIP_stop_at_last_layers": 2, + "init_images": [ + "string" + ], + "restore_faces": false, + "enable_hr": true, + "denoising_strength": 0.5, + "alwayson_scripts": { + "ControlNet": { + "args": [ + { + "enabled": true, + "model": "ip-adapter-faceid-plusv2_sd15 [6e14fc1a]", + "module": "ip-adapter_face_id_plus", + "weight": 1, + "resize_mode": "Crop and Resize", + "guidance_start": 0, + "guidance_end": 1, + "pixel_perfect": true, + "processor_res": 512, + "save_detected_map": true, + "input_image": "string", + "control_mode": "My prompt is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/23_5.json b/BaiHu/JSON/23_5.json new file mode 100644 index 00000000..f223fbe5 --- /dev/null +++ b/BaiHu/JSON/23_5.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "ReVAnimated_v122_V122.safetensors [f8bb2922e1]", + "sd_vae": "Automatic" + }, + "prompt": "cxs,masterpiece,best quality,super detailed,upper body,8K,chibi face,,,", + "negative_prompt": "NSFW,blurry,low quality,watermark,monochrome,badhandv4,easynegative,ng_deepnegative_v1_75t,bad proportions,mutated hands and fingers,poorly drawn face,extra limb,missing limb,malformed limbs,disconnected limbs,ugly,floating limbs,extra legs,mutation,bad body,long neck,cross-eyed,text,cleavage,", + "steps": 45, + "sampler_name": "DPM++ 2M Karras", + "width": 576, + "height": 1024, + "batch_size": 1, + "n_iter": 1, + "seed": 1, + "cfg_scale": 7, + "CLIP_stop_at_last_layers": 2, + "init_images": [ + "string" + ], + "restore_faces": false, + "enable_hr": true, + "denoising_strength": 0.5, + "alwayson_scripts": { + "ControlNet": { + "args": [ + { + "enabled": true, + "model": "ip-adapter-faceid-plusv2_sd15 [6e14fc1a]", + "module": "ip-adapter_face_id_plus", + "weight": 1, + "resize_mode": "Crop and Resize", + "guidance_start": 0, + "guidance_end": 1, + "pixel_perfect": true, + "processor_res": 512, + "save_detected_map": true, + "input_image": "string", + "control_mode": "My prompt is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/Tools/addModel.py b/BaiHu/Tools/addModel.py index 27ccc738..aeda4272 100644 --- a/BaiHu/Tools/addModel.py +++ b/BaiHu/Tools/addModel.py @@ -6,10 +6,10 @@ from Util.PgUtil import * sql = "INSERT INTO t_hy_model(model_id,model_name,memo,star,update_time,img_count,b_use,sort_id,model_type_id,style_id,is_cover) VALUES (%s,%s, %s,%s,now(),%s,1,1,%s,%s,%s);" # 模型编号 -model_id = 21 +model_id = 23 # 模型名称 -model_name = '阳光男孩' +model_name = '吾家有女' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)'