add styles and style loader

This commit is contained in:
ultimatech
2023-11-20 19:10:17 +08:00
parent 1b1cfe22dd
commit f2c5db3e2b
76 changed files with 926 additions and 3 deletions
+176 -3
View File
@@ -1,11 +1,184 @@
import os
import json
import comfy.utils
import comfy
import comfy.sd
import modelscope
# from facechain.constants import neg_prompt as neg, pos_prompt_with_cloth, pos_prompt_with_style, \
# pose_models, pose_examples, base_models, tts_speakers_map
#from facechain.utils import snapshot_download, check_ffmpeg, set_spawn_method, project_dir, join_worker_data_dir
from modelscope import snapshot_download
import folder_paths
import sys
my_dir = os.path.dirname(os.path.abspath(__file__))
custom_nodes_dir = os.path.abspath(os.path.join(my_dir, '../../ComfyUI-Facechain'))
#comfy_dir = os.path.abspath(os.path.join(my_dir, '..', '..'))
comfy_dir = os.path.abspath(os.path.join(my_dir, '../../ComfyUI-Facechain'))
# Append comfy_dir to sys.path & import files
sys.path.append(comfy_dir)
#all_data = []
# 名字到数据的映射
name_map = {}
style_list = []
base_models = [
{'name': 'leosamsMoonfilm_filmGrain20',
'model_id': 'ly261666/cv_portrait_model',
'revision': 'v2.0',
'sub_path': "film/film"},
{'name': 'MajicmixRealistic_v6',
'model_id': 'YorickHe/majicmixRealistic_v6',
'revision': 'v1.0.0',
'sub_path': "realistic"},
]
class FCStyleLoraLoad:
def __init__(self):
self.loaded_lora = None
print("FC StyleLoraLoad initing")
# 存储所有数据
load_style_files()
@classmethod
def INPUT_TYPES(s):
return {}
return {
"required": {
"style_name": (load_style_files(),),
}
}
RETURN_TYPES = ("MODEL", "CLIP", "VAE", "STRING")
FUNCTION = "style_lora_load"
CATEGORY = "facechain/lora"
def style_lora_load(self):
return ()
def style_lora_load(self, model=None, clip=None, style_name=None):
style_data = get_data_by_name(style_name)
base_model_name = style_data["base_model_name"]
matching_model = next((model for model in base_models if model['name'] == base_model_name), None)
base_model = matching_model['model_id']
base_model_revision = matching_model['revision']
base_model_sub_path = matching_model['sub_path']
style_model_id = style_data["model_id"]
style_revision = style_data["revision"]
add_prompt_style = style_data["add_prompt_style"]
style_bin_file = style_data["bin_file"]
style_multiplier_style = style_data["multiplier_style"]
style_multiplier_human = style_data["multiplier_human"]
# matched = list(filter(lambda item: style_name == item['name'], styles))
# if len(matched) == 0:
# raise ValueError(f'styles not found: {style_name}')
# matched = matched[0]
# style_model = matched['name']
if style_model_id is None:
style_model_path = None
else:
model_dir = snapshot_download(style_model_id, style_revision)
style_model_path = os.path.join(model_dir, style_bin_file)
#if using modelscope, use following code download model
#base_model_path = snapshot_download(base_model, revision=base_model_revision)
#if base_model_sub_path is not None and len(base_model_sub_path) > 0:
# base_model_path = os.path.join(base_model_path, base_model_sub_path)
#model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora, strength_model, strength_clip)
if matching_model['name'] == 'leosamsMoonfilm_filmGrain20':
base_model_name = 'leosamsMoonfilm_filmGrain20.safetensors'
if matching_model['name'] == 'MajicmixRealistic_v6':
base_model_name = 'MajicmixRealistic_v6.safetensors'
ckpt_path = folder_paths.get_full_path("checkpoints", base_model_name)
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True,
embedding_directory=folder_paths.get_folder_paths("embeddings"))
model_patcher, clip, vae, clipvision = out
if style_model_id is None:
model_dir = snapshot_download('Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo', revision='v1.0.0')
style_model_path = os.path.join(model_dir, 'zjz_mj_jiyi_small_addtxt_fromleo.safetensors')
lora = comfy.utils.load_torch_file(style_model_path, safe_load=True)
model_lora, clip_lora = comfy.sd.load_lora_for_models(model_patcher, clip, lora, style_multiplier_style, 1)
return (model_lora, clip_lora, vae, add_prompt_style)
else:
lora = comfy.utils.load_torch_file(style_model_path, safe_load=True)
model_lora, clip_lora = comfy.sd.load_lora_for_models(model_patcher, clip, lora, style_multiplier_style, 1)
return(model_lora, clip_lora, vae, add_prompt_style)
def load_style_files(self):
folder = "styles"
for subdir in os.listdir(folder):
subdir_path = os.path.join(folder, subdir)
for json_file in os.listdir(subdir_path):
json_path = os.path.join(subdir_path, json_file)
with open(json_path, encoding='utf-8') as f:
json_data = json.load(f)
#all_data.append(json_data)
name = json_data['name']
name_map[name] = json_data
# style_list = json.dumps(dict(name_map.keys()))
# print(style_list)
return list(name_map.keys())
# 根据名称查询
# 读取文件和解析
def load_style_files():
folder = f"{comfy_dir}/styles"
for subdir in os.listdir(folder):
subdir_path = os.path.join(folder, subdir)
for json_file in os.listdir(subdir_path):
json_path = os.path.join(subdir_path, json_file)
with open(json_path, encoding='utf-8') as f:
json_data = json.load(f)
json_data["base_model_name"] = subdir
#all_data.append(json_data)
name = json_data['name']
name_map[name] = json_data
style_list = list(name_map.keys())
#print(style_list)
return style_list
NODE_CLASS_MAPPINGS = {
"FCStyleLoraLoad": FCStyleLoraLoad,
}
def get_data_by_name(name):
return name_map[name]
styles = []
# for base_model in base_models:
# style_in_base = []
# folder_path = f"{os.path.dirname(os.path.abspath(__file__))}/styles/{base_model['name']}"
# files = os.listdir(folder_path)
# files.sort()
# for file in files:
# file_path = os.path.join(folder_path, file)
# with open(file_path, "r", encoding='utf-8') as f:
# data = json.load(f)
# # if data['img'][:2] == './':
# # data['img'] = f"{project_dir}/{data['img'][2:]}"
# style_in_base.append(data['name'])
# styles.append(data)
# base_model['style_list'] = style_in_base
def main():
folder = 'styles'
# 加载文件
fc = FCStyleLoraLoad();
#fc.load_style_files()
fc.style_lora_load("","",'盔甲风(Armor)')
fc.style_lora_load("", "", "秋日胡杨风(Autumn populus euphratica style)")
# 测试根据名称查询
name = "秋日胡杨风(Autumn populus euphratica style)"
print(fc.name_map[name])
if __name__ == '__main__':
main()
@@ -0,0 +1,10 @@
{
"name": "秋日胡杨风(Autumn populus euphratica style)",
"img": "./style_image/Autumn_populus.jpg",
"model_id": "PeiPeiY/style_lora",
"revision": "v1",
"bin_file": "autumn_populus.safetensors",
"multiplier_style": 0.55,
"multiplier_human": 0.9,
"add_prompt_style": "extremely delicate and beautiful girls, (autumn populus euphratica scenary, 1girl)"
}
@@ -0,0 +1,10 @@
{
"name": "萧瑟秋天风(Bleak autumn style)",
"img": "./style_image/Bleak_autumn.jpg",
"model_id": "PeiPeiY/style_lora",
"revision": "v1",
"bin_file": "bleak_autumn.safetensors",
"multiplier_style": 0.55,
"multiplier_human": 0.95,
"add_prompt_style": "extremely delicate and beautiful girls, (bleak autumn scenary), asia, brown hair, close-up"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "漫画风(Cartoon)",
"img": "./style_image/Cartoon.jpg",
"model_id": "rewfueranro/cartoon_lora",
"revision": "v1.0.0",
"bin_file": "cartoon.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "Manhuanan, jewelry, half body photo,white hair, at the coffee shop, blurred background, CG, UE5"
}
@@ -0,0 +1,10 @@
{
"name": "旗袍风(Cheongsam)",
"img": "./style_image/Cheongsam.jpg",
"model_id": "PaperCloud/zju19_minguo_style_lora",
"revision": "v1.0.0",
"bin_file": "qipao2.safetensors",
"multiplier_style": 0.45,
"multiplier_human": 0.95,
"add_prompt_style": "white_cheongsam, photography, warm light, Chinese classical indoor scene, close-up, front view, earrings, hairpin, serenity, elegant, facing the camera with a smile, beautiful chinese embroidery, symmetrical short sleeves"
}
@@ -0,0 +1,10 @@
{
"name": "中国新年风(Chinese New Year Style)",
"img": "./style_image/Chinese_New_Year.jpg",
"model_id": "houpeiran/mymodel",
"revision": "v2",
"bin_file": "aki.safetensors",
"multiplier_style": 0.2,
"multiplier_human": 0.95,
"add_prompt_style": "Chinese New Year, close-up, perfect red hanfu, long sleeves, standing, intricat bright red background, many Chinese laterns in background, red flowers, casual, clear lines"
}
@@ -0,0 +1,10 @@
{
"name": "冬季汉服(Chinese winter hanfu)",
"img": "./style_image/Chinese_winter_hanfu.jpg",
"model_id": "YorickHe/Winter_hanfu_lora",
"revision": "v1.0.0",
"bin_file": "Winter_Hanfu.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "red hanfu, winter hanfu, cloak, photography, warm light, sunlight, majestic snow scene, close-up, front view, soft falling snowflakes, jewelry, enchanted winter wonderland"
}
@@ -0,0 +1,10 @@
{
"name": "圣诞风(Christmas)",
"img": "./style_image/Christmas.jpg",
"model_id": "mowunian/christmas",
"revision": "v1.0.0",
"bin_file": "christmas.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, close-up, face shot, standing, drooping arm, christmas, christmas tree, dress, sweater, snowing, bell"
}
@@ -0,0 +1,10 @@
{
"name": "炫彩少女风(Colorful rainbow style)",
"img": "./style_image/Colorful_rainbow.jpg",
"model_id": "houpeiran/mymodel",
"revision": "v1.0.0",
"bin_file": "liuli2.safetensors",
"multiplier_style": 0.25,
"multiplier_human": 0.95,
"add_prompt_style": "standing, coloured glaze, Polychromatic prism effect, rainbowcore, iridescence/opalescence, glowing colors, aluminum foil, Glowing ambiance, (portrait:1.5), black starry night background, close-up to head, wearing camisole"
}
@@ -0,0 +1,10 @@
{
"name": "自然清冷风(Cool tones)",
"img": "./style_image/Cool_tones.jpg",
"model_id": "houpeiran/mymodel",
"revision": "v1.0.0",
"bin_file": "cool_tones.safetensors",
"multiplier_style": 0.6,
"multiplier_human": 0.95,
"add_prompt_style": "photorealisitc face, close-up, hyper realistic, ultra high res, 1girl, high def, beautiful, cleavage, intricate full color portrait, sharp focus, natural lighting, subsurface scattering"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "西部牛仔风(Cowboy style)",
"img": "./style_image/Cowboy.jpg",
"model_id": "houpeiran/mymodel",
"revision": "v1.0.0",
"bin_file": "style_niuzai768.safetensors",
"multiplier_style": 0.7,
"multiplier_human": 0.95,
"add_prompt_style": "western cowboy style,photography,best quality, realistic, photorealistic, intricate details, cinematic light, clear line, ultra high res, short hair"
}
@@ -0,0 +1,10 @@
{
"name": "林中鹿女风(Deer girl)",
"img": "./style_image/Deer_girl.jpg",
"model_id": "EnlZhao/deer_lora",
"revision": "v3.2.0",
"bin_file": "deer.safetensors",
"multiplier_style": 0.4,
"multiplier_human": 0.95,
"add_prompt_style": "bust shot, an elk girl in pink forest, sweet smile, detailed little antlers, white dress, long hair, natural lighting, warm sunlight, light pink atmosphere, outdoor photo, field of pink maple leaves, flowers, realistic"
}
@@ -0,0 +1,10 @@
{
"name": "主题乐园风(Disneyland)",
"img": "./style_image/Disneyland.jpg",
"model_id": "rtxxxx/zju_05",
"revision": "v1.0.0",
"bin_file": "disneyland.safetensors",
"multiplier_style": 0.45,
"multiplier_human": 0.9,
"add_prompt_style": "1girl, close-up, happy smile, Minnie Mouse headband, disneyland, cute dress, short depth of field, black hair, ears, looking at viewer, bokeh, sunshine, warm light, Blurred background"
}
@@ -0,0 +1,10 @@
{
"name": "海洋风(Ocean)",
"img": "./style_image/DreamyOcean.jpg",
"model_id": "MushroomLyn/artist",
"revision": "v2.0.0",
"bin_file": "mine.safetensors",
"multiplier_style": 0.5,
"multiplier_human": 0.95,
"add_prompt_style": "delicate, gentle eye, ocean, white shirt, sunlit"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "敦煌风(Dunhuang)",
"img": "./style_image/Dunhuang.jpg",
"model_id": "PaperCloud/zju19_dunhuang_style_lora",
"revision": "v2",
"bin_file": "dunhuangV3.safetensors",
"multiplier_style": 0.45,
"multiplier_human": 0.95,
"add_prompt_style": "1 girl, close-up, waist shot, black long hair, clean face, dunhuang, Chinese ancient style, clean skin, organza_lace, Dunhuang wind, Art deco, Necklace, jewelry, Bracelet, Earrings, dunhuang_style, see-through_dress, Expressionism, looking towards the camera"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "多巴胺风格(Colourful Style)",
"img": "./style_image/Duobaan.jpg",
"model_id": "Tekhne/dubaan",
"revision": "v1.0.0",
"bin_file": "colorfashionstyle_v1.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "colorfashionstyle,light smile, orange and blue and red theme"
}
@@ -0,0 +1,10 @@
{
"name": "中华刺绣风(Embroidery)",
"img": "./style_image/Embroidery.jpg",
"model_id": "rtxxxx/zju_05",
"revision": "v1.0.0",
"bin_file": "embroidery.safetensors",
"multiplier_style": 0.6,
"multiplier_human": 0.9,
"add_prompt_style": "DMajic, 1girl, close-up, face shot, Chinese embroidery, embroidery patterns in background, rich colors, silk robe, ultra resolutions, rich details, the art of light and shadow, gorgeous"
}
@@ -0,0 +1,10 @@
{
"name": "欧式田野风(European fields)",
"img": "./style_image/European_fields.jpg",
"model_id": "iotang/lora_testing",
"revision": "v5",
"bin_file": "edgEuropean_Vintage.safetensors",
"multiplier_style": 0.55,
"multiplier_human": 0.95,
"add_prompt_style": "focused, (edgEV, wearing edgEV_vintage dress), (field, natural lighting, detailed background, cinematic lighting), (gentle hair:1.1), windy hair, perfect eyes, perfect face"
}
@@ -0,0 +1,10 @@
{
"name": "仙女风(Fairy style)",
"img": "./style_image/Fairy_style.jpg",
"model_id": "YorickHe/fairy_lora",
"revision": "v1.0.0",
"bin_file": "fairy.safetensors",
"multiplier_style": 0.25,
"multiplier_human": 0.95,
"add_prompt_style": "a beautiful fairy standing in the middle of a flower field, petals, close-up, warm light, light green atmosphere, white atmosphere, in the style of celebrity photography, soft, romantic scenes, flowing fabrics, light white and light orange, high resolution"
}
@@ -0,0 +1,10 @@
{
"name": "时尚墨镜风(Fashion glasses)",
"img": "./style_image/Fashion_glasses.jpg",
"model_id": "SoulNut/facechain_LoRA",
"revision": "v1.1",
"bin_file": "fashion_glasses.safetensors",
"multiplier_style": 0.6,
"multiplier_human": 0.95,
"add_prompt_style": "(masterpiece, ultra high res face, face ultra zoom, highres, best quality, ultra detailed, cinematic lighting, portrait:1.2), sfw, short hair, black glasses, black lens, sunglasses, close-up, red lips, facing aside, cityscape, detailed background, blonde Leather clothing"
}
@@ -0,0 +1,10 @@
{
"name": "火红少女风(Flame Red Style)",
"img": "./style_image/Flame_red_style.jpg",
"model_id": "Hswich/wlop_offset",
"revision": "v1.0.0",
"bin_file": "wlop_offset.safetensors",
"multiplier_style": 0.4,
"multiplier_human": 0.95,
"add_prompt_style": "wlop, 1girl, close-up, black jacket, character request, commentary, earrings, jacket, jewelry, long hair, looking down, fire background, red hair, ruthlessness, golden ACC, locomotive"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "花园风(Flowers)",
"img": "./style_image/Flowers.jpg",
"model_id": "lljjcc/outdoor",
"revision": "v1.0.0",
"bin_file": "outdoor photo_v2.0.safetensors",
"multiplier_style": 0.65,
"multiplier_human": 0.95,
"add_prompt_style": "1 girl, flower, close-up, beautiful face, outdoor, sunlight, warm light"
}
@@ -0,0 +1,10 @@
{
"name": "绅士风(Gentleman style)",
"img": "./style_image/Gentleman.jpg",
"model_id": "Licht000/gentleman",
"revision": "v1.0.0",
"bin_file": "trkshgntlmn10.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "1male, black classic suit, ties, bowties, bar background"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "国风(GuoFeng Style)",
"img": "./style_image/GuoFeng.jpg",
"model_id": "Tekhne/GuoFengchill",
"revision": "v1.0.0",
"bin_file": "GuoFeng_sd-000006.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "(masterpiece, best quality, hires:1.2), GuoFeng, 1girl, close-up, face shot, linen cloth, red_lips, solo_focus, standing, looking at viewer, ethereal background"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "嘻哈风(Hiphop style)",
"img": "./style_image/Hiphop.jpg",
"model_id": "Licht000/hiphop",
"revision": "v1.0.1",
"bin_file": "edg90hh.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "1male, hiphop style, baggy hoodies, sweatshirts, jeans, baseball caps, chunky gold chains, sunglasses, hoop earrings, braids, dreadlocks, graffiti wall background, street"
}
@@ -0,0 +1,10 @@
{
"name": "夜景港风(Hong Kong night)",
"img": "./style_image/Hong_Kong_night_style.jpg",
"model_id": "YorickHe/polaroid_lora",
"revision": "v1.0.0",
"bin_file": "InstantPhotoX3.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, close-up, face shot, stylish outfit, fitted jeans, oversized jacket, fashionable accessories, cityscape backdrop, rooftop or high-rise balcony, dynamic composition, engaging pose, soft yet striking lighting, shallow depth of field, bokeh from city lights, naturally blurred background"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "印度风(India)",
"img": "./style_image/India.jpg",
"model_id": "lljjcc/IndianSarres",
"revision": "v1.0.0",
"bin_file": "Indian saree.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "wear indian style costume, gold ornament, gorgeous background, dynamic, Indian clothes, Indian Palace, jewelry, Indian style background, clean face"
}
@@ -0,0 +1,10 @@
{
"name": "雪山羽绒服风(Jacket in Snow Mountain)",
"img": "./style_image/Jacket_in_Snow_Mountain.jpg",
"model_id": "iotang/lora_testing",
"revision": "v7",
"bin_file": "puffy_jacket-1.0.safetensors",
"multiplier_style": 0.6,
"multiplier_human": 0.9,
"add_prompt_style": "close-up, fur collar, ((jacket)), shirt, pants, winter, (bright sunny day, snow mountain, alpine slopes, snow), gyaru, fashion, trendy, gentle hair"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "日系和服风(Kimono Style)",
"img": "./style_image/Kimono.jpg",
"model_id": "ZackWang123/filmvelvia_lora",
"revision": "v1.0.0",
"bin_file": "FilmVelvia3.safetensors",
"multiplier_style": 0.45,
"multiplier_human": 0.95,
"add_prompt_style": "outdoor, (linen:1.4), cute japanese model girl, kimono, floral print, hair ornament, looking at viewer, hair flower, brown eyes, bangs, realistic"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "哥特洛丽塔(Gothic Lolita)",
"img": "./style_image/Li.jpg",
"model_id": "Cleaner/lo_dress_gothic_style2_v2",
"revision": "v1.0.0",
"bin_file": "lo_dress_gothic_style2_v2.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "Lolita dress, Gothic Lolita style, Clothes in black or burgundy tones, 1 girl, indoor, looking at viewer, standing, natural lighting, depth of field, Gothic castle, Medieval painting, Medieval murals, long hair, dynamic pose, detailed background, lace-trimmed, with bowknot, Large glass windows, European monumental architecture"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "洛丽塔(Lolita)",
"img": "./style_image/Lolita.jpg",
"model_id": "Licht000/lolita",
"revision": "v1.0.0",
"bin_file": "lolitaV1.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, puffy dresses, lace edges, high-waist skirts, lace gloves, brooches, curled hair, braids, adorned with bows, rosy blush, pink lipsticks, reserved, sweet, girlish, garden background"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "花环洛丽塔(Flora Lolita)",
"img": "./style_image/Luolita.jpg",
"model_id": "idlepiggy/zju_16FC",
"revision": "v3.0.1",
"bin_file": "lolitaV1.safetensors",
"multiplier_style": 0.6,
"multiplier_human": 0.95,
"add_prompt_style": "lolita, warm sunlight, front view, jewelry,summer,purple eyes,long hair, white dress,backgound is sun and rainbow,faceing camera with a smile,beautiful flower on the head"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "女仆风(Maid style)",
"img": "./style_image/Maid.jpg",
"model_id": "Licht000/maid",
"revision": "v1.0.0",
"bin_file": "maid_attire_v2.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, black or white short dresses, lace edges, aprons, bows, lace gloves, neckties, cuffs, twin-tails, light makeup, pink blush, pink lipsticks, gentle, considerate, cafe background"
}
@@ -0,0 +1,10 @@
{
"name": "机械风(Mechanical)",
"img": "./style_image/Mechnical.jpg",
"model_id": "rewfueranro/Mechanical_lora",
"revision": "v1.0.0",
"bin_file": "reelmech1v2.safetensors",
"multiplier_style": 0.8,
"multiplier_human": 0.95,
"add_prompt_style": "looking to the camera, clean face, top quality, official art, beautiful and aesthetic, a futuristic dystopian city, scrapper, intricate, elegant, highly detailed, cyberpunk, luminescence, transparency, 8K, stunning art, hyper-realistic art, mechanical woman, art by Genevieve Valentine, Nikon D850, F/8, reelmech, demonic, expressive, delicate, perfect shading, HDR"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "男士西装风(Men's Suit)",
"img": "./style_image/Men_suit.jpg",
"model_id": "potazinc/suit",
"revision": "v2",
"bin_file": "businessman-AIX.safetensors",
"multiplier_style": 0.7,
"multiplier_human": 0.95,
"add_prompt_style": "(realistic:1.2), HDR, UHD, 8K, face ultra zoom, portrait, male, (1boy, office man, adult, asian, black hair, suit, hand in pocket, close-up)"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "苗族服装风(Miao style)",
"img": "./style_image/Miaozu.jpg",
"model_id": "SoulNut/facechain_model",
"revision": "v3.0",
"bin_file": "miaozu.safetensors",
"multiplier_style": 0.45,
"multiplier_human": 0.9,
"add_prompt_style": "(masterpiece, ultra high res face, face ultra zoom, highres, best quality, ultra detailed, portrait:1.2), sfw, Miao nationality, smaller head, beautiful face, smaller face, ((intricate embroideries on clothes)), silver ornaments, ((intricate detailed headdresses)), (((extremely elaborate silver detailing))), exquisite and ornate headpiece featuring intricate filigree designs and delicate engravings, leaning against a stone archway, hands clasped behind, wear gloves, detailed fingers, Miao Village background, flat chest, realistic"
}
@@ -0,0 +1,10 @@
{
"name": "模特风(Model style)",
"img": "./style_image/Model_style.jpg",
"model_id": "YorickHe/polaroid_lora",
"revision": "v1.0.0",
"bin_file": "InstantPhotoX3.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, balenciaga, close-up, fashion, streets of new york, new york, modeling for Balenciaga, natural skin texture, dynamic pose, rouge, film grain"
}
@@ -0,0 +1,10 @@
{
"name": "蒙古草原风(Mongolian)",
"img": "./style_image/Mongolian.jpg",
"model_id": "rtxxxx/zju_05",
"revision": "v1.0.0",
"bin_file": "mongolian.safetensors",
"multiplier_style": 0.6,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, mongolian style, mongolian traditional clothes, close-up, smile, linen, mongolian hair ornament, grass, prairie background, hills, sunlight, warm light, front view"
}
@@ -0,0 +1,10 @@
{
"name": "机车风(Motorcycle race style)",
"img": "./style_image/Motorcycle_race_style.jpg",
"model_id": "YorickHe/polaroid_lora",
"revision": "v1.0.0",
"bin_file": "InstantPhotoX3.safetensors",
"multiplier_style": 0.4,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, close-up, wearing racing clothes, motorbike clothes, modeling, playful, futuristic, city street background, at night, cool atmospheric, realistic"
}
@@ -0,0 +1,10 @@
{
"name": "夏日海滩风(Summer Ocean Vibe)",
"img": "./style_image/Ocean_Summer_vibe.jpg",
"model_id": "JeffVan/Oil_Paint_Style_LORA",
"revision": "v1.0.0",
"bin_file": "OilPaint.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "summer vibe, ocean, rock, sea wave, palm tree, sunshine, rim lighting, two tone light, professional photo portrait, beautiful eyes, beautiful face, ocean background, Style by NTY"
}
@@ -0,0 +1,10 @@
{
"name": "京剧名旦风(Female role in Peking opera)",
"img": "./style_image/PekingOpera_female_role.jpg",
"model_id": "houpeiran/mymodel",
"revision": "v1.0.0",
"bin_file": "PekingOperaR.safetensors",
"multiplier_style": 0.45,
"multiplier_human": 0.95,
"add_prompt_style": "portraits,standing, (photorealistic:1.4), official art, unity 8k wallpaper, ultra detailed, beautiful and aesthetic, masterpiece, (fractal art), 1girl, bust, wide aperture, Peking Opera, light makeup, Close-up of the face, the face is clear, no headdress, standing, black hair, each hand has five fingers"
}
@@ -0,0 +1,10 @@
{
"name": "拍立得风(Polaroid style)",
"img": "./style_image/Polaroid_style.jpg",
"model_id": "YorickHe/polaroid_lora",
"revision": "v1.0.0",
"bin_file": "InstantPhotoX3.safetensors",
"multiplier_style": 0.4,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, close-up, simple clothes, front view, looking straight into the camera, film grain, flash, enhanced flash, dark background, polaroid, instant photo, realistic face"
}
@@ -0,0 +1,10 @@
{
"name": "贵族公主风(Princess costum)",
"img": "./style_image/Princess_style.jpg",
"model_id": "AzilyModelScope/facechain_lora",
"revision": "v1.0.0",
"bin_file": "foreign_princess_costum.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "fantasy girl, close-up, Waist shot, long hair, jewelry, earrings, looking at viewer, white dress, cathedral background, crown, (detailed face, perfect face, perfect eyes, realistic eyes), (clear face), high detail, sharp focus, dramatic, beautiful girl"
}
@@ -0,0 +1,10 @@
{
"name": "雨夜(Rainy night)",
"img": "./style_image/Rainy_night.jpg",
"model_id": "YorickHe/polaroid_lora",
"revision": "v1.0.0",
"bin_file": "InstantPhotoX3.safetensors",
"multiplier_style": 0.45,
"multiplier_human": 0.95,
"add_prompt_style": "standing in the rain, wet, wet clothes, wet hair, face Shot, front view, close-up, cityscape, cold lighting, realistic, cinematic lighting, photon mapping, radiosity, physically-based rendering"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "红发礼服风(Red Style)",
"img": "./style_image/Redstyle.jpg",
"model_id": "Tekhne/red",
"revision": "v1.0.0",
"bin_file": "edgAyre_AC6.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "Masterpiece, best quality,edgQuality,smirk,smug, edgAyre, red hair,red eyes,dress,Haute_Couture, feathered top,woman wearing a Haute_Couture dress"
}
@@ -0,0 +1,10 @@
{
"name": "复古风(Retro Style)",
"img": "./style_image/Retro_style.jpg",
"model_id": "HanYixuan1/Retro_style",
"revision": "v1.0.0",
"bin_file": "Retro_style.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.8,
"add_prompt_style": "1990s, 1girl, close-up, waist shot, instant camera, woman looking out window, against glass, clothes, gray white and black ,black hair, misty beauty, glimmer, warm-toned, soft, sense of depth, Gauze texture, Solid fabric, face focusing, fit, Slight yellowing, autochrome photography, light and shade contrast, dim, pale, color fading, old city background"
}
@@ -0,0 +1,10 @@
{
"name": "漫游宇航员(Roaming Astronaut)",
"img": "./style_image/Roaming_Astronaut.jpg",
"model_id": "idlepiggy/zju_16FC",
"revision": "v3.0.1",
"bin_file": "firmamentV2.1.safetensors",
"multiplier_style": 0.7,
"multiplier_human": 0.9,
"add_prompt_style": "firmament, space_helmet, background is universe with stars, moon, looking at viewer"
}
@@ -0,0 +1,10 @@
{
"name": "校服风(School uniform)",
"img": "./style_image/School_uniform.jpg",
"model_id": "YorickHe/JK_uniform_lora",
"revision": "v1.0.0",
"bin_file": "jk_uniform.safetensors",
"multiplier_style": 0.2,
"multiplier_human": 0.95,
"add_prompt_style": "JK_style, white short-sleeved JK_shirt, dark blue JK_skirt, bow JK_tie, close-up, looking at viewer, sweet smile, night, Tokyo street, night city scape"
}
@@ -0,0 +1,10 @@
{
"name": "科幻风(Science fiction style)",
"img": "./style_image/Science_fiction.jpg",
"model_id": "StigXI/zju_01_LoRA",
"revision": "v1.0.0",
"bin_file": "scific.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "science fiction style suit,tidy face, photography, clean, vivid colors, (clean face:1.5), highly detailed, UHD, professional, cyber punk street background"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "绿茵球场风(Soccer Field)",
"img": "./style_image/Soccer.jpg",
"model_id": "rtxxxx/zju_05",
"revision": "v1.0.0",
"bin_file": "soccer_field.safetensors",
"multiplier_style": 0.15,
"multiplier_human": 0.9,
"add_prompt_style": "1 girl, close-up, sport uniform, no brand, no logo, warm light, sunlight, outdoor, dynamic, inside soccer field background, blue sky, happy smile, clean clothes, brilliant clothes"
}
@@ -0,0 +1,10 @@
{
"name": "街拍风(Street style)",
"img": "./style_image/Street_style.jpg",
"model_id": "Licht000/retro_style_lora",
"revision": "v1.0.0",
"bin_file": "lijiaxin.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, close-up, face shot, broad-shouldered blue jackets, high-waisted pants, black curly hair, dim yellow light, old movie filters, shallow depth of field, playful smiles, (naturally blurred background, shabby street:2), Yellowed photos, blurry figure"
}
@@ -0,0 +1,10 @@
{
"name": "藏族服饰风(Tibetan clothing style)",
"img": "./style_image/Tibetan_clothing.jpg",
"model_id": "PeiPeiY/style_lora",
"revision": "v1",
"bin_file": "tibetan.safetensors",
"multiplier_style": 0.55,
"multiplier_human": 0.9,
"add_prompt_style": "extremely delicate and beautiful girls, (tibetan clothing style), ((fur hat)), long hair, colorful makeup, outdoor, delicate headwear"
}
@@ -0,0 +1,10 @@
{
"name": "古风(Traditional chinese style)",
"img": "./style_image/Traditional_chinese_style.jpg",
"model_id": "iotang/lora_testing",
"revision": "v5",
"bin_file": "MoXinV1.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "(best quality, hanfu, Chinese traditional ink painting:1.8), close-up, song, anxiang, chinese_clothes, ornaments, topknot, perfect eyes, perfect face, soft smile"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "丁达尔风(Tyndall Light)",
"img": "./style_image/Tyndall.jpg",
"model_id": "Cleaner/Tyndalleffect_Light",
"revision": "v1.0.0",
"bin_file": "Tyndall effect_Light v1.1.safetensors",
"multiplier_style": 0.7,
"multiplier_human": 0.95,
"add_prompt_style": "Best Quality,Masterpiece,Ultra High Resolution,(Realisticity:1.4),Original Photo,Cinematic Lighting,1Girl,light rays,Tyndall effect,<lora:Tyndall effect_Light v1.1:0.6>,masterpiece, best quality, highly detailed,outdoor,soft light"
}
@@ -0,0 +1,10 @@
{
"name": "梦幻深海风(Sea World)",
"img": "./style_image/Underwater.jpg",
"model_id": "rtxxxx/zju_05",
"revision": "v1.0.0",
"bin_file": "underwater.safetensors",
"multiplier_style": 0.4,
"multiplier_human": 0.9,
"add_prompt_style": "underwater, sea life, aquatic, photography, upper body, masterpiece, cinematic angle, looking at viewer, coral"
}
@@ -0,0 +1,10 @@
{
"name": "婚纱风(Wedding dress)",
"img": "./style_image/Wedding_dress.jpg",
"model_id": "YorickHe/outdoor_photo_lora",
"revision": "v1.0.0",
"bin_file": "outdoor_photo_v2.0.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "white wedding dress, 1girl, summer, flower, happy atmosphere, sunlight, Waist Shot"
}
@@ -0,0 +1,10 @@
{
"name": "婚纱风-2(Wedding dress 2)",
"img": "./style_image/Wedding_dress_2.jpg",
"model_id": "YorickHe/polaroid_lora",
"revision": "v1.0.0",
"bin_file": "InstantPhotoX3.safetensors",
"multiplier_style": 0.4,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, close-up, wearing wedding dress, white, film grain, sunlight, sun flare, lens flare, field of white roses, high fashion, top model"
}
@@ -0,0 +1,10 @@
{
"name": "西部牛仔风(West cowboy)",
"img": "./style_image/West_cowboy.jpg",
"model_id": "Licht000/cowboy",
"revision": "v1.0.0",
"bin_file": "James West-000196.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "1male, face shot, Denim jackets, West style, checkered shirts, leather vests, yellow wide-brimmed hats, bandanas, leather belts with silver buckles, short hair, tough, desert background"
}
@@ -0,0 +1,10 @@
{
"name": "西部风(Wild west style)",
"img": "./style_image/Wild_west.jpg",
"model_id": "StigXI/zju_01_LoRA",
"revision": "v1.0.0",
"bin_file": "west.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "wild west style clothing, vivid colors, west countryside, front view, grassland, HDR, studio lighting, highly detailed, trending on artstation"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "女巫风(Witch style)",
"img": "./style_image/Witch.jpg",
"model_id": "Licht000/witch",
"revision": "v1.0.0",
"bin_file": "Moon Witch.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "1girl, close-up, front view, black robes, lace clothing, long skirts, capes, jewelry, black hats, dark wavy hair, dark eyeshadows, dark blush, forest background"
}
@@ -0,0 +1,10 @@
{
"name": "绿野仙踪(Wizard of Oz)",
"img": "./style_image/Wizard_of_Oz.jpg",
"model_id": "Rechycs/Wizard_lora",
"revision": "v1.0.0",
"bin_file": "Wizard_of_Oz.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.8,
"add_prompt_style": "OIL PAINTING, IMPRESSIONISM, medium full view, amidst the ancient woodland, the image captures the ethereal beauty of a young dryad. her long, braided red hair cascades like flames, entwining with vines and flowers that form her ornate dress, the air is filled with colorful petals, and dappled sunlight paints a mesmerizing tapestry on the forest floor, dense foliage, gnarled roots and branches, beams of sunlight, ethereal, mysterious, wondrous, chiaroscuro"
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "藏族风(ZangZu Style)",
"img": "./style_image/ZangZu.jpg",
"model_id": "fffff1123/zangzu",
"revision": "v1.0.0",
"bin_file": "ZangZu_chillout-000004.safetensors",
"multiplier_style": 0.55,
"multiplier_human": 0.95,
"add_prompt_style": "(masterpiece, best quality, hires:1.2),Zangzu,1girl,solo,sitting,lips,upper_body,beads necklace,snow,looking at viewer, blurry background, blurry hair edge, outdoors, ultra-detailed,"
}
@@ -0,0 +1,10 @@
{
"name": "壮族服装风(Zhuang style)",
"img": "./style_image/Zhuang_style.jpg",
"model_id": "iotang/lora_testing",
"revision": "v5",
"bin_file": "zhuangnv.safetensors",
"multiplier_style": 0.75,
"multiplier_human": 0.95,
"add_prompt_style": "((best quality)), close-up, portrait, ((zhuangzunv)), ornaments, jewelry, headwear, ((beautiful embroidery, floral print, marvelous design)), perfect eyes, perfect face, gentle black hair, smile"
}
@@ -0,0 +1,10 @@
{
"name": "盔甲风(Armor)",
"img": "./style_image/Armor.jpg",
"model_id": null,
"revision": null,
"bin_file": null,
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "wearing silver armor, simple background, high-class pure color background"
}
@@ -0,0 +1,10 @@
{
"name": "芭比娃娃(Barbie Doll)",
"img": "./style_image/Barbie_Doll.jpg",
"model_id": "theRealSlimShady/AI_portraits",
"revision": "v2",
"bin_file": "PinkBarbie.safetensors",
"multiplier_style": 0.25,
"multiplier_human": 0.95,
"add_prompt_style": "golden blond hair, wearing frilly dress, bow and ponytail, exquisite background, pure color background, delicate earrings and necklace, solo, happy expression"
}
@@ -0,0 +1,10 @@
{
"name": "休闲生活风(Casual Lifestyle)",
"img": "./style_image/Casual_Lifestyle.jpg",
"model_id": "theRealSlimShady/AI_portraits",
"revision": "v2",
"bin_file": "PortraitMasterV1.safetensors",
"multiplier_style": 0.25,
"multiplier_human": 0.95,
"add_prompt_style": "smile, lips, put on makeup, wearing casual clothes, simple background, blurred background"
}
@@ -0,0 +1,10 @@
{
"name": "凤冠霞帔(Chinese traditional gorgeous suit)",
"img": "./style_image/Chinese_traditional_gorgeous_suit.jpg",
"model_id": "ly261666/civitai_xiapei_lora",
"revision": "v1.0.0",
"bin_file": "xiapei.safetensors",
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "red, hanfu, tiara, crown"
}
@@ -0,0 +1,10 @@
{
"name": "赛博朋克(Cybernetics punk)",
"img": "./style_image/Cybernetics_punk.jpg",
"model_id": null,
"revision": null,
"bin_file": null,
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "white hair, neon glowing glasses, cybernetics, punks, robotic, AI, NFT art, Fluorescent color, ustration"
}
@@ -0,0 +1,10 @@
{
"name": "优雅公主(Elegant Princess)",
"img": "./style_image/Elegant_Princess.jpg",
"model_id": "theRealSlimShady/AI_portraits",
"revision": "v2",
"bin_file": "blancanievesV2.safetensors",
"multiplier_style": 0.25,
"multiplier_human": 0.95,
"add_prompt_style": "short black wavy hair, pale complexion, white lace, sky-blue dress, puff sleeves, earings, necklace, happy expression, simple pure color background"
}
@@ -0,0 +1,10 @@
{
"name": "女士晚礼服(Gown)",
"img": "./style_image/Gown.jpg",
"model_id": null,
"revision": null,
"bin_file": null,
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "wearing an elegant evening gown, simple background, high-class pure color background"
}
@@ -0,0 +1,10 @@
{
"name": "汉服风(Hanfu)",
"img": "./style_image/Hanfu.jpg",
"model_id": null,
"revision": null,
"bin_file": null,
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "wearing beautiful traditional hanfu, upper_body, simple background, high-class pure color background"
}
@@ -0,0 +1,10 @@
{
"name": "白月光(Innocent Girl in White Dress)",
"img": "./style_image/Innocent_Girl_in_White_Dress.jpg",
"model_id": null,
"revision": null,
"bin_file": null,
"multiplier_style": 0.25,
"multiplier_human": 0.95,
"add_prompt_style": "wearing elegant white dress, simple pure color background, face located in the center of the picture, long black hair, inquisitive eyes, innocent expression, lips"
}
@@ -0,0 +1,10 @@
{
"name": "鬼马少女(Pixy Girl)",
"img": "./style_image/Pixy_Girl.jpg",
"model_id": "theRealSlimShady/AI_portraits",
"revision": "v2",
"bin_file": "VidiaTinkerbellDisney-08.safetensors",
"multiplier_style": 0.25,
"multiplier_human": 0.95,
"add_prompt_style": "purple hair, ponytail, wearing slip skirt,looking straight into the camera with shoulders parallel to the frame, light purple background"
}
@@ -0,0 +1,10 @@
{
"name": "白雪公主(Snow White)",
"img": "./style_image/Snow_white.jpg",
"model_id": "houpeiran/mymodel",
"revision": "v1.0.0",
"bin_file": "blancanievesV2.safetensors",
"multiplier_style": 0.3,
"multiplier_human": 0.95,
"add_prompt_style": "snow white, princess, blue skirt, 1girl, medium breast, looking at viewer, close-up to head, smile, short hair, black hair, standing, brown eyes, hair bow, hairband, red bow, forest background"
}
@@ -0,0 +1,10 @@
{
"name": "T恤衫(T-shirt)",
"img": "./style_image/T-shirt.jpg",
"model_id": null,
"revision": null,
"bin_file": null,
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "wearing T-shirt, simple background, high-class pure color background"
}
@@ -0,0 +1,10 @@
{
"name": "工作服(Working suit)",
"img": "./style_image/Working_suit.jpg",
"model_id": null,
"revision": null,
"bin_file": null,
"multiplier_style": 0.35,
"multiplier_human": 0.95,
"add_prompt_style": "wearing high-class business/working suit, simple background, high-class pure color background"
}