feat: 新增AI换脸与AI海报生成两个授权应用——换脸(insightface buffalo_l+inswapper_128本机CPU推理, POST /ai/face-swap, consent必填, 多脸取最大); 海报(25套模板9分类, 改文字/换图片/AI生成配图与背景/图层增删排序/背景预设, 按宽高比匹配上游尺寸档位, 导出1080x1440 PNG); license.ts与relay PROTECTED_TOOLS双端注册使pricing/buy自动+2; relay副本同步(Dockerfile装insightface+COPY face-models不入库)

This commit is contained in:
jinghui committed 2026-11-13 19:35:03 +08:00
1 parent afe73922cc
commit 67c320a2de
14 files changed
+1552 -8

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { Template } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'AI 海报',
path: '/poster-maker',
description: 'AI 海报生成:热门海报模板任选,改文字、换图片、AI 配图,一键导出 PNG',
keywords: ['poster', '海报', '模板', '宣传图', '朋友圈', '小红书', '电商', '海报生成', 'ai海报'],
component: () => import('./poster.vue'),
icon: Template,
});