diff --git a/BaiHu/Image/21/1.png b/BaiHu/Image/21/1.png new file mode 100644 index 00000000..9d47d156 Binary files /dev/null and b/BaiHu/Image/21/1.png differ diff --git a/BaiHu/Image/21/2.png b/BaiHu/Image/21/2.png new file mode 100644 index 00000000..6c093fac Binary files /dev/null and b/BaiHu/Image/21/2.png differ diff --git a/BaiHu/Image/21/3.png b/BaiHu/Image/21/3.png new file mode 100644 index 00000000..e68e80d0 Binary files /dev/null and b/BaiHu/Image/21/3.png differ diff --git a/BaiHu/Image/21/4.png b/BaiHu/Image/21/4.png new file mode 100644 index 00000000..9298ef4c Binary files /dev/null and b/BaiHu/Image/21/4.png differ diff --git a/BaiHu/Image/21/5.png b/BaiHu/Image/21/5.png new file mode 100644 index 00000000..14ffebd1 Binary files /dev/null and b/BaiHu/Image/21/5.png differ diff --git a/BaiHu/JSON/21_1.json b/BaiHu/JSON/21_1.json new file mode 100644 index 00000000..710c3eb0 --- /dev/null +++ b/BaiHu/JSON/21_1.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "anime3dMix_1.safetensors [24aa136912]", + "sd_vae": "Automatic" + }, + "prompt": "The best quality,ultra-high definition,masterpieces,extreme detail,8k,realistic,boy,smile,cofe,close closed mouth,,,", + "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": 20, + "sampler_name": "DPM++ 2M Karras", + "width": 1024, + "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/21_2.json b/BaiHu/JSON/21_2.json new file mode 100644 index 00000000..b8ccbece --- /dev/null +++ b/BaiHu/JSON/21_2.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "anime3dMix_1.safetensors [24aa136912]", + "sd_vae": "Automatic" + }, + "prompt": "The best quality,ultra-high definition,masterpieces,extreme detail,8k,realistic,1boy, smile, solo,drinking straw,drinking,cup,,,", + "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": 20, + "sampler_name": "DPM++ 2M Karras", + "width": 1024, + "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/21_3.json b/BaiHu/JSON/21_3.json new file mode 100644 index 00000000..b6acacd9 --- /dev/null +++ b/BaiHu/JSON/21_3.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "anime3dMix_1.safetensors [24aa136912]", + "sd_vae": "Automatic" + }, + "prompt": "The best quality,ultra-high definition,masterpieces,extreme detail,8k,realistic,1boy, smile,,,", + "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": 20, + "sampler_name": "DPM++ 2M Karras", + "width": 1024, + "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/21_4.json b/BaiHu/JSON/21_4.json new file mode 100644 index 00000000..b8ccbece --- /dev/null +++ b/BaiHu/JSON/21_4.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "anime3dMix_1.safetensors [24aa136912]", + "sd_vae": "Automatic" + }, + "prompt": "The best quality,ultra-high definition,masterpieces,extreme detail,8k,realistic,1boy, smile, solo,drinking straw,drinking,cup,,,", + "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": 20, + "sampler_name": "DPM++ 2M Karras", + "width": 1024, + "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/21_5.json b/BaiHu/JSON/21_5.json new file mode 100644 index 00000000..b8ccbece --- /dev/null +++ b/BaiHu/JSON/21_5.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "anime3dMix_1.safetensors [24aa136912]", + "sd_vae": "Automatic" + }, + "prompt": "The best quality,ultra-high definition,masterpieces,extreme detail,8k,realistic,1boy, smile, solo,drinking straw,drinking,cup,,,", + "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": 20, + "sampler_name": "DPM++ 2M Karras", + "width": 1024, + "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 3d023e1c..27ccc738 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 = 20 +model_id = 21 # 模型名称 -model_name = '哈利波特【男版】' +model_name = '阳光男孩' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)'