Skip to content

Commit

Permalink
Merge pull request #326 from hehaha68/add_zju_style
Browse files Browse the repository at this point in the history
Update some features
  • Loading branch information
ly19965 authored Sep 24, 2023
2 parents f8fa471 + fa6fef7 commit 8a1e729
Show file tree
Hide file tree
Showing 138 changed files with 873 additions and 405 deletions.
203 changes: 88 additions & 115 deletions app.py

Large diffs are not rendered by default.

279 changes: 5 additions & 274 deletions facechain/constants.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions facechain/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def main_diffusion_inference(pos_prompt, neg_prompt,
attr_idx = np.argmax(cnts_trigger)
trigger_styles = ['a boy, children, ', 'a girl, children, ', 'a handsome man, ', 'a beautiful woman, ',
'a mature man, ', 'a mature woman, ']
trigger_style = '<fcsks>, ' + trigger_styles[attr_idx]
trigger_style = '(<fcsks>:10), ' + trigger_styles[attr_idx]
if attr_idx == 2 or attr_idx == 4:
neg_prompt += ', children'

Expand Down Expand Up @@ -238,7 +238,7 @@ def main_diffusion_inference_pose(pose_model_path, pose_image,
attr_idx = np.argmax(cnts_trigger)
trigger_styles = ['a boy, children, ', 'a girl, children, ', 'a handsome man, ', 'a beautiful woman, ',
'a mature man, ', 'a mature woman, ']
trigger_style = '<fcsks>, ' + trigger_styles[attr_idx]
trigger_style = '(<fcsks>:10), ' + trigger_styles[attr_idx]
if attr_idx == 2 or attr_idx == 4:
neg_prompt += ', children'

Expand Down Expand Up @@ -330,7 +330,7 @@ def main_diffusion_inference_multi(pose_model_path, pose_image,
attr_idx = np.argmax(cnts_trigger)
trigger_styles = ['a boy, children, ', 'a girl, children, ', 'a handsome man, ', 'a beautiful woman, ',
'a mature man, ', 'a mature woman, ']
trigger_style = '<fcsks>, ' + trigger_styles[attr_idx]
trigger_style = '(<fcsks>:10), ' + trigger_styles[attr_idx]
if attr_idx == 2 or attr_idx == 4:
neg_prompt += ', children'

Expand Down
4 changes: 2 additions & 2 deletions facechain/inference_inpaint.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def main_diffusion_inference_inpaint(inpaint_image, strength, output_img_size, p
attr_idx = np.argmax(cnts_trigger)
trigger_styles = ['a boy, children, ', 'a girl, children, ', 'a handsome man, ', 'a beautiful woman, ',
'a mature man, ', 'a mature woman, ']
trigger_style = '<fcsks>, ' + trigger_styles[attr_idx]
trigger_style = '(<fcsks>:10), ' + trigger_styles[attr_idx]
if attr_idx == 2 or attr_idx == 4:
neg_prompt += ', children'

Expand Down Expand Up @@ -445,7 +445,7 @@ def main_diffusion_inference_inpaint_multi(inpaint_images, strength, output_img_
attr_idx = np.argmax(cnts_trigger)
trigger_styles = ['a boy, children, ', 'a girl, children, ', 'a handsome man, ', 'a beautiful woman, ',
'a mature man, ', 'a mature woman, ']
trigger_style = '<fcsks>, ' + trigger_styles[attr_idx]
trigger_style = '(<fcsks>:10), ' + trigger_styles[attr_idx]
if attr_idx == 2 or attr_idx == 4:
neg_prompt += ', children'

Expand Down
36 changes: 25 additions & 11 deletions run_inference.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os

import json
from facechain.inference import GenPortrait
import cv2
from facechain.utils import snapshot_download
from facechain.constants import neg_prompt, pos_prompt_with_cloth, pos_prompt_with_style, styles, base_models
from facechain.constants import neg_prompt, pos_prompt_with_cloth, pos_prompt_with_style, base_models


def generate_pos_prompt(style_model, prompt_cloth):
if style_model in base_models[0]['style_list'][:-1] or style_model is None:
pos_prompt = pos_prompt_with_cloth.format(prompt_cloth)
else:
if style_model is not None:
matched = list(filter(lambda style: style_model == style['name'], styles))
if len(matched) == 0:
raise ValueError(f'styles not found: {style_model}')
matched = matched[0]
pos_prompt = pos_prompt_with_style.format(matched['add_prompt_style'])
if matched['model_id'] is None:
pos_prompt = pos_prompt_with_cloth.format(prompt_cloth)
else:
pos_prompt = pos_prompt_with_style.format(matched['add_prompt_style'])
else:
pos_prompt = pos_prompt_with_cloth.format(prompt_cloth)
return pos_prompt

styles = []
for base_model in base_models:
style_in_base = []
folder_path = f"/mnt/workspace/new_facechain/facechain/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") as f:
data = json.load(f)
style_in_base.append(data['name'])
styles.append(data)
base_model['style_list'] = style_in_base

use_main_model = True
use_face_swap = True
Expand All @@ -28,13 +44,11 @@ def generate_pos_prompt(style_model, prompt_cloth):
pose_image = 'poses/man/pose1.png'
processed_dir = './processed'
num_generate = 5
base_model = 'ly261666/cv_portrait_model'
revision = 'v2.0'
multiplier_style = 0.25
multiplier_human = 0.85
base_model_sub_dir = 'film/film'
train_output_dir = './output'
output_dir = './generated'
base_model = base_models[0]
style = styles[0]
model_id = style['model_id']

Expand Down Expand Up @@ -62,8 +76,8 @@ def generate_pos_prompt(style_model, prompt_cloth):
use_face_swap, use_post_process,
use_stylization)

outputs = gen_portrait(processed_dir, num_generate, base_model,
train_output_dir, base_model_sub_dir, revision)
outputs = gen_portrait(processed_dir, num_generate, base_model['model_id'],
train_output_dir, base_model['sub_path'], base_model['revision'])

os.makedirs(output_dir, exist_ok=True)

Expand Down
Binary file added style_image/Autumn_populus.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Bleak_autumn.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Cartoon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified style_image/Cheongsam.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Chinese_New_Year.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Chinese_traditional.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified style_image/Chinese_traditional_gorgeous_suit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified style_image/Chinese_winter_hanfu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Christmas.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Colorful_rainbow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Cool_tones.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Cowboy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified style_image/Cybernetics_punk.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified style_image/Deer_girl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Disneyland.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/DreamyOcean.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Dunhuang.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Duobaan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified style_image/Elegant_Princess.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Embroidery.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Fashion_glasses.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Flame_red_style.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Flowers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Gentleman.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/GuoFeng.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added style_image/Hiphop.jpg
Binary file modified style_image/Hong_Kong_night_style.jpg
Binary file added style_image/India.jpg
Binary file added style_image/Li.jpg
Binary file added style_image/Lolita.jpg
Binary file added style_image/Luolita.jpg
Binary file added style_image/Maid.jpg
Binary file modified style_image/Mechnical.jpg
Binary file added style_image/Men_suit.jpg
Binary file added style_image/Miaozu.jpg
Binary file added style_image/Mongolian.jpg
Binary file modified style_image/Motorcycle_race_style.jpg
Binary file added style_image/Ocean_Summer_vibe.jpg
Binary file added style_image/PekingOpera_female_role.jpg
Binary file added style_image/Redstyle.jpg
Binary file added style_image/Retro_style.jpg
Binary file added style_image/Roaming_Astronaut.jpg
Binary file added style_image/Science_fiction.jpg
Binary file added style_image/Snow_white.jpg
Binary file added style_image/Soccer.jpg
Binary file added style_image/Street_style.jpg
Binary file added style_image/Tibetan_clothing.jpg
File renamed without changes
Binary file added style_image/Tyndall.jpg
Binary file added style_image/Underwater.jpg
Binary file modified style_image/Wedding_dress.jpg
Binary file added style_image/West_cowboy.jpg
Binary file added style_image/Wild_west.jpg
Binary file added style_image/Witch.jpg
Binary file added style_image/Wizard_of_Oz.jpg
Binary file added style_image/ZangZu.jpg
Binary file modified style_image/Zhuang_style.jpg
Binary file removed style_image/cartoon.jpg
Diff not rendered.
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Autumn_populus.json
Original file line number Diff line number Diff line change
@@ -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)"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Bleak_autumn.json
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Cartoon.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Cheongsam.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Chinese_New_Year.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Chinese_winter_hanfu.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Christmas.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Colorful_rainbow.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Cool_tones.json
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Cowboy.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Deer_girl.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Disneyland.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/DreamyOcean.json
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Dunhuang.json
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Duobaan.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Embroidery.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/European_fields.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Fairy_style.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Fashion_glasses.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Flame_red_style.json
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Flowers.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/Gentleman.json
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions styles/MajicmixRealistic_v6/GuoFeng.json
Original file line number Diff line number Diff line change
@@ -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"
}
Loading

0 comments on commit 8a1e729

Please sign in to comment.