'commit'
This commit is contained in:
@@ -9,10 +9,17 @@ with open('config.json', 'r', encoding='utf-8') as f:
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 获取第一个模型的配置
|
||||
model_config = config["models"][1]
|
||||
model_config = config["models"][0]
|
||||
# 完成的例子
|
||||
# 炫酷机甲美女_majicflus
|
||||
# https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/LibLib/bdde20e3143049c3916aa0b8d523b469.jpg
|
||||
|
||||
# 卡通小人
|
||||
# https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/LibLib/484eba61d6e74f8ea0cb3d8ff2d14341.jpg
|
||||
|
||||
# F.1-武侠世界
|
||||
# https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/LibLib/215df7724cba4bf9a64e7863ecb4ebc0.jpg
|
||||
|
||||
# 通过枚举转换
|
||||
print(f'使用采样方法: {model_config["sampler"]}')
|
||||
model_config["sampler"] = SAMPLING_METHODS[model_config["sampler"]]
|
||||
|
@@ -1,15 +1,16 @@
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"name": "AWPortrait XL",
|
||||
"template_uuid": "21df5d84cca74f7a885ba672b5a80d19",
|
||||
"steps": 25,
|
||||
"width": 800,
|
||||
"height": 1000,
|
||||
"name": "炫酷机甲美女_majicflus",
|
||||
"template_uuid": "3867524e021e4669b83aa43a03c4d0fe",
|
||||
"steps": 30,
|
||||
"width": 920,
|
||||
"height": 1280,
|
||||
"cfgScale": 3.5,
|
||||
"sampler": "Euler",
|
||||
"sampler": "DPM2",
|
||||
"seed": -1,
|
||||
"prompt": "filmfotos, Asian portrait,A young woman wearing a green baseball cap,covering one eye with her hand",
|
||||
"prompt": "(masterpiece, best quality:1.2),1 girl,arm cannon,armor,cyberpunk,cyborg,glow,body complex,all mechanical body,realistic metallic sheen,all body multi-camera style mech,helmets,mechs,Power Suits,science fiction,",
|
||||
"negative_prompt": "ng_deepnegative_v1_75t,(badhandv4:1.2),(worst quality:2),(low quality:2),(normal quality:2),lowres,bad anatomy,(bad hands),watermark,many fingers,(broken hands),nsfw,EasyNegative,skin blemishes,(ugly:1.331),(duplicate:1.331),(morbid:1.21),(mutilated:1.21),mutated hands,(poorly drawn hands:1.5),(bad anatomy:1.21),(bad proportions:1.331),extra limbs,(disfigured:1.331),(extra legs:1.331),(fused fingers:1.61051),(too many fingers:1.61051),(unclear eyes:1.331),lowers,bad hands,missing fingers,extra digit,bad hands,missing fingers,(((extra arms and legs))),nsfw,",
|
||||
"reference_image_url": "https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/Backup/HuangWanQiao.jpg",
|
||||
"control_weight": 0.8
|
||||
},
|
||||
@@ -27,5 +28,19 @@
|
||||
"reference_image_url": "https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/Backup/HuangWanQiao.jpg",
|
||||
"control_weight": 0.8
|
||||
}
|
||||
,
|
||||
{
|
||||
"name": "F.1-武侠世界",
|
||||
"template_uuid": "320b97ec97dd4d7e9e30364b467e6dc3",
|
||||
"steps": 20,
|
||||
"width": 896,
|
||||
"height": 1200,
|
||||
"cfgScale": 1,
|
||||
"sampler": "Euler",
|
||||
"seed": 4170146039,
|
||||
"prompt": "<lora:F.1-武侠世界:0.8>,dynamic blur,long exposure,close-up,a super realistic handsome chinese ranger girl,a chinese knight holding a chinese sword in the bamboo forest,chinese style chinese sword,martial arts movements,wearing tang dynasty clothing,super realistic,many details,luminous effect,high detail close-up lens (ecu),unreal engine engine,quixel megascans rendering,3d effect,",
|
||||
"reference_image_url": "https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/Backup/HuangWanQiao.jpg",
|
||||
"control_weight": 0.8
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user