diff --git a/BaiHu/Image/43/1.png b/BaiHu/Image/43/1.png new file mode 100644 index 00000000..bb69b8e1 Binary files /dev/null and b/BaiHu/Image/43/1.png differ diff --git a/BaiHu/Image/43/2.png b/BaiHu/Image/43/2.png new file mode 100644 index 00000000..9c4df2e8 Binary files /dev/null and b/BaiHu/Image/43/2.png differ diff --git a/BaiHu/Image/43/3.png b/BaiHu/Image/43/3.png new file mode 100644 index 00000000..a0e16a56 Binary files /dev/null and b/BaiHu/Image/43/3.png differ diff --git a/BaiHu/Image/43/4.png b/BaiHu/Image/43/4.png new file mode 100644 index 00000000..564c57f5 Binary files /dev/null and b/BaiHu/Image/43/4.png differ diff --git a/BaiHu/Image/43/5.png b/BaiHu/Image/43/5.png new file mode 100644 index 00000000..2c18320a Binary files /dev/null and b/BaiHu/Image/43/5.png differ diff --git a/BaiHu/JSON/43_1.json b/BaiHu/JSON/43_1.json new file mode 100644 index 00000000..28c8c035 --- /dev/null +++ b/BaiHu/JSON/43_1.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "10 years old girl,spring mood,aesthetic photography,realistic,masterpiece,best quality,,,", + "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": 30, + "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/43_2.json b/BaiHu/JSON/43_2.json new file mode 100644 index 00000000..10a515f5 --- /dev/null +++ b/BaiHu/JSON/43_2.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "young girl,smiling,sitting,white dress,long hair,crossed legs,white socks,beige background,knit blanket,portrait,masterpiece,best quality,,,", + "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": 30, + "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/43_3.json b/BaiHu/JSON/43_3.json new file mode 100644 index 00000000..a1aea842 --- /dev/null +++ b/BaiHu/JSON/43_3.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "1girl,child,spring mood,masterpiece,best quality,,,", + "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": 30, + "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/43_4.json b/BaiHu/JSON/43_4.json new file mode 100644 index 00000000..4d4548bb --- /dev/null +++ b/BaiHu/JSON/43_4.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "10 years old girl,dynamic angle,realistic,sunrise time,fashion portrait,orange tint,,,", + "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": 30, + "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/43_5.json b/BaiHu/JSON/43_5.json new file mode 100644 index 00000000..3b71654f --- /dev/null +++ b/BaiHu/JSON/43_5.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "1girl,dog,autumn,leaves,orange coat,hat,long hair,hugging,outdoors,nature,masterpiece,best quality,,,", + "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": 30, + "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 819dd70b..e898c860 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 = 42 +model_id = 43 # 模型名称 -model_name = '美女时装秀' +model_name = '花样年华' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)' @@ -30,8 +30,8 @@ model_type_id = 2 3 风格写真 4 双人系列 ''' -style_id = 3 -is_cover = 0 +style_id = 2 +is_cover = 1 params = (model_id, model_name, memo, star, img_count, model_type_id, style_id, is_cover) execute_modify(sql, params)