From 2d1fcd91622f939626f5c916f7def0938bae45a9 Mon Sep 17 00:00:00 2001 From: chiyi Date: Sun, 5 Jul 2026 03:06:51 +0800 Subject: [PATCH] =?UTF-8?q?md=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 6 +++++- README.md | 6 +++++- frontend/src/views/BannedWordsView.vue | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.en.md b/README.en.md index de71ef8..0865de3 100644 --- a/README.en.md +++ b/README.en.md @@ -86,6 +86,7 @@ It's more than an API proxy: it ships with **credit billing, CDK top-ups, referr - Images + videos in one place, with **image-to-image / reference frames** (first frame, last frame, style reference) - Multiple resolutions (images 1K / 2K / 4K · videos 720p / 1080p), aspect ratios and video durations — configured and priced per model - 7 providers, 10+ models, **enable / disable / re-price from the admin console**, no code changes +- **Model aliases**: one model can expose multiple public ids — API calls with any alias resolve to it #### 🔌 OpenAI Compatible - Text-to-image `/v1/images/generations` · image-to-image `/v1/images/edits` (multipart ref upload) · video `/v1/videos` (Sora-style async: create → poll → `/content`) · `/v1/models` @@ -112,12 +113,15 @@ It's more than an API proxy: it ships with **credit billing, CDK top-ups, referr #### 🖥️ User Frontend (Vue 3) - Playground · creations gallery · generation logs (with failure reasons / source tags) +- Gallery **multi-select batch ops**: select page / bulk delete (videos take their frame stills along) / bulk download (multiple files auto-packed into a zip, fetched concurrently) +- Lightbox preview with built-in **copy original / download / close** buttons; one-click copy of the original image from cards - **Top-up · Orders** (recharge history / resume unpaid) · API docs · API key management · referral · about, light / dark theme - **In-app announcements**: a Markdown notice pops up after login and re-shows whenever its content changes #### 🛠️ Admin Console - Overview dashboard (trends / DAU / top failures / top spenders) -- Model management (normal + agent price) · account management (bulk import / dedup / quota) · **concurrency groups** · **order management** (filter / search / paginate) · site-wide logs · user management (set as agent / assign concurrency group / view cumulative top-up) · CDK · showcase · **announcements** · site config (incl. epay) +- Model management (normal + agent price + aliases) · account management (bulk import / dedup / quota) · **concurrency groups** · **order management** (filter / search / paginate) · site-wide logs · user management (set as agent / assign concurrency group / view cumulative top-up / banned-word hits) · CDK · image management (multi-select bulk delete / zip download) · showcase · **announcements** · site config (incl. epay) +- **Banned words**: add / remove words in the console (paginated + multi-select bulk delete); prompts containing a banned word are rejected outright (playground + API, case-insensitive), with per-word / per-user hit counters **🧰 Engineering highlights**: tls-client (Chrome JA3/JA4 fingerprint) reliably passes Cloudflare · media stored in S3/RustFS, served through an authenticated proxy with retention cleanup · self-healing maintenance loop (quota recovery / credential refresh / orphan-job cleanup with refunds) · one-command Docker deploy (TLS via your own reverse proxy). diff --git a/README.md b/README.md index a38b0b2..e3e8725 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ - 生图 + 生视频一站式,支持**图生图 / 参考图**(首帧、末帧、风格参考) - 多分辨率(图像 1K / 2K / 4K · 视频 720p / 1080p)、多宽高比、视频多时长,按模型独立配置与定价 - 7 大供应商、十余模型,后台**动态启用 / 下架 / 改价**,无需改代码 +- **模型别名**:同一模型可配多个对外 id,API 调用任意别名均可命中 #### 🔌 OpenAI 兼容 - 文生图 `/v1/images/generations` · 图生图 `/v1/images/edits`(multipart 上传参考图) · 视频 `/v1/videos`(Sora 式异步:创建→轮询→`/content` 下载) · `/v1/models` @@ -119,12 +120,15 @@ #### 🖥️ 用户前台(Vue 3) - 画图台 · 创作记录画廊 · 生成日志(含失败原因 / 来源标签) +- 作品画廊**多选批量操作**:全选本页 / 批量删除(视频连带首尾帧图) / 批量下载(多个自动打包 zip,并发拉取) +- 预览大图内置**复制原图 / 下载 / 关闭**按钮,卡片一键复制原图 - **充值 · 订单**(充值记录 / 未付可继续支付) · API 文档 · API Key 管理 · 邀请 · 关于,亮 / 暗主题 - **站内公告**:登录后自动弹出 Markdown 公告,内容更新即重推 #### 🛠️ 管理后台 - 概览看板(趋势 / DAU / 失败 Top / 消费榜) -- 模型管理(普通价 + 代理价) · 账号管理(批量导入 / 去重 / 额度) · **并发分组** · **订单管理**(筛选 / 搜索 / 分页) · 全站日志 · 用户管理(设为代理 / 分配并发组 / 看累计充值) · CDK · 展示位 · **站点公告** · 站点配置(含易支付) +- 模型管理(普通价 + 代理价 + 别名) · 账号管理(批量导入 / 去重 / 额度) · **并发分组** · **订单管理**(筛选 / 搜索 / 分页) · 全站日志 · 用户管理(设为代理 / 分配并发组 / 看累计充值 / 违禁触发次数) · CDK · 图片管理(多选批量删除 / zip 打包下载) · 展示位 · **站点公告** · 站点配置(含易支付) +- **违禁词管理**:后台增删违禁词(分页 + 多选批量删除),提示词命中即拦截(画图台 + API,不区分大小写),按词 / 按用户统计触发次数 **🧰 工程亮点**:tls-client(Chrome JA3/JA4 指纹)稳定穿透 Cloudflare · 媒体存 S3/RustFS 经鉴权代理分发 + 保留期清理 · 自愈式维护轮询(恢复额度 / 刷新凭据 / 清理僵死任务并退款) · 一条命令 Docker 部署(TLS 交给你的反代)。 diff --git a/frontend/src/views/BannedWordsView.vue b/frontend/src/views/BannedWordsView.vue index 33bdf57..f087ca0 100644 --- a/frontend/src/views/BannedWordsView.vue +++ b/frontend/src/views/BannedWordsView.vue @@ -137,7 +137,7 @@ onMounted(load)
-
{{ items.length }}个违禁词
+
{{ items.length ? (Math.min(page, totalPages) - 1) * pageSize + 1 : 0 }}–{{ Math.min(items.length, Math.min(page, totalPages) * pageSize) }}/ {{ items.length }} 条