diff --git a/BaiHu/Image/31/1.png b/BaiHu/Image/31/1.png new file mode 100644 index 00000000..c66a4708 Binary files /dev/null and b/BaiHu/Image/31/1.png differ diff --git a/BaiHu/Image/31/2.png b/BaiHu/Image/31/2.png new file mode 100644 index 00000000..a03f1999 Binary files /dev/null and b/BaiHu/Image/31/2.png differ diff --git a/BaiHu/Image/31/3.png b/BaiHu/Image/31/3.png new file mode 100644 index 00000000..1bd2ae17 Binary files /dev/null and b/BaiHu/Image/31/3.png differ diff --git a/BaiHu/Image/31/4.png b/BaiHu/Image/31/4.png new file mode 100644 index 00000000..8a32c30a Binary files /dev/null and b/BaiHu/Image/31/4.png differ diff --git a/BaiHu/Image/31/5.png b/BaiHu/Image/31/5.png new file mode 100644 index 00000000..c4d0020f Binary files /dev/null and b/BaiHu/Image/31/5.png differ diff --git a/BaiHu/JSON/28.bak b/BaiHu/JSON/28.bak deleted file mode 100644 index 943ac003..00000000 --- a/BaiHu/JSON/28.bak +++ /dev/null @@ -1,34 +0,0 @@ -"alwayson_scripts": { - "ControlNet": { - "args": [ - { - "enabled": true, - "model": "ip-adapter_instant_id_sdxl [eb2d3ec0]", - "module": "instant_id_face_embedding", - "weight": 1, - "resize_mode": "Crop and Resize", - "guidance_start": 0, - "guidance_end": 1, - "pixel_perfect": true, - "processor_res": 512, - "save_detected_map": false, - "input_image": "{{input_image1}}", - "control_mode": "My prompt is more important" - }, - { - "enabled": true, - "model": "control_instant_id_sdxl [c5c25a50]", - "module": "instant_id_face_keypoints", - "weight": 1, - "resize_mode": "Crop and Resize", - "guidance_start": 0, - "guidance_end": 1, - "pixel_perfect": true, - "processor_res": 512, - "save_detected_map": false, - "input_image": "{{input_image2}}", - "control_mode": "ControlNet is more important" - } - ] - } - } \ No newline at end of file diff --git a/BaiHu/JSON/31_1.json b/BaiHu/JSON/31_1.json new file mode 100644 index 00000000..f1a39ac9 --- /dev/null +++ b/BaiHu/JSON/31_1.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]", + "sd_vae": "Automatic" + }, + "prompt": "Kinghere xgju,1girl,dress,mushroom,long hair,blurry,tree,white dress,short sleeves,house,depth of field,puffy sleeves,outdoors,realistic,puffy short sleeves,own hands together,bangs,flower,black hair,lips,nature,brown hair,standing,blunt bangs,food,forest,lace,looking at viewer,black eyes,building,hair flower,lace-trimmed dress,blue eyes,blurry background,candy,grass,lace trim,child,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,,,", + "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": 1024, + "height": 1536, + "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/31_2.json b/BaiHu/JSON/31_2.json new file mode 100644 index 00000000..f1a39ac9 --- /dev/null +++ b/BaiHu/JSON/31_2.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]", + "sd_vae": "Automatic" + }, + "prompt": "Kinghere xgju,1girl,dress,mushroom,long hair,blurry,tree,white dress,short sleeves,house,depth of field,puffy sleeves,outdoors,realistic,puffy short sleeves,own hands together,bangs,flower,black hair,lips,nature,brown hair,standing,blunt bangs,food,forest,lace,looking at viewer,black eyes,building,hair flower,lace-trimmed dress,blue eyes,blurry background,candy,grass,lace trim,child,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,,,", + "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": 1024, + "height": 1536, + "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/31_3.json b/BaiHu/JSON/31_3.json new file mode 100644 index 00000000..f1a39ac9 --- /dev/null +++ b/BaiHu/JSON/31_3.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]", + "sd_vae": "Automatic" + }, + "prompt": "Kinghere xgju,1girl,dress,mushroom,long hair,blurry,tree,white dress,short sleeves,house,depth of field,puffy sleeves,outdoors,realistic,puffy short sleeves,own hands together,bangs,flower,black hair,lips,nature,brown hair,standing,blunt bangs,food,forest,lace,looking at viewer,black eyes,building,hair flower,lace-trimmed dress,blue eyes,blurry background,candy,grass,lace trim,child,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,,,", + "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": 1024, + "height": 1536, + "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/31_4.json b/BaiHu/JSON/31_4.json new file mode 100644 index 00000000..f1a39ac9 --- /dev/null +++ b/BaiHu/JSON/31_4.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]", + "sd_vae": "Automatic" + }, + "prompt": "Kinghere xgju,1girl,dress,mushroom,long hair,blurry,tree,white dress,short sleeves,house,depth of field,puffy sleeves,outdoors,realistic,puffy short sleeves,own hands together,bangs,flower,black hair,lips,nature,brown hair,standing,blunt bangs,food,forest,lace,looking at viewer,black eyes,building,hair flower,lace-trimmed dress,blue eyes,blurry background,candy,grass,lace trim,child,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,,,", + "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": 1024, + "height": 1536, + "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/31_5.json b/BaiHu/JSON/31_5.json new file mode 100644 index 00000000..15814639 --- /dev/null +++ b/BaiHu/JSON/31_5.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]", + "sd_vae": "Automatic" + }, + "prompt": "Kinghere xgju,1girl,dress,mushroom,long hair,blurry,tree,white dress,short sleeves,house,depth of field,puffy sleeves,outdoors,realistic,puffy short sleeves,own hands together,bangs,flower,black hair,lips,nature,brown hair,standing,blunt bangs,food,forest,lace,looking at viewer,black eyes,building,hair flower,lace-trimmed dress,blue eyes,blurry background,candy,grass,lace trim,child,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,depth of field,,,", + "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": 1024, + "height": 1536, + "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 7fcfdbe2..454f11f2 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,1);" # 模型编号 -model_id = 30 +model_id = 31 # 模型名称 -model_name = '祖国的花朵' +model_name = '绿野仙踪' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)'