diff --git a/BaiHu/Image/46/1.png b/BaiHu/Image/46/1.png new file mode 100644 index 00000000..bc86049b Binary files /dev/null and b/BaiHu/Image/46/1.png differ diff --git a/BaiHu/Image/46/2.png b/BaiHu/Image/46/2.png new file mode 100644 index 00000000..a346fcca Binary files /dev/null and b/BaiHu/Image/46/2.png differ diff --git a/BaiHu/Image/46/3.png b/BaiHu/Image/46/3.png new file mode 100644 index 00000000..d1196e78 Binary files /dev/null and b/BaiHu/Image/46/3.png differ diff --git a/BaiHu/Image/46/4.png b/BaiHu/Image/46/4.png new file mode 100644 index 00000000..781b5172 Binary files /dev/null and b/BaiHu/Image/46/4.png differ diff --git a/BaiHu/Image/46/5.png b/BaiHu/Image/46/5.png new file mode 100644 index 00000000..5b1732ac Binary files /dev/null and b/BaiHu/Image/46/5.png differ diff --git a/BaiHu/JSON/46_1.json b/BaiHu/JSON/46_1.json new file mode 100644 index 00000000..9fc6c7d5 --- /dev/null +++ b/BaiHu/JSON/46_1.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "LEOSAM's MoonFilm _ 胶片风真实感大模型_2.0.safetensors [fe54b5d04d]", + "sd_vae": "Automatic" + }, + "prompt": "Apple,a 6-year-old girl with a small head,carrying butterfly wings,wings,black hair,green leaf dress,fantasy world,soft background,dreamy scenes,solo,leaves,facing the camera,exquisite facial features,butterflies,white shoes,(best quality),(realistic medium, photo realism:1.3),(masterpiece:1.3),,,", + "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": 25, + "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/46_2.json b/BaiHu/JSON/46_2.json new file mode 100644 index 00000000..9b9b3820 --- /dev/null +++ b/BaiHu/JSON/46_2.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "LEOSAM's MoonFilm _ 胶片风真实感大模型_2.0.safetensors [fe54b5d04d]", + "sd_vae": "Automatic" + }, + "prompt": "Apple,a girl with butterfly wings on her back,black hair,green dress,solo,leaves,facing the camera,exquisite facial features,butterfly,white shoes,(smile:1.5),(best quality),(realistic medium, photo realism:1.3),(masterpiece:1.3),,,", + "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": 25, + "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/46_3.json b/BaiHu/JSON/46_3.json new file mode 100644 index 00000000..6d5af324 --- /dev/null +++ b/BaiHu/JSON/46_3.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "LEOSAM's MoonFilm _ 胶片风真实感大模型_2.0.safetensors [fe54b5d04d]", + "sd_vae": "Automatic" + }, + "prompt": "Apple,a girl with butterfly wings on her back,black hair,green dress,solo,leaves,facing the camera,exquisite facial features,butterfly,white shoes,smile,(best quality),(realistic medium, photo realism:1.3),(masterpiece:1.3),,,", + "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": 25, + "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/46_4.json b/BaiHu/JSON/46_4.json new file mode 100644 index 00000000..9fc6c7d5 --- /dev/null +++ b/BaiHu/JSON/46_4.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "LEOSAM's MoonFilm _ 胶片风真实感大模型_2.0.safetensors [fe54b5d04d]", + "sd_vae": "Automatic" + }, + "prompt": "Apple,a 6-year-old girl with a small head,carrying butterfly wings,wings,black hair,green leaf dress,fantasy world,soft background,dreamy scenes,solo,leaves,facing the camera,exquisite facial features,butterflies,white shoes,(best quality),(realistic medium, photo realism:1.3),(masterpiece:1.3),,,", + "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": 25, + "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/46_5.json b/BaiHu/JSON/46_5.json new file mode 100644 index 00000000..9fc6c7d5 --- /dev/null +++ b/BaiHu/JSON/46_5.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "LEOSAM's MoonFilm _ 胶片风真实感大模型_2.0.safetensors [fe54b5d04d]", + "sd_vae": "Automatic" + }, + "prompt": "Apple,a 6-year-old girl with a small head,carrying butterfly wings,wings,black hair,green leaf dress,fantasy world,soft background,dreamy scenes,solo,leaves,facing the camera,exquisite facial features,butterflies,white shoes,(best quality),(realistic medium, photo realism:1.3),(masterpiece:1.3),,,", + "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": 25, + "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 94f6cac5..61acbeb4 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 = 45 +model_id = 46 # 模型名称 -model_name = '治愈风二次元' +model_name = '苹果苹果' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)' @@ -30,7 +30,7 @@ model_type_id = 2 3 风格写真 4 双人系列 ''' -style_id = 1 +style_id = 2 is_cover = 1 params = (model_id, model_name, memo, star, img_count, model_type_id, style_id, is_cover)