Skip to content

Commit

Permalink
✨ feat: Add new prompt factory cells for Clothing, Expression, Access…
Browse files Browse the repository at this point in the history
…ories, Character Design, Body, Scene, Art Style, Environment, Illustrator, Action, Face, Background, r18, Composition.
  • Loading branch information
sudoskys committed Mar 9, 2024
1 parent f648a4d commit bfd4fce
Show file tree
Hide file tree
Showing 14 changed files with 82 additions and 0 deletions.
43 changes: 43 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Accessories.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# -*- coding: utf-8 -*-
from enum import Enum

_Accessories = ['主题发饰', '乐器', '体育', '其他', '其他1', '其他2', '其他3', '厨具', '头顶', '容器', '尾巴', '工具',
'手套', '数码', '文具', '日用', '材料', '武器', '汤和饮料', '玩具', '甜点', '翅膀', '耳饰', '肉禽蛋',
'胸部', '脸部', '腕臂', '腰部', '腿脚', '调味料和酱汁', '颈饰', '食物', '餐具', '鱼和海鲜']


class AccessoryType(Enum):
THEME_DECORATIONS = '主题发饰'
INSTRUMENTS = '乐器'
SPORTS = '体育'
OTHER1 = '其他'
OTHER2 = '其他1'
OTHER3 = '其他2'
OTHER4 = '其他3'
KITCHENWARE = '厨具'
HEAD = '头顶'
CONTAINER = '容器'
TAIL = '尾巴'
TOOLS = '工具'
GLOVES = '手套'
DIGITAL = '数码'
STATIONERY = '文具'
DAILY_USE = '日用'
MATERIALS = '材料'
WEAPONS = '武器'
SOUP_AND_DRINKS = '汤和饮料'
TOYS = '玩具'
DESSERTS = '甜点'
WINGS = '翅膀'
EAR_DECORATIONS = '耳饰'
MEAT_POULTRY_AND_EGGS = '肉禽蛋'
CHEST = '胸部'
FACE = '脸部'
ARM_WRIST = '腕臂'
WAIST = '腰部'
LEG_FOOT = '腿脚'
CONDIMENTS_AND_SAUCE = '调味料和酱汁'
NECK_DECORATIONS = '颈饰'
FOOD = '食物'
TABLEWARE = '餐具'
FISH_AND_SEAFOOD = '鱼和海鲜'
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Action.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Action = ['互动', '体育运动', '倒立', '倾靠', '其他1', '其他互动', '其他姿势', '双人姿势', '坐姿', '头发互动', '头部姿势', '娱乐', '室内日常', '战斗', '户外', '手位置', '手指姿势', '手臂姿势', '指向', '数码', '文具', '日用', '桌案', '植物', '武器', '沐浴', '活动', '玩具', '移动', '穿脱衣', '站姿', '胸部姿势', '腿部姿势', '艺术', '衣服互动', '趴姿', '跪姿', '躺姿', '造型', '音乐', '食物', '魔幻']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Art_Style.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Art_style = ['传统材质', '作品', '其他风格', '年代风', '流派', '艺术家']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Background.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Background = ['乐器', '图案背景', '实物背景', '室外设施', '家具', '工具', '幻想系', '摆设', '电器', '简单色背景', '自然物', '装修', '载具']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Body.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Body = ['侧发', '其他', '其他装饰', '兽耳', '刘海', '发质', '发量', '发髻', '手', '整体发型', '特殊耳', '肩', '胸', '腰部', '腹部', '腿部', '臀部', '花纹', '角', '足部', '辫子', '长度', '颈背', '颜色', '马尾']
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Character_design = ['人外', '人物关系', '其他', '年龄', '幻想系职业', '性格', '机设', '现实系职业', '皮肤', '组成', '非人']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Clothing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Clothing = ['上衣', '下装', '中古系', '仪式', '兜帽', '其他', '其他种类', '内衣', '内衬', '内裤', '制服', '卫衣', '吊带', '和服', '大衣', '头部', '夹克', '居家', '开口(身体部位tag也可达露出目的)', '情趣', '扣式', '披风兜帽', '整体', '服装纹样', '未来系', '比基尼', '毛衣', '汉服', '泳衣', '洛丽塔', '现代系', '种族cos', '紧身衣', '职业cos', '背心', '节日', '衬衫', '袖子', '袜子', '装饰', '裙子', '裤子', '运动系', '连衣裙', '雨衣', '非衣服当衣服', '鞋子', '领子']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Composition.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Composition = ['主题', '人物视线', '其他', '区域', '叶', '地平线', '天空', '日月', '昆虫', '构成', '火焰和爆炸', '烟', '焦点', '纸', '背景关系', '自然现象', '花', '视角', '角度', '设计元素', '远近', '透视', '魔幻']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Environment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Environment = ['中型陆地哺乳', '主题', '交通', '交通工具', '人造景观', '其他', '军事', '办公', '园林', '场地', '大型陆地哺乳', '太空', '娱乐旅宿', '室内其他', '室外其他', '家居', '小型陆地哺乳', '屋外', '工业', '市政', '市镇', '幻兽种', '建筑', '建筑风格', '恐龙', '果实', '树木', '校园', '水产', '海洋哺乳', '游乐设施', '灌木', '爬行两栖', '自然景观', '自然环境', '节肢', '花', '草', '藤类', '设施', '购物', '运动场', '餐饮', '鸟类']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Expression.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Expression = ['其他', '哀', '喜', '嘴', '怒', '惊', '慌', '眼', '累', '羞']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Face.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Face = ['修饰', '其他', '嘴巴', '整体', '眉毛', '眼部', '眼部装饰', '瞳孔形状', '颜色', '额头']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Illustrator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Illustrator = ['画师']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/Scene.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_Scene = ['一天', '光', '其他画面', '其他符号', '功能', '动画', '四季', '封面和书本', '影', '插画和CG', '气泡', '滤镜', '漫画', '画面元素', '画面增强', '线条', '节日', '设定', '音符', '颜色风格']
3 changes: 3 additions & 0 deletions src/novelai_python/utils/prompt_factory/cell/r18.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

_R18 = ['17.9tag']

0 comments on commit bfd4fce

Please sign in to comment.