diff --git a/BaiHu/Image/20/1.png b/BaiHu/Image/20/1.png new file mode 100644 index 00000000..7c0a138b Binary files /dev/null and b/BaiHu/Image/20/1.png differ diff --git a/BaiHu/Image/20/2.png b/BaiHu/Image/20/2.png new file mode 100644 index 00000000..601d70f6 Binary files /dev/null and b/BaiHu/Image/20/2.png differ diff --git a/BaiHu/Image/20/3.png b/BaiHu/Image/20/3.png new file mode 100644 index 00000000..642cd4e5 Binary files /dev/null and b/BaiHu/Image/20/3.png differ diff --git a/BaiHu/Image/20/4.png b/BaiHu/Image/20/4.png new file mode 100644 index 00000000..10e24acc Binary files /dev/null and b/BaiHu/Image/20/4.png differ diff --git a/BaiHu/Image/20/5.png b/BaiHu/Image/20/5.png new file mode 100644 index 00000000..943e3f4f Binary files /dev/null and b/BaiHu/Image/20/5.png differ diff --git a/BaiHu/JSON/20_1.json b/BaiHu/JSON/20_1.json new file mode 100644 index 00000000..9f28243e --- /dev/null +++ b/BaiHu/JSON/20_1.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "HP,school uniform,1boy,male focus,male child,solo,looking at viewer,black hair,hat,necktie,glasses,castle,Best quality,masterpiece,ultra high res,(photorealistic:1.4),,,", + "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": 20, + "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/20_2.json b/BaiHu/JSON/20_2.json new file mode 100644 index 00000000..0252475c --- /dev/null +++ b/BaiHu/JSON/20_2.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "HP,school uniform,1boy,solo,black hair,male focus,outdoors,necktie,glasses,book,bird,fire,robe,realistic,wand,hogwarts school uniform,, cinematic,a sense of scale and narrative,ethereal scenes,peaceful solitude,stunning 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": 20, + "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/20_3.json b/BaiHu/JSON/20_3.json new file mode 100644 index 00000000..277db1ee --- /dev/null +++ b/BaiHu/JSON/20_3.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "HP,school uniform,1boy,male focus,male child,solo,looking at viewer,black hair,hat,necktie,glasses,castle,, Best quality, masterpiece, ultra high res, (photorealistic:1.4),,,", + "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": 20, + "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/20_4.json b/BaiHu/JSON/20_4.json new file mode 100644 index 00000000..f120a178 --- /dev/null +++ b/BaiHu/JSON/20_4.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "HP,school uniform,1boy,male focus,male child,smile,blurry,blurry_background,blurry_foreground,book,bookshelf,depth_of_field,library,motion_blur,moon,holding_book,full_moon,east_asian_architecture,focused,bokeh,reading,open_book,architecture,red_moon,holding,night,3d,city,voile,stadium,floral_print,building,(masterpiece:1.3),extremely detailed CG unity 8k wallpaper,((highres)original),(best quality:1.3),absurdres,illustration,unreal engine 5 renti,ultra-detailed,,,", + "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": 20, + "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/20_5.json b/BaiHu/JSON/20_5.json new file mode 100644 index 00000000..25b6d60a --- /dev/null +++ b/BaiHu/JSON/20_5.json @@ -0,0 +1,43 @@ +{ + "override_settings": { + "sd_model_checkpoint": "majicMIX realistic 麦橘写实_v7.safetensors [7c819b6d13]", + "sd_vae": "Automatic" + }, + "prompt": "HP,school uniform,1boy,male focus,male child,blurry,blurry_background,blurry_foreground,bookshelf,depth_of_field,motion_blur,necktie,book,library,moon,globe,3d,red_necktie,solo,food,realistic,ball,photorealistic,lips,brown_hair,looking_at_viewer,long_hair,(masterpiece:1.3),extremely detailed CG unity 8k wallpaper,((highres)original),(best quality:1.3),absurdres,illustration,unreal engine 5 renti,ultra-detailed,,,", + "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": 20, + "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 98abb573..3d023e1c 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 = 14 +model_id = 20 # 模型名称 -model_name = '毛线娃' +model_name = '哈利波特【男版】' # 提示信息 memo = '1、请上传正面半身照。; 2、确保脸部无遮挡;3、图片要求不小于1.5MB(正常手机拍照即可)'