diff --git a/BaiHu/Image/36/1.jpg b/BaiHu/Image/36/1.jpg new file mode 100644 index 00000000..2088ec49 Binary files /dev/null and b/BaiHu/Image/36/1.jpg differ diff --git a/BaiHu/Image/36/2.jpg b/BaiHu/Image/36/2.jpg new file mode 100644 index 00000000..3febc6d2 Binary files /dev/null and b/BaiHu/Image/36/2.jpg differ diff --git a/BaiHu/Image/36/3.jpg b/BaiHu/Image/36/3.jpg new file mode 100644 index 00000000..3e666486 Binary files /dev/null and b/BaiHu/Image/36/3.jpg differ diff --git a/BaiHu/Image/36/4.jpg b/BaiHu/Image/36/4.jpg new file mode 100644 index 00000000..b37b6e5a Binary files /dev/null and b/BaiHu/Image/36/4.jpg differ diff --git a/BaiHu/Image/36/5.jpg b/BaiHu/Image/36/5.jpg new file mode 100644 index 00000000..a6c6c4d8 Binary files /dev/null and b/BaiHu/Image/36/5.jpg differ diff --git a/BaiHu/JSON/36_1.json b/BaiHu/JSON/36_1.json new file mode 100644 index 00000000..17316728 --- /dev/null +++ b/BaiHu/JSON/36_1.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER kids photography,1girl,solo,looking at viewer,blue eyes,brown hair,upper body,flower,outdoors,parted lips,sky,day,cloud,blurry,blue sky,lips,moon,helmet,white flower,pink flower,realistic,spacesuit,space helmet,astronaut,child,with a high-end texture,in the style of fashion photography,magazine cover,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),ultra-realistic,high dynamic range,photoreal,epic realistic,dark shot,shadows,darkness,rays of light,reflections,halos,flickering,contrast,layered colors,vivid colors,contrast,offcial art,colorful,splash of color,movie perspective,very aesthetic,disheveled hair,perfect composition,moist skin,intricate details,moody,epic,photorealistic,color graded cinematic,atmospheric lighting,award winning photo,film grain,A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,,", + "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_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/36_2.json b/BaiHu/JSON/36_2.json new file mode 100644 index 00000000..4cbd9953 --- /dev/null +++ b/BaiHu/JSON/36_2.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER kids photography,1girl,solo,long hair,looking at viewer,smile,brown hair,black hair,hair ornament,dress,bow,ribbon,brown eyes,jewelry,sitting,full body,flower,shoes,sleeveless,hair flower,white dress,lips,sleeveless dress,arm support,blue background,white flower,blue footwear,realistic,pearl (gemstone),Dynamic Angle,Dynamic posture,Perspective,High Point,pov,child,with a high-end texture,in the style of fashion photography,magazine cover,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),ultra-realistic,high dynamic range,photoreal,epic realistic,dark shot,shadows,darkness,contrast,layered colors,vivid colors,contrast,offcial art,colorful,splash of color,movie perspective,very aesthetic,disheveled hair,perfect composition,moist skin,intricate details,moody,epic,photorealistic,color graded cinematic,atmospheric lighting,award winning photo,film grain,A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,,", + "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_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/36_3.json b/BaiHu/JSON/36_3.json new file mode 100644 index 00000000..bc4283cb --- /dev/null +++ b/BaiHu/JSON/36_3.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER kids photography,1girl,solo,looking at viewer,short hair,bangs,brown hair,dress,sitting,flower,food,sleeveless,indoors,white dress,window,sleeveless dress,own hands together,white flower,cherry blossoms,pink flower,Dynamic Angle,Dynamic posture,Perspective,High Point,pov,child,with a high-end texture,in the style of fashion photography,magazine cover,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),ultra-realistic,high dynamic range,photoreal,epic realistic,dark shot,shadows,darkness,contrast,layered colors,vivid colors,contrast,offcial art,colorful,splash of color,movie perspective,very aesthetic,disheveled hair,perfect composition,moist skin,intricate details,moody,epic,photorealistic,color graded cinematic,atmospheric lighting,award winning photo,film grain,A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,,", + "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_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/36_4.json b/BaiHu/JSON/36_4.json new file mode 100644 index 00000000..67be17b1 --- /dev/null +++ b/BaiHu/JSON/36_4.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER kids photography,smile,1girl,solo,short hair,bangs,shirt,black hair,white dress,standing,short sleeves,outdoors,shorts,sleeveless dress,grass,scenery,underwater,arms at sides,mushroom,jellyfish,child,with a high-end texture,in the style of fashion photography,magazine cover,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),ultra-realistic,high dynamic range,photoreal,epic realistic,dark shot,shadows,darkness,contrast,layered colors,vivid colors,contrast,offcial art,colorful,splash of color,movie perspective,very aesthetic,disheveled hair,perfect composition,moist skin,intricate details,moody,epic,photorealistic,color graded cinematic,atmospheric lighting,award winning photo,film grain,A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,,", + "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_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/36_5.json b/BaiHu/JSON/36_5.json new file mode 100644 index 00000000..fcdc73d8 --- /dev/null +++ b/BaiHu/JSON/36_5.json @@ -0,0 +1,57 @@ +{ + "override_settings": { + "sd_model_checkpoint": "绪儿-一青十色XL_V2 VAE.safetensors [9f9290ac66]", + "sd_vae": "Automatic" + }, + "prompt": "XUER kids photography,1girl,solo,smile,short hair,brown hair,dress,holding,standing,flower,boots,outdoors,sky,cloud,tree,night,blue dress,facial hair,bird,animal,moon,cloudy sky,bug,staff,building,butterfly,star (sky),night sky,scenery,starry sky,stairs,fantasy,holding staff,old,tower,statue,child,with a high-end texture,in the style of fashion photography,magazine cover,(8k, RAW photo, highly detailed,masterpiece, highest quality),rich colors,high contrast,full shot body photo of the most beautiful artwork in the world,cinematic light,fantasy,highres,(detailed face),ultra-realistic,high dynamic range,photoreal,epic realistic,dark shot,shadows,darkness,rays of light,reflections,halos,flickering,contrast,layered colors,vivid colors,contrast,offcial art,colorful,splash of color,movie perspective,very aesthetic,disheveled hair,perfect composition,moist skin,intricate details,moody,epic,photorealistic,color graded cinematic,atmospheric lighting,award winning photo,film grain,A shot with tension,(Visual impact,giving the poster a dynamic and visually striking appearance:1.2),impactful picture,,", + "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_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 bba27cfb..d48d75a3 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 = 35 +model_id = 36 # 模型名称 -model_name = '小天使' +model_name = '奇幻世界' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)' diff --git a/BaiHu/doTask.py b/BaiHu/doTask.py index 6b79e7c0..85e15c22 100644 --- a/BaiHu/doTask.py +++ b/BaiHu/doTask.py @@ -273,7 +273,7 @@ def get_task(): # 利用三元表达式输出 printf("发现需要处理的" + ("WebUI" if model_type_id in [1, - 2] else "ComfyUI") + "任务,model_type_id=" + model_type_id + ",model_id=" + str( + 2] else "ComfyUI") + "任务,model_type_id=" + str(model_type_id) + ",model_id=" + str( model_id) + ",prompt_id=" + str(prompt_id) + ",task_id=" + str(task_id)) # 创建目标目录