Skip to content

12 个视觉参考图库与浏览器无限画布 AI 创作台(5,700+ 素材、中英提示词、多图对比、ComfyUI & MCP)· Visual reference library & infinite-canvas AI studio in the browser

docs: README 三语同步到 v1.1.0(十二个库/R2/生成记录页/Gemini 协议)

atuizz29766464e4e7
diff --git a/README.en.md b/README.en.md
index 224a13a..76017a1 100644
--- a/README.en.md
+++ b/README.en.md
@@ -23,10 +23,10 @@ Pose, outfit and portrait reference galleries with bilingual prompts, plus a bri
## Features
-- **Five galleries**: poses (multi-angle line sketches), depth poses (hotlinked depth maps), outfits (by season and type), anime outfits (anime-style looks), and portraits (face references, CC0). Every image has a Chinese description and an English prompt you can copy.
+- **Twelve galleries**: poses (multi-angle line sketches), depth poses, outfits (by season and type), anime outfits (anime-style looks, including the CharaDB merge), portraits (face references, CC0), plus seven extension libraries: expressions, hairstyles, historical outfits, scenes, lighting, props and furniture. Every image has a Chinese description and an English prompt you can copy.
- **Search and filters**: search in Chinese or English, filter by category, sort, or pick a random image. Each item has its own static page for sharing.
- **Try-on studio**: upload a photo, pick an outfit and a pose, then generate. You can also generate without a photo. It supports several outputs per run, a before/after slider, and single or zip download.
-- **Generation history**: stored locally in IndexedDB. You can view, delete or clear items, and undo.
+- **Generation history**: a dedicated page backed by IndexedDB (up to 200 entries): select-all batch zip download, export with prompt and parameter metadata, regenerate a single result, and a before/after comparison against the source photo.
- **Clear errors**: an invalid key, a rate limit, a timeout or a safety block each get their own message and a suggested next step.
- **Reduce false safety blocks**: on by default. The studio rewrites its prompt into a neutral e-commerce try-on description without changing the outfit or pose. Turn it off to send the prompt as is.
- Favorites, recent items and prompt combos, all stored locally; an 18+ toggle with age confirmation; PWA and offline support; dark mode; a Chinese/English UI.
@@ -38,10 +38,28 @@ Pose, outfit and portrait reference galleries with bilingual prompts, plus a bri
| OpenAI | API key (gpt-image requires a verified org) | gpt-image-1 | images/edits with multiple references; strictest moderation |
| Gemini | Google AI Studio key | gemini-2.5-flash-image | a.k.a. Nano Banana |
| Doubao Seedream | Volcengine Ark key | doubao-seedream-4-0-250828 | routed through the site proxy by default for CORS |
-| Custom relay | Base URL, key and model | any | OpenAI-compatible; choose edits (multipart) or generations (JSON) |
+| Custom relay | Base URL, key and model | any | OpenAI-compatible (edits / generations) or the Gemini protocol (`models/:generateContent`); the proxy toggle applies to relays too — unticked means direct connections, and relay endpoints may use any port |
## Changelog
+### 2026-11-23 · v1.1.0
+
+- Fixed every hairstyle image (and the CharaDB part of anime outfits) failing to load: the site's CSP `img-src` allowlist was missing the hotlinked origin, so browsers blocked them all. The build now collects hotlink origins from the data automatically, and `tests/check_csp.py` guards the allowlist after each build.
+- READMEs (Chinese / English / Japanese) brought up to date with the current feature set.
+
+### 2026-11-22 · History page, proxy fix, Gemini protocol for relays
+
+- New **Generation history** page (contributed by @OrangeSAM): select-all batch download, ZIP export with prompt/parameter metadata, single-item regeneration, before/after comparison; capped at 200 entries.
+- Fixed the proxy toggle being ignored for custom relays: unticked now means direct connections; the proxy allows any port for custom relays (official domains stay HTTPS-only, private addresses stay blocked).
+- Custom relays gain the Gemini protocol (`models/:generateContent`, auth header switches automatically).
+- Wide-screen header overlap fix (contributed by @yansiao1227).
+
+### 2026-11-21 · Seven extension libraries, images move to R2
+
+- Seven new tabs: expressions (95), hairstyles (122, from CharaDB, images hotlinked), historical outfits (57), scenes (64), lighting (50), props (32), furniture (41). Anime outfits absorb 440 CharaDB sets, growing to **1,760**.
+- All images are now served from Cloudflare R2 (`pwimg.0vo.pro`); depth-pose images are self-hosted instead of hotlinked, which loads more reliably.
+- Fixed Seedream 5.x generation failures (contributed by @COBEZE): 5.x-only parameters are now sent to 4.x models only.
+
### 2026-11-19 · Anime outfits library
- New **Anime outfits** tab: 1,320 anime-style outfits from COSTUME-ANIME-DB by [@giaaibusi](https://x.com/giaaibusi), in the same 8 categories as the outfit library (spring 197 / summer 237 / autumn 230 / winter 232 / lingerie 197 / party 36 / swimwear 52 / sexy 139), each with Chinese and English prompts.
@@ -71,7 +89,7 @@ python3 build.py # outputs dist/
python3 -m http.server 8787 -d dist
```
-Set `POSEWEAR_RAW` to use a different asset folder, and `POSEWEAR_SITE` to set your own site URL for the sitemap and share links.
+Set `POSEWEAR_RAW` to use a different asset folder, and `POSEWEAR_SITE` to set your own site URL for the sitemap and share links. Set `POSEWEAR_ASSET_HOST` to emit thumbnails and full images into a separate `dist-assets/` folder (deploy it on its own or upload it to R2) while the main site ships pages and data only.
## Deploy
@@ -93,6 +111,8 @@ The Playwright tests mock every provider endpoint, so no real key is needed. The
npm install && npx playwright install chromium
python3 -m http.server 8787 -d dist &
node tests/v12.js && node tests/v13.js
+node tests/v16-proxy.mjs && node tests/v17-history.js # proxy rules / history page
+python3 tests/check_csp.py dist # every image origin must be in the CSP allowlist
```
## FAQ
@@ -109,7 +129,7 @@ Issues and PRs are welcome. Run `python3 build.py` and both test files before yo
## Acknowledgements
-[AI Pose Gallery](https://ai-pose-gallery.pages.dev/) · [AI Costume Gallery](https://ai-costume-gallery.pages.dev/) · [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/) by [@giaaibusi](https://x.com/giaaibusi) · [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/) by [ギア / @giaaibusi](https://x.com/giaaibusi) (hotlinked, unofficial Chinese index; images are not in this repo) · [AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/) by [@agi_aibusi](https://x.com/agi_aibusi) (CC0) · [wzc520pyfm/gen-ai-pose-image](https://github.com/wzc520pyfm/gen-ai-pose-image) · [paipiange/nvzhuang](https://github.com/paipiange/nvzhuang)
+[AI Pose Gallery](https://ai-pose-gallery.pages.dev/) · [AI Costume Gallery](https://ai-costume-gallery.pages.dev/) · [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/) by [@giaaibusi](https://x.com/giaaibusi) · [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/) by [ギア / @giaaibusi](https://x.com/giaaibusi) (unofficial Chinese index; images are self-hosted by this site, © the author) · CharaDB by たき AI (hairstyles and part of the anime outfits; tag data CC0, images hotlinked from the source site, not stored here) · [AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/) by [@agi_aibusi](https://x.com/agi_aibusi) (CC0) · [wzc520pyfm/gen-ai-pose-image](https://github.com/wzc520pyfm/gen-ai-pose-image) · [paipiange/nvzhuang](https://github.com/paipiange/nvzhuang)
## License and asset boundaries
@@ -118,7 +138,8 @@ Issues and PRs are welcome. Run `python3 build.py` and both test files before yo
| Code, UI copy, build scripts | Yes | [MIT](LICENSE) |
| Pose and outfit images and data | No — downloaded by `fetch-assets.py` | Owned by [@giaaibusi](https://x.com/giaaibusi) ([AI Pose Gallery](https://ai-pose-gallery.pages.dev/) / [AI Costume Gallery](https://ai-costume-gallery.pages.dev/) / [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/)); no open license is stated |
| Portrait images | No — same as above | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) by [@agi_aibusi](https://x.com/agi_aibusi) ([AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/)) |
-| Depth-pose images | No — hotlinked with `<img>` from [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/) | Owned by [ギア / @giaaibusi](https://x.com/giaaibusi). This repo only has the text metadata and Chinese names |
+| Depth-pose images | No — self-hosted on this site's CDN (sourced from [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/)) | Owned by [ギア / @giaaibusi](https://x.com/giaaibusi). This repo only has the text metadata and Chinese names |
+| Hairstyle and CharaDB anime-outfit images | No — hotlinked with `<img>` from CharaDB | Tag data CC0; images © CharaDB author たき AI, not stored or redistributed here |
| Depth-pose text metadata | Yes, `depth/packs/` | Japanese text belongs to the original author; Chinese names are ours |
| README screenshots | Yes | The pictures shown belong to their authors as above |
diff --git a/README.ja.md b/README.ja.md
index ee34a2f..83babdb 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -23,10 +23,10 @@
## 機能
-- **5 つのギャラリー**:ポーズ(多角度の線画)、深度ポーズ(ホットリンクされた深度マップ)、服装(季節と種類で分類)、アニメ服(アニメ風の着こなし)、人物(顔のリファレンス、CC0)。すべての画像に中国語の説明と、コピーできる英語のプロンプトが付いています。
+- **12 のギャラリー**:ポーズ(多角度の線画)、深度ポーズ、服装(季節と種類で分類)、アニメ服(アニメ風の着こなし、CharaDB 統合分を含む)、人物(顔のリファレンス、CC0)に加え、表情・ヘアスタイル・歴史服装・シーン・ライティング・小道具・家具の 7 つの拡張ライブラリ。すべての画像に中国語の説明と、コピーできる英語のプロンプトが付いています。
- **検索とフィルター**:中国語または英語で検索、カテゴリーで絞り込み、並べ替え、ランダムな画像の選択ができます。各アイテムには共有用の静的ページがあります。
- **試着スタジオ**:写真をアップロードし、服装とポーズを選んで生成します。写真なしで生成することもできます。1 回の実行で複数の出力、ビフォーアフターのスライダー、単体または zip でのダウンロードに対応しています。
-- **生成履歴**:IndexedDB にローカルで保存されます。アイテムの表示、削除、消去、取り消しができます。
+- **生成履歴**:IndexedDB に保存される専用ページ(上限 200 件)。全選択して一括 zip ダウンロード、プロンプトとパラメータのメタデータ付きエクスポート、1 件ごとの再生成、元写真とのビフォーアフター比較ができます。
- **わかりやすいエラー**:無効なキー、レート制限、タイムアウト、セーフティブロックのそれぞれに専用のメッセージと、次に取るべき手順の提案が表示されます。
- **誤ったセーフティブロックの低減**:既定でオン。スタジオは、服装やポーズを変えずに、プロンプトを中立的な EC 試着の説明に書き換えます。オフにすると、プロンプトをそのまま送信します。
- お気に入り、最近のアイテム、プロンプトの組み合わせはすべてローカルに保存。年齢確認付きの 18+ トグル、PWA とオフライン対応、ダークモード、中国語/英語の UI。
@@ -38,10 +38,28 @@
| OpenAI | API キー(gpt-image には認証済みの組織が必要) | gpt-image-1 | 複数のリファレンスを使う images/edits。モデレーションが最も厳格 |
| Gemini | Google AI Studio のキー | gemini-2.5-flash-image | 別名 Nano Banana |
| Doubao Seedream | Volcengine Ark のキー | doubao-seedream-4-0-250828 | CORS のため既定でサイトのプロキシ経由 |
-| Custom relay | ベース URL、キー、モデル | 任意 | OpenAI 互換。edits(multipart)または generations(JSON)を選択 |
+| Custom relay | ベース URL、キー、モデル | 任意 | OpenAI 互換(edits / generations)または Gemini プロトコル(`models/:generateContent`)。プロキシのトグルはリレーにも適用され、オフの場合は直接接続、リレーのエンドポイントは任意のポートを使用可能 |
## 変更履歴
+### 2026-11-23 · v1.1.0
+
+- ヘアスタイルの全画像(およびアニメ服の CharaDB 分)が読み込めなかった問題を修正:サイトの CSP の `img-src` 許可リストにホットリンク先のオリジンが欠けており、ブラウザがすべてブロックしていました。ビルド時にデータからホットリンクのオリジンを自動収集して許可リストへ書き込むようになり、`tests/check_csp.py` がビルド後に検証します。
+- README(中国語/英語/日本語)を現在の機能に合わせて更新。
+
+### 2026-11-22 · 生成履歴ページ、プロキシ修正、リレーの Gemini プロトコル
+
+- 新しい **生成履歴** ページ(@OrangeSAM によるコントリビュート):全選択の一括ダウンロード、プロンプト/パラメータのメタデータ付き ZIP エクスポート、1 件ごとの再生成、元写真とのビフォーアフター比較。上限 200 件。
+- カスタムリレーでプロキシのトグルが効かなかった問題を修正:オフの場合は直接接続に。プロキシはリレーの任意ポートを許可(公式ドメインは HTTPS のみ、プライベートアドレスは引き続きブロック)。
+- カスタムリレーに Gemini プロトコル(`models/:generateContent`、認証ヘッダーは自動切替)を追加。
+- ワイド画面でヘッダーが重なる問題を修正(@yansiao1227 によるコントリビュート)。
+
+### 2026-11-21 · 7 つの拡張ライブラリ、画像を R2 へ移行
+
+- 新しいタブ 7 つ:表情 95、ヘアスタイル 122(CharaDB、画像はホットリンク)、歴史服装 57、シーン 64、ライティング 50、小道具 32、家具 41。アニメ服に CharaDB の 440 点が加わり、合計 **1,760 点**に。
+- 全画像の配信を Cloudflare R2(`pwimg.0vo.pro`)に移行。深度ポーズ画像はホットリンクをやめて自前ホスティングにし、読み込みが安定しました。
+- Seedream 5.x で生成が失敗する問題を修正(@COBEZE によるコントリビュート):5.x 向けパラメータは 4.x モデルにのみ送るようになりました。
+
### 2026-11-19 · アニメ服ライブラリ
- 新しい **アニメ服** タブ:[@giaaibusi](https://x.com/giaaibusi) による COSTUME-ANIME-DB から 1,320 点のアニメ風の服装を、服装ライブラリと同じ 8 カテゴリー(春 197 / 夏 237 / 秋 230 / 冬 232 / ランジェリー 197 / パーティー 36 / 水着 52 / セクシー 139)で収録。それぞれ中国語と英語のプロンプト付き。
@@ -71,7 +89,7 @@ python3 build.py # outputs dist/
python3 -m http.server 8787 -d dist
```
-別の素材フォルダを使うには `POSEWEAR_RAW` を、サイトマップや共有リンク用に独自のサイト URL を設定するには `POSEWEAR_SITE` を設定します。
+別の素材フォルダを使うには `POSEWEAR_RAW` を、サイトマップや共有リンク用に独自のサイト URL を設定するには `POSEWEAR_SITE` を設定します。`POSEWEAR_ASSET_HOST` を設定すると、サムネイルと原画像は別の `dist-assets/` フォルダーに出力されます(単独でデプロイするか R2 にアップロード可能)。メインサイトにはページとデータだけが残ります。
## デプロイ
@@ -93,6 +111,8 @@ Playwright のテストはすべてのプロバイダーのエンドポイント
npm install && npx playwright install chromium
python3 -m http.server 8787 -d dist &
node tests/v12.js && node tests/v13.js
+node tests/v16-proxy.mjs && node tests/v17-history.js # プロキシ規則 / 履歴ページ
+python3 tests/check_csp.py dist # すべての画像オリジンが CSP の許可リストにあるか検証
```
## FAQ
@@ -109,7 +129,7 @@ Issue と PR を歓迎します。PR を出す前に `python3 build.py` と両
## 謝辞
-[AI Pose Gallery](https://ai-pose-gallery.pages.dev/) · [AI Costume Gallery](https://ai-costume-gallery.pages.dev/) · [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/) by [@giaaibusi](https://x.com/giaaibusi) · [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/) by [ギア / @giaaibusi](https://x.com/giaaibusi)(ホットリンク、非公式の中国語インデックス。画像はこのリポジトリには含まれません) · [AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/) by [@agi_aibusi](https://x.com/agi_aibusi)(CC0) · [wzc520pyfm/gen-ai-pose-image](https://github.com/wzc520pyfm/gen-ai-pose-image) · [paipiange/nvzhuang](https://github.com/paipiange/nvzhuang)
+[AI Pose Gallery](https://ai-pose-gallery.pages.dev/) · [AI Costume Gallery](https://ai-costume-gallery.pages.dev/) · [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/) by [@giaaibusi](https://x.com/giaaibusi) · [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/) by [ギア / @giaaibusi](https://x.com/giaaibusi)(非公式の中国語インデックス。画像は本サイトで自前ホスティング、著作権は作者に帰属) · CharaDB by たき AI(ヘアスタイルとアニメ服の一部。タグデータは CC0、画像は元のサイトからホットリンクし、ここには保存しません) · [AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/) by [@agi_aibusi](https://x.com/agi_aibusi)(CC0) · [wzc520pyfm/gen-ai-pose-image](https://github.com/wzc520pyfm/gen-ai-pose-image) · [paipiange/nvzhuang](https://github.com/paipiange/nvzhuang)
## ライセンスと素材の扱い
@@ -118,7 +138,8 @@ Issue と PR を歓迎します。PR を出す前に `python3 build.py` と両
| コード、UI コピー、ビルドスクリプト | はい | [MIT](LICENSE) |
| ポーズと服装の画像・データ | いいえ — `fetch-assets.py` でダウンロード | [@giaaibusi](https://x.com/giaaibusi)([AI Pose Gallery](https://ai-pose-gallery.pages.dev/) / [AI Costume Gallery](https://ai-costume-gallery.pages.dev/) / [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/))に帰属。オープンライセンスの明示はなし |
| 人物画像 | いいえ — 上と同じ | [@agi_aibusi](https://x.com/agi_aibusi)([AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/))による [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
-| 深度ポーズ画像 | いいえ — [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/) から `<img>` でホットリンク | [ギア / @giaaibusi](https://x.com/giaaibusi) に帰属。このリポジトリにはテキストのメタデータと中国語名のみ |
+| 深度ポーズ画像 | いいえ — 本サイトの CDN で自前ホスティング(出典は [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/)) | [ギア / @giaaibusi](https://x.com/giaaibusi) に帰属。このリポジトリにはテキストのメタデータと中国語名のみ |
+| ヘアスタイルと CharaDB のアニメ服画像 | いいえ — CharaDB から `<img>` でホットリンク | タグデータは CC0。画像の著作権は CharaDB の作者 たき AI に帰属し、ここでは保存も再配布もしない |
| 深度ポーズのテキストメタデータ | はい、`depth/packs/` | 日本語テキストは原作者に帰属。中国語名は本プロジェクトのもの |
| README のスクリーンショット | はい | 表示されている画像は上記のとおり各作者に帰属 |
diff --git a/README.md b/README.md
index 442c777..61a38ff 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@
## 简介
-衣姿是一个纯静态的参考图站点:三套素材库都能直接浏览、搜索和复制提示词。挑中的服装和姿势可以带到试穿工作台,配上你自己的照片和模型 API,生成试穿图。
+衣姿是一个纯静态的参考图站点:十二套素材库都能直接浏览、搜索和复制提示词。挑中的服装和姿势可以带到试穿工作台,配上你自己的照片和模型 API,生成试穿图。
不需要注册,也没有后端数据库。密钥、收藏和生成记录都只保存在你的浏览器里。
@@ -31,11 +31,11 @@
| | |
|---|---|
-| **素材库** | 姿势(多角度线稿)、深度姿势(热链原站深度图)、服装(按季节和类型分类)、动画服装(动画风穿搭)、人像(脸模参考,CC0)。每张图都有中文描述;深度姿势另附日文原名 |
+| **素材库** | 姿势(多角度线稿)、深度姿势、服装(按季节和类型分类)、动画服装(动画风穿搭,含 CharaDB 并入部分)、人像(脸模参考,CC0),以及表情、发型、历代服装、场景、光影、道具、家具七个扩展库。每张图都有中文描述;深度姿势另附日文原名 |
| **搜索与筛选** | 中英文关键词、分类、排序、随机一张;每个素材有独立详情页,方便分享 |
| **试穿工作台** | 上传人物照,选服装和姿势,生成试穿图,或不用照片直接出图;一次可出多张,有前后对比、单张下载和打包下载 |
| **多家服务商** | OpenAI、Gemini、豆包 Seedream、OpenAI 兼容的自定义中转,见下表 |
-| **生成记录** | 保存在本机 IndexedDB,可查看、删除、清空,并可撤销 |
+| **生成记录** | 独立记录页:保存在本机 IndexedDB(上限 200 条),可全选批量打包下载、导出 ZIP(含每张图的提示词与参数)、单张重新生成,大图模式可与原图前后对比 |
| **清楚的报错** | 密钥无效、限流、超时、被安全审核拦截等情况会分别说明,并给出下一步可以怎么做 |
| **减少误拦截** | 默认开启。发送前把提示词改写成中性的电商试穿描述,不改变服装和姿势;关闭后按原样发送 |
| **收藏 / 最近 / 组合** | 本机保存,可导入导出,删除可撤销;可以把多个素材拼成一段提示词 |
@@ -50,10 +50,28 @@
| OpenAI | API Key(gpt-image 需已验证组织) | gpt-image-1 | 走 images/edits,多张参考图;安全审核最严 |
| Gemini | Google AI Studio 的 API Key | gemini-2.5-flash-image | 即 Nano Banana |
| 豆包 Seedream | 火山方舟 API Key | doubao-seedream-4-0-250828 | 国内直连,默认经本站代理以解决跨域 |
-| 自定义中转 | Base URL + Key + 模型名 | 自填 | OpenAI 兼容;可选 edits(multipart)或 generations(JSON) |
+| 自定义中转 | Base URL + Key + 模型名 | 自填 | OpenAI 兼容(edits / generations)或 Gemini 协议(`models/:generateContent`);代理开关对中转同样生效,未勾选时代理直连,中转地址可用任意端口 |
## 更新日志
+### 2026-11-23 · v1.1.0
+
+- 修复发型库与动画服装中 CharaDB 部分的图片全部加载失败:本站 CSP 的 `img-src` 白名单漏了热链源站,浏览器直接拦截。构建时改为自动收集数据里的热链源站写入白名单,并新增 `tests/check_csp.py` 守卫,构建后校验全部图片源站。
+- 本页 README 同步到当前功能(英文、日文版同步更新)。
+
+### 2026-11-22 · 生成记录页、代理与 Gemini 协议
+
+- 新增「生成记录」页(@OrangeSAM 贡献):全选批量打包、导出 ZIP(含提示词与参数元数据)、单张重新生成、大图与原图前后对比;记录上限 200 条。
+- 修复代理开关对自定义中转不生效:未勾选代理时中转请求直连;代理放行自定义中转的任意端口(官方域名仍限标准 HTTPS,内网地址仍拒绝)。
+- 自定义中转新增 Gemini 协议:可选 `models/:generateContent` 调用,鉴权头按协议自动切换。
+- 页头宽屏遮挡修复(@yansiao1227 贡献)。
+
+### 2026-11-21 · 七个扩展库上线、图片迁入 R2
+
+- 新增七个栏目:表情 95、发型 122(CharaDB,图片热链原站)、历代服装 57、场景 64、光影 50、道具 32、家具 41;动画服装并入 CharaDB 的 440 套,总数增至 **1760 套**。
+- 全站图片改由 Cloudflare R2(`pwimg.0vo.pro`)分发;深度姿势图片改为本站自存,不再热链原站,加载更稳定。
+- 修复 Seedream 5.x 参数错误导致生图失败(@COBEZE 贡献):参数改为仅对 4.x 模型发送。
+
### 2026-11-19 · 动画服装库上线
- 新增「动画服装」栏目:接入上游 COSTUME-ANIME-DB([@giaaibusi](https://x.com/giaaibusi))的 **1320 套**动画风穿搭,与写实服装同为 8 个分类(春 197 / 夏 237 / 秋 230 / 冬 232 / 内衣 197 / 派对礼服 36 / 泳装 52 / 性感 139),每套附中英文提示词。
@@ -93,6 +111,8 @@ python3 -m http.server 8787 -d dist
|---|---|---|
| `POSEWEAR_RAW` | 原始素材目录 | `assets-raw` |
| `POSEWEAR_SITE` | 站点地址,用于 sitemap 和分享链接 | `https://posewear.pages.dev` |
+| `POSEWEAR_ASSET_HOST` | 图片资源域名;设置后缩略图与原图输出到独立的 `dist-assets/`(可单独部署或上传 R2),主站只留页面与数据 | 不设置(图片进主站) |
+| `POSEWEAR_WA_TOKEN` | Cloudflare Web Analytics 站点令牌;设置后构建注入统计脚本 | 不设置 |
## 部署
@@ -118,6 +138,10 @@ npm install && npx playwright install chromium
python3 -m http.server 8787 -d dist &
node tests/v12.js # 图库、收藏、灯箱、路由、移动端
node tests/v13.js # 试穿工作台全流程、深色模式、长文本
+node tests/v14-xai.js # xAI / Grok 服务商
+node tests/v16-proxy.mjs # /api/proxy 转发规则单元测试
+node tests/v17-history.js # 生成记录页冒烟
+python3 tests/check_csp.py dist # 校验全部图片源站都在 CSP 白名单内
U=https://posewear.pages.dev node tests/v12.js # 直接测线上
```
@@ -127,6 +151,7 @@ U=https://posewear.pages.dev node tests/v12.js # 直接测线上
src/ 前端源码,无框架
app.js 图库、搜索筛选、收藏最近、灯箱、路由
studio.js 试穿工作台:服务商适配、进度、结果、历史、减少误拦截
+ history.js 生成记录页:批量打包、导出、重新生成、前后对比
extras.js 批量操作、导入导出
style.css 样式(含深色模式)
sw.js / zip.js 离线缓存 / 打包下载
@@ -170,7 +195,7 @@ Key 只存在你浏览器的 localStorage 里,可在设置里清除。默认
## 路线图
- [ ] 更多服务商与模型预设
-- [ ] 生成记录导出
+- [x] 生成记录导出(v1.1.0 已上线:ZIP 含提示词与参数)
- [ ] 增量更新素材(只下载新增内容)
- [ ] 更完整的英文界面文案
@@ -189,7 +214,8 @@ Key 只存在你浏览器的 localStorage 里,可在设置里清除。默认
## 致谢
- [AI Pose Gallery](https://ai-pose-gallery.pages.dev/):姿势线稿
-- [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/):深度姿势,作者 [ギア / @giaaibusi](https://x.com/giaaibusi)。页面热链原图,非官方汉化;图片不进本仓库
+- [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/):深度姿势,作者 [ギア / @giaaibusi](https://x.com/giaaibusi)。非官方汉化;图片由本站自存分发,版权归原作者
+- CharaDB(作者 たき AI):发型库与动画服装并入部分的数据来源,标签数据 CC0;图片热链原站托管,本站不保存
- [AI Costume Gallery](https://ai-costume-gallery.pages.dev/):服装图,作者 [@giaaibusi](https://x.com/giaaibusi)
- [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/):动画服装图,作者 [@giaaibusi](https://x.com/giaaibusi)
- [AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/):人像,作者 [@agi_aibusi](https://x.com/agi_aibusi),CC0
@@ -202,7 +228,8 @@ Key 只存在你浏览器的 localStorage 里,可在设置里清除。默认
| 代码、页面文案、构建脚本 | 是 | [MIT](LICENSE) |
| 姿势、服装图片和原始数据 | 否,由 `fetch-assets.py` 从原站下载 | 归原作者 [@giaaibusi](https://x.com/giaaibusi) 所有([AI Pose Gallery](https://ai-pose-gallery.pages.dev/) / [AI Costume Gallery](https://ai-costume-gallery.pages.dev/) / [AI Costume Anime Gallery](https://ai-costume-anime-gallery.pages.dev/)),原站未标明开放许可 |
| 人像图片 | 否,同上 | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/deed.zh-hans),作者 [@agi_aibusi](https://x.com/agi_aibusi)([AI Portrait Gallery](https://ai-portrait-gallery.pages.dev/)) |
-| 深度姿势图片 | 否,页面 `<img>` 热链 [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/) | 归作者 [ギア / @giaaibusi](https://x.com/giaaibusi)。本仓库只有文本元数据和译名 |
+| 深度姿势图片 | 否,本站自存于 CDN 分发(源自 [AI Pose Depth Gallery](https://ai-pose-depth-gallery.pages.dev/)) | 归作者 [ギア / @giaaibusi](https://x.com/giaaibusi)。本仓库只有文本元数据和译名 |
+| 发型与 CharaDB 动画服装图片 | 否,页面 `<img>` 热链 CharaDB 原站 | 标签数据 CC0;图片版权归 CharaDB 作者 たき AI,本站不保存、不再分发 |
| 深度姿势文本元数据 | 是,`depth/packs/` | 日文原文归原作者,中文译名为本站 |
| README 截图 | 是 | 截图里的图片素材同上,归各自作者 |