https://www.runninghub.ai/?inviteCode=rh-v1121
https://www.runninghub.cn/?inviteCode=rh-v1121
My favorite girl Go YounJung
本站开设初衷是提供平价的API给粉丝朋友玩最新的海外模型,并非盈利目的,秉承这一理念,我们的价格毛利不到10%,去掉正常缴税和人工开发维护,服务器成本后几乎没有利润,所以并非盈利性质网站,没有任何议价空间,也不支持用于商业目的的二次开发,仅服务于粉丝朋友,望理解,每个月发票数量有限,需要自己承担所有税费5-25%
网站使用教程:https://ai.t8star.org/about
API调用及开发教程:https://ai.t8star.org/api-set
整合包(更新至v4.5B):https://pan.quark.cn/s/5e948ab145e1
youtube教程:https://www.youtube.com/watch?v=oitmGaRtYvc
MetaStyle T8 风格选择器 —— 把上万种艺术风格的代表图、示例提示词全部装进 ComfyUI 节点,支持中英拼音模糊搜索 + 实时大图预览。
cyberpunk / 赛博 / saibo / sb 都能命中)/metastyle/search 新增 offset 参数支持┌────────────────────────────────────────────┐
│ MetaStyle T8 风格选择器 │
├────────────────────────────────────────────┤
│ [赛博朋克 Cyberpunk (259) ▼] [搜索框] │
├────────────────────────────────────────────┤
│ ▣ 缩略图网格(按需加载,悬停高亮) │
│ ┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐ │
│ │ ││ ││★ ││ ││ ││ ││ ││ │ │
│ └──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘ │
├────────────────────────────────────────────┤
│ [大图预览] 风格名: cyberpunk fantasy ... │
│ 大类: 赛博朋克 │
│ 示例提示词: Barbell on rack… │
└────────────────────────────────────────────┘
输出: image | style_name | category | sample_prompt | sample_id | meta_json
cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/comfyui-metastyle-T8.git
cd comfyui-metastyle-T8
pip install -r requirements.txt
数据已包含在仓库中,无需额外下载或构建。
未来发布到 Registry 后可一键安装。
v1.0.0 起,数据已内置在仓库中,无需手动构建。
仓库包含 10,000 张风格原图 + 10,000 张缩略图 + 元数据索引,总计 ~410 MB。
git clone后开箱即用。
适合你已经持有 train-00000.parquet 源数据集,想自行构建或更新风格库的情况:
cd custom_nodes/comfyui-metastyle-T8
# 1. 提取每个风格的代表图
python ../../extract_styles.py --out E:\parquet\styles
# 2. 拷贝/链接图片 + 反查 content/id
python scripts/build_dataset.py --src E:\parquet --mode link
# 3. 自动归类 30 大类
python scripts/auto_classify.py
# 4. 生成 256px WebP 缩略图(多进程加速)
python scripts/build_thumbnails.py
# 5. 构建模糊搜索倒排索引
python scripts/build_index.py
完成后 data/ 目录会得到:
data/
├── styles/ 10000 张原图
├── thumbs/ 10000 张 256px WebP
├── styles_meta.json 完整元数据 (~8 MB)
├── catalog.json 大类目录 (~1 MB)
├── styles_lite.json 前端轻量列表
└── search_index.json 倒排索引 (6000+ tokens)
[MetaStyle-T8] 节点已加载: MetaStyleT8Picker
[MetaStyle-T8] 已注册 HTTP 路由 /metastyle/*
Add Node → T8 → Style → MetaStyle T8 风格选择器image → PreviewImage / IPAdapter / ControlNet 等sample_prompt → CLIPTextEncode(直接用作 prompt 起手式)style_name / category → Show Text 调试| 名称 | 类型 | 说明 |
|---|---|---|
style_key |
STRING | 选中的风格 key(由前端 widget 自动维护) |
output_size |
COMBO | original / 512 / 768 / 1024 |
seed |
INT (可选) | 预留,用于将来多张候选随机切换 |
| 名称 | 类型 | 说明 |
|---|---|---|
image |
IMAGE | 风格代表图(BHWC float32 0~1) |
style_name |
STRING | 风格全名 |
category |
STRING | 大类(中文) |
sample_prompt |
STRING | 示例提示词,可直接接 CLIPTextEncode |
sample_id |
STRING | 数据集中的原始 id(便于溯源) |
meta_json |
STRING | 该风格全量元数据 JSON 字符串 |
注册前缀 /metastyle/,全部由 ComfyUI 内置 aiohttp server 提供:
| 路由 | 作用 |
|---|---|
GET /metastyle/catalog |
大类 + 子类 + 数量统计 |
GET /metastyle/lite |
全量轻量风格列表(首屏) |
GET /metastyle/search?q=&cat=&sub=&limit= |
模糊搜索 |
GET /metastyle/thumb/<key> |
256px 缩略图 |
GET /metastyle/preview/<key> |
原图大图 |
GET /metastyle/meta/<key> |
单条完整元数据 |
可在浏览器直接访问,便于调试。
comfyui-metastyle-T8/
├── __init__.py # ComfyUI 加载入口
├── nodes.py # 节点核心逻辑
├── api.py # HTTP 路由
├── pyproject.toml # ComfyUI Registry 元数据
├── requirements.txt
├── scripts/ # 数据构建脚本(可重复运行)
│ ├── build_dataset.py
│ ├── auto_classify.py
│ ├── build_thumbnails.py
│ └── build_index.py
├── web/ # 前端 UI
│ ├── metastyle.js
│ └── metastyle.css
├── data/ # 数据(git 忽略)
└── examples/ # 示例工作流
pip install -r requirements.txt[MetaStyle-T8] 节点已加载 字样data/styles_meta.json 存在(运行过 build_dataset.py)python scripts/build_thumbnails.pyCtrl + F5 强制刷新python scripts/build_index.pypypinyin,重新生成索引编辑 scripts/auto_classify.py 中的 PRIMARY_RULES,
重新跑 auto_classify.py + build_index.py 即可。
MIT © T8mars
欢迎 PR / Issue!