feat: 🎸 提示词系统初步搭建
parent
b2fbfb9d89
commit
8afc44f65d
@ -0,0 +1,93 @@
|
||||
export const ACTION_BASE = {
|
||||
"坐": "sitting",
|
||||
"站": "stand",
|
||||
"蹲着": "squat",
|
||||
"趴": "grovel",
|
||||
"躺": "lie",
|
||||
"跳": "jump",
|
||||
"跑": "run",
|
||||
"走": "walk",
|
||||
"飞": "fly",
|
||||
"歪头": "head tilt",
|
||||
"回头": "looking back",
|
||||
"向下看": "looking down",
|
||||
"向上看": "looking up",
|
||||
"闻": "smelling",
|
||||
"睡觉": "sleeping",
|
||||
"洗澡": "bathing",
|
||||
}
|
||||
|
||||
export const ACTION_HAND = {
|
||||
"手放在嘴边": "hand_to_mouth",
|
||||
"手放头旁边": "arm at side ",
|
||||
"手放脑后": "arms behind head",
|
||||
"手放后面": "arms behind back ",
|
||||
"手放在自己的胸前": "hand on own chest",
|
||||
"手交叉于胸前": "arms_crossed",
|
||||
"手放臀": "hand on another\u0027s hip",
|
||||
"单手插腰": "hand_on_hip",
|
||||
"双手叉腰": "hands_on_hips",
|
||||
"举手": "hands up ",
|
||||
"伸懒腰": "stretch",
|
||||
"举手露腋": "armpits",
|
||||
"手把腿抓着": "leg hold",
|
||||
"抓住": "grabbing",
|
||||
"拿着": "holding",
|
||||
"用手指做出笑脸": "fingersmile",
|
||||
"拉头发": "hair_pull",
|
||||
"撮头发": "hair scrunchie",
|
||||
"手势": "w ",
|
||||
"耶": "peace symbol ",
|
||||
"翘大拇指": "thumbs_up",
|
||||
"比出中指": "middle_finger",
|
||||
"猫爪手势": "cat_pose",
|
||||
"手枪手势": "finger_gun",
|
||||
"嘘手势": "shushing",
|
||||
"招手": "waving",
|
||||
"敬礼": "salute",
|
||||
"张手": "spread_arms",
|
||||
}
|
||||
|
||||
export const ACTION_LEG = {
|
||||
"张开腿": "spread legs",
|
||||
"二郎腿": "crossed_legs",
|
||||
"曲腿至胸": "fetal_position",
|
||||
"抬一只脚": "leg_lift",
|
||||
"抬两只脚": "legs_up",
|
||||
"前倾": "leaning forward",
|
||||
"婴儿姿势": "fetal position",
|
||||
"靠墙": " against wall",
|
||||
"趴着": "on_stomach",
|
||||
"正坐": "seiza",
|
||||
"割坐": "wariza/w-sitting",
|
||||
"侧身坐": "yokozuwari",
|
||||
"盘腿": "indian_style",
|
||||
"抱腿": "leg_hug",
|
||||
"跨坐": "straddling",
|
||||
"下跪": "kneeling",
|
||||
"抽烟": "smoking",
|
||||
"用手支撑住": "arm_support",
|
||||
}
|
||||
|
||||
export const ACTION_COMPOSE = {
|
||||
"拥抱": "hug",
|
||||
"膝枕": "lap_pillow",
|
||||
|
||||
"公主抱": "princess_carry",
|
||||
"战斗姿态": "fighting_stance",
|
||||
"颠倒的": "upside-down",
|
||||
"趴着翘臀": "top-down_bottom-up",
|
||||
"翘臀姿势": "bent_over",
|
||||
"弓身体": "arched_back",
|
||||
"背对背": "back-to-back",
|
||||
"手对手": "symmetrical_hand_pose",
|
||||
"眼对眼(对视)": "eye_contact",
|
||||
"掏耳勺": "mimikaki",
|
||||
"牵手": "holding_hands",
|
||||
"四肢趴地": "all_fours",
|
||||
"女胸部贴在一起": "symmetrical_docking",
|
||||
"脱衣服": "undressing",
|
||||
"掀起裙子": "skirt lift",
|
||||
"掀起上衣": "shirt lift",
|
||||
"调整过膝袜": "adjusting_thighhigh"
|
||||
}
|
||||
@ -1,92 +1,90 @@
|
||||
export const FACIAL_FEATURE = [
|
||||
"food on face",
|
||||
"light blush",
|
||||
"facepaint",
|
||||
"makeup",
|
||||
"cute face",
|
||||
"white colored eyelashes",
|
||||
"longeyelashes",
|
||||
"white eyebrows",
|
||||
"tsurime",
|
||||
"gradient",
|
||||
"beautiful detailed eyes",
|
||||
"tareme",
|
||||
"slit pupils",
|
||||
"heterochromia",
|
||||
"heterochromia blue red",
|
||||
"aqua eyes",
|
||||
"looking at viewer",
|
||||
"eyeball",
|
||||
"stare",
|
||||
"visible through hair",
|
||||
"looking to the side",
|
||||
"constricted pupils",
|
||||
"symbol",
|
||||
"heart in eye",
|
||||
"heart",
|
||||
"wink",
|
||||
"mole under eye",
|
||||
"eyes closed",
|
||||
"no",
|
||||
"fake animal ears",
|
||||
"animal ear fluff",
|
||||
"animal",
|
||||
"fox",
|
||||
"bunny",
|
||||
"cat",
|
||||
"dog",
|
||||
"mouse",
|
||||
"hair ear",
|
||||
"pointy ears",
|
||||
];
|
||||
export const FACIAL_FEATURE = {
|
||||
"食物在脸上(食物可替换)": "food on face",
|
||||
"淡淡腮红%R": "light blush",
|
||||
"面纹%N": "facepaint",
|
||||
"浓妆%R": "makeup ",
|
||||
"可爱表情%N": "cute face",
|
||||
"白色睫毛%SR": "white colored eyelashes",
|
||||
"长睫毛%R": "longeyelashes",
|
||||
"白色眉毛%R": "white eyebrows",
|
||||
"吊眼角": "tsurime",
|
||||
"渐变眼": "gradient_eyes",
|
||||
"垂眼角": "tareme",
|
||||
"猫眼%SR": "slit pupils ",
|
||||
"异色瞳%SSR": "heterochromia ",
|
||||
"红蓝眼%SSR": "heterochromia blue red",
|
||||
"水汪汪大眼%SR": "aqua eyes",
|
||||
"看你": "looking at viewer",
|
||||
"盯着看": "eyeball",
|
||||
"凝视": "stare",
|
||||
"透过刘海看": "visible through hair",
|
||||
"看旁边": "looking to the side ",
|
||||
"收缩的瞳孔": "constricted pupils",
|
||||
"符号形状的瞳孔%SSR": "symbol-shaped pupils ",
|
||||
"❤%SSR": "heart in eye",
|
||||
"爱心瞳孔%SSR": "heart-shaped pupils",
|
||||
"眨眼%SR": "wink ",
|
||||
"眼下痣%R": "mole under eye",
|
||||
"闭眼%N": "eyes closed",
|
||||
"没鼻子": "no_nose",
|
||||
"动物耳朵%SR": "animal_ears",
|
||||
"动物耳绒毛%SR": "animal ear fluff ",
|
||||
"狐狸耳朵%SR": "fox_ears",
|
||||
"兔子耳朵%SR": "bunny_ears",
|
||||
"猫耳%SR": "cat_ears",
|
||||
"狗耳%SR": "dog_ears",
|
||||
"叔耳": "mouse_ears",
|
||||
"头发上耳朵": "hair ear",
|
||||
"尖耳": "pointy ears"
|
||||
};
|
||||
|
||||
export const FACIAL_EXPRESSION = [
|
||||
"light smile",
|
||||
"seductive smile",
|
||||
"grin",
|
||||
"laughing",
|
||||
"teeth",
|
||||
"excited",
|
||||
"embarrassed",
|
||||
"blush",
|
||||
"shy",
|
||||
"nose blush",
|
||||
"expressionless",
|
||||
"expressionless eyes",
|
||||
"sleepy",
|
||||
"drunk",
|
||||
"tears",
|
||||
"crying with eyes open",
|
||||
"sad",
|
||||
"pout",
|
||||
"sigh",
|
||||
"wide eyed",
|
||||
"angry",
|
||||
"annoyed",
|
||||
"frown",
|
||||
"smirk",
|
||||
"serious",
|
||||
"jitome",
|
||||
"scowl",
|
||||
"crazy",
|
||||
"dark",
|
||||
"smirk",
|
||||
"smug",
|
||||
"naughty",
|
||||
"one eye closed",
|
||||
"half-closed eyes",
|
||||
"nosebleed",
|
||||
"eyelid pull",
|
||||
"tongue",
|
||||
"tongue out",
|
||||
"closed mouth",
|
||||
"open mouth",
|
||||
"lipstick",
|
||||
"fangs",
|
||||
"clenched teeth",
|
||||
":3",
|
||||
":p",
|
||||
":q",
|
||||
":t",
|
||||
":d",
|
||||
];
|
||||
export const FACIAL_EXPRESSION = {
|
||||
"微笑%1": "smirk",
|
||||
"诱惑笑%5": "seductive smile",
|
||||
"露齿而笑%2": "grin",
|
||||
"笑": "laughing",
|
||||
"牙": "teeth ",
|
||||
"兴奋%3": "excited",
|
||||
"害羞%3": "nose blush ",
|
||||
"脸红%4": "blush",
|
||||
"无表情%4": "expressionless",
|
||||
"失神%1": "expressionless eyes",
|
||||
"困%2": "sleepy",
|
||||
"喝醉的%4": "drunk",
|
||||
"哭%3": "crying with eyes open",
|
||||
"悲伤的": "sad",
|
||||
"别扭努嘴%4": "pout",
|
||||
"叹气": "sigh",
|
||||
"睁大眼睛%3": "wide eyed",
|
||||
"生气%2": "angry",
|
||||
"苦恼的%1": "annoyed",
|
||||
"皱眉": "frown",
|
||||
"严肃": "serious",
|
||||
"鄙夷": "jitome",
|
||||
"锐利": "scowl",
|
||||
"疯狂的": "crazy",
|
||||
"黑化的%5": "dark_persona",
|
||||
"得意": "smug",
|
||||
|
||||
"一只眼睛闭上%4": "one eye closed",
|
||||
"半闭眼睛%3": "half-closed eyes",
|
||||
"鼻血": "nosebleed",
|
||||
"做鬼脸%4": "eyelid pull ",
|
||||
"舌头": "tongue",
|
||||
"吐舌%4": "tongue out",
|
||||
"闭嘴": "closed mouth",
|
||||
"张嘴": "open mouth",
|
||||
"口红": "lipstick",
|
||||
"尖牙": "fangs",
|
||||
"咬紧牙关": "clenched teeth",
|
||||
"ω猫嘴%4": ":3",
|
||||
"向下吐舌头%3": ":p",
|
||||
"向上吐舌头%3": ":q",
|
||||
"不耐烦%2": ":t",
|
||||
"杯型笑脸": ":d",
|
||||
"下流的表情": "naughty_face",
|
||||
"忍耐的表情": "endured_face",
|
||||
"阿黑颜": "ahegao",
|
||||
"血在脸上": "blood on face",
|
||||
"唾液": "saliva"
|
||||
};
|
||||
|
||||
@ -0,0 +1,21 @@
|
||||
import { BODY_BREASTS, BODY_CLOTHING, BODY_LEG_ORNAMENTS, BODY_SHOES } from "./body";
|
||||
import { FACIAL_EXPRESSION, FACIAL_FEATURE } from "./facial";
|
||||
import { ROLE, STYLE } from "./general";
|
||||
import { HAIR_COLOR, HAIR_STYLE } from "./hair";
|
||||
import { ORNAMENTS } from "./ornament";
|
||||
|
||||
/** 全局提示词清单 */
|
||||
export const GLOBAL_PROMPTS = {
|
||||
// 抽卡
|
||||
role: ROLE,
|
||||
facialFeature: FACIAL_FEATURE,
|
||||
ornaments: ORNAMENTS,
|
||||
|
||||
// 天赋点
|
||||
hairColor: HAIR_COLOR,
|
||||
hairStyle: HAIR_STYLE,
|
||||
facialExpression: FACIAL_EXPRESSION,
|
||||
bodyBreasts: BODY_BREASTS,
|
||||
bodyClothing: BODY_CLOTHING,
|
||||
bodyShoes: BODY_SHOES,
|
||||
}
|
||||
@ -1,76 +1,70 @@
|
||||
export const ORNAMENTS = [
|
||||
"halo",
|
||||
"mini_top_hat",
|
||||
"beret",
|
||||
"hood",
|
||||
"nurse cap",
|
||||
"tiara",
|
||||
"oni horns",
|
||||
"demon horns",
|
||||
"hair ribbon",
|
||||
"flower ribbon",
|
||||
"hairband",
|
||||
"hairclip",
|
||||
"hair_ribbon",
|
||||
"hair_flower",
|
||||
"hair_ornament",
|
||||
"bowtie",
|
||||
"hair_bow",
|
||||
"maid_headdress",
|
||||
"bow",
|
||||
"hair ornament",
|
||||
"heart hair ornament",
|
||||
"bandaid hair ornament",
|
||||
"hair bun",
|
||||
"cone hair bun",
|
||||
"double bun",
|
||||
"semi-rimless eyewear",
|
||||
"sunglasses",
|
||||
"goggles",
|
||||
"eyepatch",
|
||||
"black blindfold",
|
||||
"headphones",
|
||||
"veil",
|
||||
"mouth mask",
|
||||
"glasses",
|
||||
"earrings",
|
||||
"jewelry",
|
||||
"bell",
|
||||
"ribbon_choker",
|
||||
"black choker",
|
||||
"necklace",
|
||||
"headphones around neck",
|
||||
"collar",
|
||||
"sailor_collar",
|
||||
"neckerchief",
|
||||
"necktie",
|
||||
"cross necklace",
|
||||
"pendant",
|
||||
"jewelry",
|
||||
"scarf",
|
||||
"armband",
|
||||
"armlet",
|
||||
"arm strap",
|
||||
"elbow gloves",
|
||||
"half gloves",
|
||||
"fingerless_gloves",
|
||||
"gloves",
|
||||
"fingerless gloves",
|
||||
"chains",
|
||||
"shackles",
|
||||
"cuffs",
|
||||
"handcuffs",
|
||||
"bracelet",
|
||||
"wristwatch",
|
||||
"wristband",
|
||||
"wrist_cuffs",
|
||||
"holding book",
|
||||
"holding sword",
|
||||
"tennis racket",
|
||||
"cane",
|
||||
"backpack",
|
||||
"school bag",
|
||||
"satchel",
|
||||
"smartphone",
|
||||
"bandaid",
|
||||
];
|
||||
export const ORNAMENTS = {
|
||||
"光环%R": "halo",
|
||||
"迷你礼帽": "mini_top_hat",
|
||||
"贝雷帽": "beret",
|
||||
"兜帽": "hood",
|
||||
"护士帽%SR": "nurse cap",
|
||||
"皇冠%R": "tiara",
|
||||
"鬼角": "oni horns",
|
||||
"恶魔角%SSR": "demon horns",
|
||||
"发带%SR": "hair_ribbon",
|
||||
"花丝带": "flower ribbon",
|
||||
"发卡%R": "hairband",
|
||||
"发夹%R": "hairclip",
|
||||
"发花": "hair_flower",
|
||||
"头饰": "hair_ornament",
|
||||
"蝴蝶结": "bowtie",
|
||||
"蝴蝶结发饰": "hair_bow",
|
||||
"女仆头饰%SSR": "maid_headdress",
|
||||
"服装饰品头部饰品": "bow",
|
||||
"发饰": "hair ornament",
|
||||
"心形%SR": "heart hair ornament",
|
||||
"创可贴": "bandaid",
|
||||
"锥形发髻": "cone hair bun",
|
||||
"双发髻": "double bun",
|
||||
"半无框的眼镜": "semi-rimless eyewear",
|
||||
"太阳镜%SR": "sunglasses",
|
||||
"风镜": "goggles",
|
||||
"眼罩独眼%SSR": "eyepatch",
|
||||
"黑色眼罩": "black blindfold",
|
||||
"耳机%N": "headphones",
|
||||
"面纱%R": "veil",
|
||||
"口罩%R": "mouth mask",
|
||||
"眼镜%R": "glasses",
|
||||
"耳环%N": "earrings",
|
||||
"首饰%N": "jewelry",
|
||||
"铃铛%SSR": "bell",
|
||||
"颈带%N": "ribbon_choker",
|
||||
"颈部饰品%N": "black choker ",
|
||||
"项链%R": "necklace",
|
||||
"耳机套脖子上%SR": "headphones around neck",
|
||||
"项圈%SSR": "collar",
|
||||
"水手领%SR": "sailor_collar",
|
||||
"领巾%N": "neckerchief",
|
||||
"领带%N": "necktie",
|
||||
"十字架%SR": "cross necklace",
|
||||
"吊坠%N": "pendant",
|
||||
"围巾%R": "scarf",
|
||||
"臂章%R": "armband",
|
||||
"臂环%N": "armlet",
|
||||
"臂带%N": "arm strap",
|
||||
"肘部手套%N": "elbow gloves ",
|
||||
"露指手套%N": "half gloves ",
|
||||
"手镯%R": "bracelet",
|
||||
"手套%R": "gloves",
|
||||
"五指手套%N": "fingerless gloves",
|
||||
"锁链%SSR": "chains",
|
||||
"手链%SSR": "shackles",
|
||||
"手铐%SSR": "handcuffs",
|
||||
"手表%R": "wristwatch",
|
||||
"腕带": "wristband",
|
||||
"腕饰": "wrist_cuffs",
|
||||
"拿着书%R": "holding book",
|
||||
"拿着剑%SR": "holding sword",
|
||||
"球拍%SR": "tennis racket",
|
||||
"手杖%SR": "cane",
|
||||
"双肩包": "backpack",
|
||||
"书包%N": "school bag ",
|
||||
"肩背书包": "satchel",
|
||||
"手机%N": "smartphone "
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue