diff --git a/BaiHu/Image/24/1.png b/BaiHu/Image/24/1.png new file mode 100644 index 00000000..9705ed2d Binary files /dev/null and b/BaiHu/Image/24/1.png differ diff --git a/BaiHu/Image/24/2.png b/BaiHu/Image/24/2.png new file mode 100644 index 00000000..13e8a7b2 Binary files /dev/null and b/BaiHu/Image/24/2.png differ diff --git a/BaiHu/Image/24/3.png b/BaiHu/Image/24/3.png new file mode 100644 index 00000000..1df779eb Binary files /dev/null and b/BaiHu/Image/24/3.png differ diff --git a/BaiHu/Image/24/4.png b/BaiHu/Image/24/4.png new file mode 100644 index 00000000..eef35999 Binary files /dev/null and b/BaiHu/Image/24/4.png differ diff --git a/BaiHu/Image/24/5.png b/BaiHu/Image/24/5.png new file mode 100644 index 00000000..abb2233d Binary files /dev/null and b/BaiHu/Image/24/5.png differ diff --git a/BaiHu/JSON/24_1.json b/BaiHu/JSON/24_1.json new file mode 100644 index 00000000..6349d8eb --- /dev/null +++ b/BaiHu/JSON/24_1.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER Mongolian clothing,1girl,solo,long hair,looking at viewer,black hair,long sleeves,brown eyes,jewelry,closed mouth,upper body,earrings,outdoors,lips,makeup,blurry background,chinese clothes,ring,lipstick,beads,realistic,red lips,desert,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,film still,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),photorealistic,extreme detail,lifelike,crisp,precise,35mm photograph,film,bokeh,professional,highly detailed,(full body:1.5),high gloss,extremely beautiful skin,natural skin texture,(Milky skin:1),(shiny skin:1.1),A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,(full body:1.5),,", + "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": 1640, + "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_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": true, + "input_image": "string", + "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": true, + "input_image": "string", + "control_mode": "ControlNet is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/24_2.json b/BaiHu/JSON/24_2.json new file mode 100644 index 00000000..663f56cd --- /dev/null +++ b/BaiHu/JSON/24_2.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER Mongolian clothing,1girl,long hair,looking at viewer,black hair,long sleeves,1boy,jewelry,sitting,sky,armor,black eyes,siblings,ring,realistic,desert,chainmail,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,film still,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),photorealistic,extreme detail,lifelike,crisp,precise,35mm photograph,film,bokeh,professional,highly detailed,(full body:1.5),high gloss,extremely beautiful skin,natural skin texture,(Milky skin:1),(shiny skin:1.1),A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,(full body:1.5),,", + "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": 1640, + "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_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": true, + "input_image": "string", + "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": true, + "input_image": "string", + "control_mode": "ControlNet is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/24_3.json b/BaiHu/JSON/24_3.json new file mode 100644 index 00000000..d9195389 --- /dev/null +++ b/BaiHu/JSON/24_3.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER Mongolian clothing,1girl,solo,long hair,black hair,long sleeves,jewelry,earrings,cup,lips,fur trim,makeup,chinese clothes,holding cup,teacup,beads,realistic,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,film still,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),photorealistic,extreme detail,lifelike,crisp,precise,35mm photograph,film,bokeh,professional,highly detailed,(full body:1.5),high gloss,extremely beautiful skin,natural skin texture,(Milky skin:1),(shiny skin:1.1),A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,(full body:1.5),,", + "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": 1640, + "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_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": true, + "input_image": "string", + "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": true, + "input_image": "string", + "control_mode": "ControlNet is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/24_4.json b/BaiHu/JSON/24_4.json new file mode 100644 index 00000000..995762f4 --- /dev/null +++ b/BaiHu/JSON/24_4.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER Mongolian clothing,1girl,solo,long hair,looking at viewer,black hair,long sleeves,hat,jewelry,upper body,earrings,outdoors,sky,day,black eyes,lips,sash,chinese clothes,tassel,beads,realistic,red lips,desert,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,film still,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),photorealistic,extreme detail,lifelike,crisp,precise,35mm photograph,film,bokeh,professional,highly detailed,(full body:1.5),high gloss,extremely beautiful skin,natural skin texture,(Milky skin:1),(shiny skin:1.1),A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,(full body:1.5),,", + "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": 1640, + "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_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": true, + "input_image": "string", + "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": true, + "input_image": "string", + "control_mode": "ControlNet is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/JSON/24_5.json b/BaiHu/JSON/24_5.json new file mode 100644 index 00000000..8454c6c5 --- /dev/null +++ b/BaiHu/JSON/24_5.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER Mongolian clothing,1girl,solo,black hair,long sleeves,hat,outdoors,day,black eyes,chinese clothes,veil,realistic,red lips,horse,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,film still,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),photorealistic,extreme detail,lifelike,crisp,precise,35mm photograph,film,bokeh,professional,highly detailed,(full body:1.5),high gloss,extremely beautiful skin,natural skin texture,(Milky skin:1),(shiny skin:1.1),,", + "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": 1640, + "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_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": true, + "input_image": "string", + "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": true, + "input_image": "string", + "control_mode": "ControlNet is more important" + } + ] + } + } +} \ No newline at end of file diff --git a/BaiHu/Tools/addModel.py b/BaiHu/Tools/addModel.py index aeda4272..d8d71cf9 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 = 23 +model_id = 24 # 模型名称 -model_name = '吾家有女' +model_name = '草原风' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)' @@ -30,7 +30,7 @@ model_type_id = 2 3 风格写真 4 双人系列 ''' -style_id = 2 +style_id = 3 is_cover = 1 params = (model_id, model_name, memo, star, img_count, model_type_id, style_id, is_cover)