main
黄海 1 year ago
parent 034e638cff
commit cc6d8aa306

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

@ -0,0 +1,57 @@
{
"override_settings": {
"sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]",
"sd_vae": "Automatic"
},
"prompt": "kinghere yuzhouchild,1girl,spacesuit,astronaut,planet,realistic,earth \\(planet\\),twintails,space,brown hair,solo,bangs,short,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,<lora:kinghere yuzhouchild_20240428104523:0.8>,<lora:ip-adapter-faceid-plusv2_sd15_lora: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": 45,
"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"
}
]
}
}
}

@ -0,0 +1,57 @@
{
"override_settings": {
"sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]",
"sd_vae": "Automatic"
},
"prompt": "kinghere yuzhouchild,astronaut,dog,1boy,male focus,spacesuit,planet,space helmet,walking,realistic,space,earth \\(planet\\),cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,<lora:kinghere yuzhouchild_20240428104523:0.8>,<lora:ip-adapter-faceid-plusv2_sd15_lora: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": 45,
"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"
}
]
}
}
}

@ -0,0 +1,57 @@
{
"override_settings": {
"sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]",
"sd_vae": "Automatic"
},
"prompt": "kinghere yuzhouchild,astronaut,space,realistic,1boy,spacesuit,male focus,planet,earth \\(planet\\),space helmet,star \\(sky\\),american flag,animal,solo,brown hair,child,moon,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,<lora:kinghere yuzhouchild_20240428104523:0.8>,<lora:ip-adapter-faceid-plusv2_sd15_lora: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": 45,
"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"
}
]
}
}
}

@ -0,0 +1,57 @@
{
"override_settings": {
"sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]",
"sd_vae": "Automatic"
},
"prompt": "kinghere yuzhouchild,astronaut,1girl,spacesuit,planet,space helmet,walking,realistic,space,earth \\(planet\\),animal,blurry,running,facial hair,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,<lora:kinghere yuzhouchild_20240428104523:0.8>,<lora:ip-adapter-faceid-plusv2_sd15_lora: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": 45,
"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"
}
]
}
}
}

@ -0,0 +1,57 @@
{
"override_settings": {
"sd_model_checkpoint": "金在在儿童摄影专用V4.safetensors [1bb8f3a74a]",
"sd_vae": "Automatic"
},
"prompt": "kinghere yuzhouchild,1girl,dog,spacesuit,astronaut,planet,realistic,earth \\(planet\\),twintails,space,brown hair,solo,bangs,short,cinematicstunning contrasts and shadow,introspection,8k,Photography,super detailed,hyper realistic,masterpiece,Depth of field,bright color,Super lightsensation,caustic,<lora:kinghere yuzhouchild_20240428104523:0.8>,<lora:ip-adapter-faceid-plusv2_sd15_lora: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": 45,
"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"
}
]
}
}
}

@ -3,13 +3,13 @@
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) VALUES (%s,%s, %s,%s,now(),%s,1,1,%s,%s);"
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 = 28
model_id = 29
# 模型名称
model_name = '火烈鸟'
model_name = '小小宇航员'
# 提示信息
memo = '1、请上传正面半身照。; 2、确保脸部无遮挡3、图片要求不小于1.5MB(正常手机拍照即可)'

@ -3,12 +3,12 @@
-- 获取模型列表
#sql("wxGetModelList")
select t1.* from t_hy_model as t1 where t1.b_use=1 and t1.style_id = #para(style_id)
order by t1.star desc,t1.img_count,t1.model_id desc
order by t1.star desc,t1.sort_id
#end
-- 获取推荐模型列表
#sql("wxGetTjModelList")
select t1.* from t_hy_model as t1 where t1.b_use=1 and t1.is_cover = 1
order by t1.star desc,t1.img_count,t1.model_id desc
order by t1.star desc,t1.sort_id
#end
-- 获取指定用户的图片列表
#sql("wxGetTaskImage")

Loading…
Cancel
Save