main
黄海 1 year ago
parent dc7acfa571
commit 869d88f6ba

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

@ -0,0 +1,43 @@
{
"override_settings": {
"sd_model_checkpoint": "v1-5-pruned_v1-5-pruned.safetensors [1a189f0be6]",
"sd_vae": "Automatic"
},
"prompt": "masterpiece,best quality,huge filesize,masterpiece,best quality,(((masterpiece))),(((best quality))),1girl,solo,braid,skirt,black hair,looking at viewer,child,twin braids,female child,outdoors,long hair,photo background,full body,blush,standing,long sleeves,brown eyes,closed mouth,<lora:ip-adapter-faceid-plusv2_sd15_lora:0.8>,<lora:PDLX_毛绒绒布人物玩偶:0.8>,",
"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": 38,
"sampler_name": "Restart",
"width": 816,
"height": 1224,
"batch_size": 1,
"n_iter": 1,
"seed": 1,
"cfg_scale": 5.5,
"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"
}
]
}
}
}

@ -0,0 +1,43 @@
{
"override_settings": {
"sd_model_checkpoint": "v1-5-pruned_v1-5-pruned.safetensors [1a189f0be6]",
"sd_vae": "Automatic"
},
"prompt": "masterpiece,best quality,huge filesize,masterpiece,best quality,(((masterpiece))),(((best quality))),solo,male focus,black hair,1boy,winter clothes,coat,hat,scarf,black eyes,jacket,blurry,full body,looking at viewer,curly hair,male child,smile,standing,child,<lora:ip-adapter-faceid-plusv2_sd15_lora:0.8>,<lora:PDLX_毛绒绒布人物玩偶:0.8>,",
"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": 38,
"sampler_name": "Restart",
"width": 816,
"height": 1224,
"batch_size": 1,
"n_iter": 1,
"seed": 1,
"cfg_scale": 5.5,
"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"
}
]
}
}
}

@ -0,0 +1,43 @@
{
"override_settings": {
"sd_model_checkpoint": "v1-5-pruned_v1-5-pruned.safetensors [1a189f0be6]",
"sd_vae": "Automatic"
},
"prompt": "masterpiece,best quality,huge filesize,masterpiece,best quality,(((masterpiece))),(((best quality))),1girl,solo,brown hair,yellow headwear,shorts,hat,long sleeves,earrings,smile,jewelry,full body,shoes,standing,socks,own hands together,black footwear,blush,sweater,bird,shoulder bag,puffy long sleeves,purple eyes,hair ornament,shirt,puffy sleeves,plant,flower,outdoors,forest,jungle background,<lora:ip-adapter-faceid-plusv2_sd15_lora:0.8>,<lora:PDLX_毛绒绒布人物玩偶:0.8>,",
"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": 38,
"sampler_name": "Restart",
"width": 816,
"height": 1224,
"batch_size": 1,
"n_iter": 1,
"seed": 1,
"cfg_scale": 5.5,
"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"
}
]
}
}
}

@ -0,0 +1,43 @@
{
"override_settings": {
"sd_model_checkpoint": "v1-5-pruned_v1-5-pruned.safetensors [1a189f0be6]",
"sd_vae": "Automatic"
},
"prompt": "masterpiece,best quality,huge filesize,masterpiece,best quality,(((masterpiece))),(((best quality))),solo,male focus,black hair,1boy,winter clothes,coat,hat,scarf,black eyes,jacket,blurry,full body,looking at viewer,curly hair,male child,smile,standing,child,<lora:ip-adapter-faceid-plusv2_sd15_lora:0.8>,<lora:PDLX_毛绒绒布人物玩偶:0.8>,",
"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": 38,
"sampler_name": "Restart",
"width": 816,
"height": 1224,
"batch_size": 1,
"n_iter": 1,
"seed": 1,
"cfg_scale": 5.5,
"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"
}
]
}
}
}

@ -0,0 +1,43 @@
{
"override_settings": {
"sd_model_checkpoint": "v1-5-pruned_v1-5-pruned.safetensors [1a189f0be6]",
"sd_vae": "Automatic"
},
"prompt": "masterpiece,best quality,huge filesize,masterpiece,best quality,(((masterpiece))),(((best quality))),A girl,smiling,wearing a yellow dress,facing forward,standing,<lora:ip-adapter-faceid-plusv2_sd15_lora:0.8>,<lora:PDLX_毛绒绒布人物玩偶:0.8>,",
"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": 38,
"sampler_name": "Restart",
"width": 816,
"height": 1224,
"batch_size": 1,
"n_iter": 1,
"seed": 1,
"cfg_scale": 5.5,
"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"
}
]
}
}
}

@ -1,10 +1,11 @@
from Util.PngUtil import *
# 获取原始图片的exif信息
print("原始图片的exif信息")
getExif('../Image/error.png')
# 清除图片的exif信息
# clearExif('../Image/SdImg.png', './my_image.png')
# 获取生成图片的exif信息
print("生成图片的exif信息")
getExif('./my_image.png')
# print("原始图片的exif信息")
# getExif('../Image/Backup/error.png')
# # 清除图片的exif信息
# # clearExif('../Image/SdImg.png', './my_image.png')
# # 获取生成图片的exif信息
# print("生成图片的exif信息")
# getExif('./my_image.png')

@ -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 = 7
model_id = 14
# 模型名称
model_name = '包菜'
model_name = '毛线'
# 提示信息
memo = '1、请上传正面半身照。; 2、确保脸部无遮挡3、图片要求不小于1.5MB(正常手机拍照即可)'

@ -22,3 +22,4 @@ def clearExif(source, target):
if k not in fields_to_keep:
del im.info[k]
im.save(target, format='PNG')
# pip install piexif
Loading…
Cancel
Save