@dickpy/dsh-imagegen 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/docs/images/community-qq.png +0 -0
- package/lib/client.js +222 -215
- package/lib/client.js.map +1 -1
- package/lib/index.js +60 -4
- package/package.json +2 -2
- package/src/client/ImageGenPanel.tsx +1 -1
- package/src/client/locales.ts +2 -2
- package/src/engine.ts +86 -1
- package/src/image-models.ts +1 -1
- package/src/index.ts +1 -1
- package/src/protocol.ts +6 -4
package/README.md
CHANGED
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
<strong>
|
|
23
23
|
<a href="#gallery">画廊管理</a> |
|
|
24
24
|
<a href="#quick-start">快速开始</a> |
|
|
25
|
-
<a href="#configuration">配置模型</a
|
|
25
|
+
<a href="#configuration">配置模型</a> |
|
|
26
|
+
<a href="#community">交流群</a>
|
|
26
27
|
</strong>
|
|
27
28
|
</p>
|
|
28
29
|
|
|
@@ -132,7 +133,7 @@ Windows 如遇 PowerShell 脚本策略限制,请使用 `dsh.cmd`。安装后
|
|
|
132
133
|
从 [GitHub Releases](https://github.com/dickpy/dsh-imagegen/releases) 下载 tgz 后执行:
|
|
133
134
|
|
|
134
135
|
```bash
|
|
135
|
-
dsh plugin --profile web add <下载路径>/dickpy-dsh-imagegen-1.2.
|
|
136
|
+
dsh plugin --profile web add <下载路径>/dickpy-dsh-imagegen-1.2.3.tgz
|
|
136
137
|
```
|
|
137
138
|
|
|
138
139
|
<a id="configuration"></a>
|
|
@@ -154,8 +155,19 @@ dsh plugin --profile web add <下载路径>/dickpy-dsh-imagegen-1.2.2.tgz
|
|
|
154
155
|
|
|
155
156
|
- **OpenAI 兼容接口**:支持 `/images/generations`、`/images/edits` 和 `{ data: [{ b64_json | url }] }` 格式响应。
|
|
156
157
|
- **Grok Imagine**:原生支持 `grok-imagine-image` 与 `grok-imagine-image-2.0`。将地址设为 `https://api.x.ai/v1` 后,图生图会使用其 JSON `image_url` 协议,比例和清晰度映射为 `aspect_ratio` 与 `resolution`。
|
|
158
|
+
- **Nano Banana(谷歌 Gemini 图像系列)**:内置 `nanobanana2` / `nanobanana2-lite` / `nanobanana-pro`(也识别官方 `gemini-3.x-image*` ID)。走 OpenAI 兼容接口时,比例和清晰度映射为 `aspect_ratio` 与 `image_size`(1K/2K/4K),输出请求 base64。
|
|
159
|
+
- **Seedream(字节跳动生图系列)**:内置 `seedream-5.0-pro`(也识别 `seedream-4.x`、`doubao-seedream-…`)。无 `/images/edits`,文生图与图生图统一走 `/images/generations`,参考图以 JSON `image` 数组发送;比例走 `size`,清晰度走 `resolution`(1K/2K,5.0-pro 上限 2K)。
|
|
157
160
|
- **后续模型**:可将 `qwen-image`、Gemini 等 OpenAI 兼容网关模型加入清单;厂商专属鉴权或请求协议需要单独适配。
|
|
158
161
|
|
|
162
|
+
<a id="community"></a>
|
|
163
|
+
## 交流群
|
|
164
|
+
|
|
165
|
+
欢迎加入 QQ 群,一起交流 DSH、AI 生图和插件使用体验,也欢迎分享提示词、工作流与改进建议。
|
|
166
|
+
|
|
167
|
+
<p align="center">
|
|
168
|
+
<img src="docs/images/community-qq.png" alt="扫码加入 dsh-imagegen QQ 交流群" width="360" />
|
|
169
|
+
</p>
|
|
170
|
+
|
|
159
171
|
<a id="security"></a>
|
|
160
172
|
## 数据与安全
|
|
161
173
|
|
|
Binary file
|
package/lib/client.js
CHANGED
|
@@ -281,7 +281,7 @@ window.__ModuleLoader__.load({
|
|
|
281
281
|
*/
|
|
282
282
|
const zh = {
|
|
283
283
|
"entry.label": "AI 生图",
|
|
284
|
-
"entry.tooltip": "AI 生图面板(gpt-image-2 / grok-imagine-image
|
|
284
|
+
"entry.tooltip": "AI 生图面板(gpt-image-2 / grok-imagine-image / nanobanana / seedream 系列)",
|
|
285
285
|
"panel.title": "AI 生图",
|
|
286
286
|
"panel.githubTip": "觉得好用或有建议?欢迎来 GitHub 提 issues、点个 star 支持一下!",
|
|
287
287
|
"mode.text": "文生图",
|
|
@@ -516,7 +516,7 @@ window.__ModuleLoader__.load({
|
|
|
516
516
|
};
|
|
517
517
|
const en = {
|
|
518
518
|
"entry.label": "AI Image",
|
|
519
|
-
"entry.tooltip": "AI image generation studio (gpt-image-2 / grok-imagine-image)",
|
|
519
|
+
"entry.tooltip": "AI image generation studio (gpt-image-2 / grok-imagine-image / nanobanana / seedream family)",
|
|
520
520
|
"panel.title": "AI Image",
|
|
521
521
|
"panel.githubTip": "Like it or have suggestions? Head to GitHub to open issues and star us!",
|
|
522
522
|
"mode.text": "Text to Image",
|
|
@@ -785,47 +785,47 @@ window.__ModuleLoader__.load({
|
|
|
785
785
|
document.head.appendChild(tag);
|
|
786
786
|
}
|
|
787
787
|
var templates_module_css_default = {
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"
|
|
794
|
-
"
|
|
795
|
-
"cardCategory": "o0mAxG_cardCategory",
|
|
796
|
-
"footer": "o0mAxG_footer",
|
|
788
|
+
"detailTitle": "o0mAxG_detailTitle",
|
|
789
|
+
"headerActions": "o0mAxG_headerActions",
|
|
790
|
+
"title": "o0mAxG_title",
|
|
791
|
+
"shell": "o0mAxG_shell",
|
|
792
|
+
"card": "o0mAxG_card",
|
|
793
|
+
"attribution": "o0mAxG_attribution",
|
|
794
|
+
"detailPrompt": "o0mAxG_detailPrompt",
|
|
797
795
|
"meta": "o0mAxG_meta",
|
|
798
796
|
"cardMeta": "o0mAxG_cardMeta",
|
|
799
|
-
"detailPrompt": "o0mAxG_detailPrompt",
|
|
800
|
-
"body": "o0mAxG_body",
|
|
801
|
-
"cardTitle": "o0mAxG_cardTitle",
|
|
802
|
-
"detailOverlay": "o0mAxG_detailOverlay",
|
|
803
|
-
"shell": "o0mAxG_shell",
|
|
804
|
-
"thumbPlaceholder": "o0mAxG_thumbPlaceholder",
|
|
805
|
-
"detailMedia": "o0mAxG_detailMedia",
|
|
806
|
-
"detailInfo": "o0mAxG_detailInfo",
|
|
807
|
-
"detailTitle": "o0mAxG_detailTitle",
|
|
808
797
|
"detailMeta": "o0mAxG_detailMeta",
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
"
|
|
812
|
-
"
|
|
798
|
+
"detailActions": "o0mAxG_detailActions",
|
|
799
|
+
"cardCategory": "o0mAxG_cardCategory",
|
|
800
|
+
"featuredBadge": "o0mAxG_featuredBadge",
|
|
801
|
+
"close": "o0mAxG_close",
|
|
802
|
+
"notice": "o0mAxG_notice",
|
|
803
|
+
"toolbar": "o0mAxG_toolbar",
|
|
813
804
|
"sourceLink": "o0mAxG_sourceLink",
|
|
814
|
-
"
|
|
805
|
+
"detailMedia": "o0mAxG_detailMedia",
|
|
815
806
|
"search": "o0mAxG_search",
|
|
816
|
-
"
|
|
807
|
+
"cardSource": "o0mAxG_cardSource",
|
|
808
|
+
"thumb": "o0mAxG_thumb",
|
|
809
|
+
"detailImage": "o0mAxG_detailImage",
|
|
810
|
+
"body": "o0mAxG_body",
|
|
811
|
+
"cardTitle": "o0mAxG_cardTitle",
|
|
812
|
+
"detailLink": "o0mAxG_detailLink",
|
|
817
813
|
"header": "o0mAxG_header",
|
|
818
|
-
"
|
|
819
|
-
"detailActions": "o0mAxG_detailActions",
|
|
814
|
+
"heading": "o0mAxG_heading",
|
|
820
815
|
"categoryPill": "o0mAxG_categoryPill",
|
|
821
|
-
"title": "o0mAxG_title",
|
|
822
|
-
"detailImage": "o0mAxG_detailImage",
|
|
823
816
|
"spinner": "o0mAxG_spinner",
|
|
824
|
-
"
|
|
825
|
-
"cardSource": "o0mAxG_cardSource",
|
|
817
|
+
"detailInfo": "o0mAxG_detailInfo",
|
|
826
818
|
"categoryRow": "o0mAxG_categoryRow",
|
|
819
|
+
"grid": "o0mAxG_grid",
|
|
827
820
|
"overlay": "o0mAxG_overlay",
|
|
828
|
-
"
|
|
821
|
+
"thumbWrap": "o0mAxG_thumbWrap",
|
|
822
|
+
"footer": "o0mAxG_footer",
|
|
823
|
+
"detail": "o0mAxG_detail",
|
|
824
|
+
"state": "o0mAxG_state",
|
|
825
|
+
"thumbPlaceholder": "o0mAxG_thumbPlaceholder",
|
|
826
|
+
"dsh-imagegen-templates-spin": "o0mAxG_dsh-imagegen-templates-spin",
|
|
827
|
+
"detailOverlay": "o0mAxG_detailOverlay",
|
|
828
|
+
"cardBody": "o0mAxG_cardBody"
|
|
829
829
|
};
|
|
830
830
|
//#endregion
|
|
831
831
|
//#region src/client/TemplateLibrary.tsx
|
|
@@ -1307,7 +1307,14 @@ window.__ModuleLoader__.load({
|
|
|
1307
1307
|
* `/models` exposes candidates only: the configured list is the explicit
|
|
1308
1308
|
* allow-list because OpenAI-compatible gateways rarely advertise modalities.
|
|
1309
1309
|
*/
|
|
1310
|
-
const DEFAULT_IMAGE_MODELS = [
|
|
1310
|
+
const DEFAULT_IMAGE_MODELS = [
|
|
1311
|
+
"gpt-image-2",
|
|
1312
|
+
"grok-imagine-image",
|
|
1313
|
+
"nanobanana2",
|
|
1314
|
+
"nanobanana2-lite",
|
|
1315
|
+
"nanobanana-pro",
|
|
1316
|
+
"seedream-5.0-pro"
|
|
1317
|
+
];
|
|
1311
1318
|
/** Normalize user-entered model identifiers and retain a usable legacy default. */
|
|
1312
1319
|
function normalizeImageModels(value) {
|
|
1313
1320
|
const candidates = Array.isArray(value) ? value : [];
|
|
@@ -1331,166 +1338,166 @@ window.__ModuleLoader__.load({
|
|
|
1331
1338
|
document.head.appendChild(tag);
|
|
1332
1339
|
}
|
|
1333
1340
|
var panel_module_css_default = {
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
1337
|
-
"
|
|
1338
|
-
"
|
|
1339
|
-
"taskPrompt": "Yvqh9W_taskPrompt",
|
|
1340
|
-
"uploadIcon": "Yvqh9W_uploadIcon",
|
|
1341
|
-
"configScroll": "Yvqh9W_configScroll",
|
|
1342
|
-
"galleryImage": "Yvqh9W_galleryImage",
|
|
1343
|
-
"configGuideBody": "Yvqh9W_configGuideBody",
|
|
1344
|
-
"promptFooter": "Yvqh9W_promptFooter",
|
|
1345
|
-
"modelLabel": "Yvqh9W_modelLabel",
|
|
1346
|
-
"historyEmpty": "Yvqh9W_historyEmpty",
|
|
1347
|
-
"galleryFilterDivider": "Yvqh9W_galleryFilterDivider",
|
|
1348
|
-
"historyThumb": "Yvqh9W_historyThumb",
|
|
1349
|
-
"galleryViewToggle": "Yvqh9W_galleryViewToggle",
|
|
1341
|
+
"card": "Yvqh9W_card",
|
|
1342
|
+
"galleryTagInput": "Yvqh9W_galleryTagInput",
|
|
1343
|
+
"galleryWorkspace": "Yvqh9W_galleryWorkspace",
|
|
1344
|
+
"generateButton": "Yvqh9W_generateButton",
|
|
1345
|
+
"dshImageGenSpin": "Yvqh9W_dshImageGenSpin",
|
|
1350
1346
|
"comparisonFullscreen": "Yvqh9W_comparisonFullscreen",
|
|
1347
|
+
"historyActions": "Yvqh9W_historyActions",
|
|
1348
|
+
"zoomHint": "Yvqh9W_zoomHint",
|
|
1349
|
+
"galleryMasonry": "Yvqh9W_galleryMasonry",
|
|
1350
|
+
"galleryImageButton": "Yvqh9W_galleryImageButton",
|
|
1351
|
+
"panelHeading": "Yvqh9W_panelHeading",
|
|
1352
|
+
"canvasStateHint": "Yvqh9W_canvasStateHint",
|
|
1351
1353
|
"historyTitle": "Yvqh9W_historyTitle",
|
|
1352
|
-
"
|
|
1353
|
-
"
|
|
1354
|
+
"updateActions": "Yvqh9W_updateActions",
|
|
1355
|
+
"lightboxCaptionRow": "Yvqh9W_lightboxCaptionRow",
|
|
1356
|
+
"reference": "Yvqh9W_reference",
|
|
1357
|
+
"modelMenu": "Yvqh9W_modelMenu",
|
|
1358
|
+
"galleryTagFilterList": "Yvqh9W_galleryTagFilterList",
|
|
1359
|
+
"gallerySelect": "Yvqh9W_gallerySelect",
|
|
1360
|
+
"taskTrayCount": "Yvqh9W_taskTrayCount",
|
|
1361
|
+
"galleryImage": "Yvqh9W_galleryImage",
|
|
1362
|
+
"historyItem": "Yvqh9W_historyItem",
|
|
1363
|
+
"galleryCard": "Yvqh9W_galleryCard",
|
|
1364
|
+
"historySearch": "Yvqh9W_historySearch",
|
|
1365
|
+
"lightboxImage": "Yvqh9W_lightboxImage",
|
|
1366
|
+
"lightboxTools": "Yvqh9W_lightboxTools",
|
|
1367
|
+
"history": "Yvqh9W_history",
|
|
1368
|
+
"lightboxIndex": "Yvqh9W_lightboxIndex",
|
|
1369
|
+
"galleryToast": "Yvqh9W_galleryToast",
|
|
1370
|
+
"updateText": "Yvqh9W_updateText",
|
|
1371
|
+
"historyPrompt": "Yvqh9W_historyPrompt",
|
|
1372
|
+
"optionGrid": "Yvqh9W_optionGrid",
|
|
1373
|
+
"grid": "Yvqh9W_grid",
|
|
1354
1374
|
"lightboxMeta": "Yvqh9W_lightboxMeta",
|
|
1375
|
+
"galleryRatio": "Yvqh9W_galleryRatio",
|
|
1355
1376
|
"gallerySelectionBar": "Yvqh9W_gallerySelectionBar",
|
|
1356
|
-
"
|
|
1357
|
-
"
|
|
1358
|
-
"
|
|
1377
|
+
"galleryCardInfo": "Yvqh9W_galleryCardInfo",
|
|
1378
|
+
"taskTray": "Yvqh9W_taskTray",
|
|
1379
|
+
"canvasStateTitle": "Yvqh9W_canvasStateTitle",
|
|
1380
|
+
"historyMain": "Yvqh9W_historyMain",
|
|
1381
|
+
"historyThumbPlaceholder": "Yvqh9W_historyThumbPlaceholder",
|
|
1359
1382
|
"historyMeta": "Yvqh9W_historyMeta",
|
|
1360
1383
|
"hiddenFile": "Yvqh9W_hiddenFile",
|
|
1361
|
-
"
|
|
1362
|
-
"
|
|
1363
|
-
"
|
|
1364
|
-
"
|
|
1365
|
-
"
|
|
1384
|
+
"modeRow": "Yvqh9W_modeRow",
|
|
1385
|
+
"imageCard": "Yvqh9W_imageCard",
|
|
1386
|
+
"lightbox": "Yvqh9W_lightbox",
|
|
1387
|
+
"galleryHeading": "Yvqh9W_galleryHeading",
|
|
1388
|
+
"connectionStatus": "Yvqh9W_connectionStatus",
|
|
1389
|
+
"compareToggle": "Yvqh9W_compareToggle",
|
|
1390
|
+
"optionPill": "Yvqh9W_optionPill",
|
|
1366
1391
|
"historyHeader": "Yvqh9W_historyHeader",
|
|
1367
|
-
"
|
|
1392
|
+
"historyList": "Yvqh9W_historyList",
|
|
1393
|
+
"taskRows": "Yvqh9W_taskRows",
|
|
1368
1394
|
"lightboxDownload": "Yvqh9W_lightboxDownload",
|
|
1395
|
+
"referenceActions": "Yvqh9W_referenceActions",
|
|
1396
|
+
"historyFilters": "Yvqh9W_historyFilters",
|
|
1397
|
+
"historyClear": "Yvqh9W_historyClear",
|
|
1398
|
+
"updateBanner": "Yvqh9W_updateBanner",
|
|
1399
|
+
"lightboxTool": "Yvqh9W_lightboxTool",
|
|
1369
1400
|
"prompt": "Yvqh9W_prompt",
|
|
1370
|
-
"
|
|
1371
|
-
"
|
|
1372
|
-
"
|
|
1373
|
-
"lightboxNav": "Yvqh9W_lightboxNav",
|
|
1374
|
-
"modelMenuItem": "Yvqh9W_modelMenuItem",
|
|
1375
|
-
"uploadHint": "Yvqh9W_uploadHint",
|
|
1376
|
-
"compareModelChoices": "Yvqh9W_compareModelChoices",
|
|
1377
|
-
"optionRow": "Yvqh9W_optionRow",
|
|
1378
|
-
"paramHint": "Yvqh9W_paramHint",
|
|
1379
|
-
"lightboxZoomLevel": "Yvqh9W_lightboxZoomLevel",
|
|
1380
|
-
"grid": "Yvqh9W_grid",
|
|
1381
|
-
"lightboxTools": "Yvqh9W_lightboxTools",
|
|
1401
|
+
"lightboxActions": "Yvqh9W_lightboxActions",
|
|
1402
|
+
"galleryBulkButton": "Yvqh9W_galleryBulkButton",
|
|
1403
|
+
"modePill": "Yvqh9W_modePill",
|
|
1382
1404
|
"connectionDot": "Yvqh9W_connectionDot",
|
|
1383
|
-
"
|
|
1384
|
-
"
|
|
1385
|
-
"
|
|
1386
|
-
"studio": "Yvqh9W_studio",
|
|
1387
|
-
"spinner": "Yvqh9W_spinner",
|
|
1388
|
-
"imageCaption": "Yvqh9W_imageCaption",
|
|
1389
|
-
"dshImageGenSpin": "Yvqh9W_dshImageGenSpin",
|
|
1390
|
-
"galleryRemove": "Yvqh9W_galleryRemove",
|
|
1405
|
+
"taskRow": "Yvqh9W_taskRow",
|
|
1406
|
+
"uploadHint": "Yvqh9W_uploadHint",
|
|
1407
|
+
"paramLabel": "Yvqh9W_paramLabel",
|
|
1391
1408
|
"taskTrayToggle": "Yvqh9W_taskTrayToggle",
|
|
1392
|
-
"
|
|
1393
|
-
"
|
|
1394
|
-
"lightboxFigure": "Yvqh9W_lightboxFigure",
|
|
1395
|
-
"comparisonBoard": "Yvqh9W_comparisonBoard",
|
|
1409
|
+
"paramGroup": "Yvqh9W_paramGroup",
|
|
1410
|
+
"templatesButton": "Yvqh9W_templatesButton",
|
|
1396
1411
|
"modelMenuList": "Yvqh9W_modelMenuList",
|
|
1397
|
-
"
|
|
1398
|
-
"galleryTagEditor": "Yvqh9W_galleryTagEditor",
|
|
1399
|
-
"comparisonGrid": "Yvqh9W_comparisonGrid",
|
|
1400
|
-
"galleryToolbar": "Yvqh9W_galleryToolbar",
|
|
1401
|
-
"promptCount": "Yvqh9W_promptCount",
|
|
1402
|
-
"config": "Yvqh9W_config",
|
|
1403
|
-
"modelWrap": "Yvqh9W_modelWrap",
|
|
1412
|
+
"lightboxZoomLevel": "Yvqh9W_lightboxZoomLevel",
|
|
1404
1413
|
"panelHeader": "Yvqh9W_panelHeader",
|
|
1405
|
-
"
|
|
1406
|
-
"
|
|
1407
|
-
"
|
|
1408
|
-
"
|
|
1409
|
-
"
|
|
1410
|
-
"galleryWorkspace": "Yvqh9W_galleryWorkspace",
|
|
1411
|
-
"gallerySearch": "Yvqh9W_gallerySearch",
|
|
1412
|
-
"historyActions": "Yvqh9W_historyActions",
|
|
1413
|
-
"generateButton": "Yvqh9W_generateButton",
|
|
1414
|
-
"lightboxCaptionRow": "Yvqh9W_lightboxCaptionRow",
|
|
1415
|
-
"historySearch": "Yvqh9W_historySearch",
|
|
1414
|
+
"configGuide": "Yvqh9W_configGuide",
|
|
1415
|
+
"optionRow": "Yvqh9W_optionRow",
|
|
1416
|
+
"galleryFilter": "Yvqh9W_galleryFilter",
|
|
1417
|
+
"taskStatus": "Yvqh9W_taskStatus",
|
|
1418
|
+
"lightboxCopy": "Yvqh9W_lightboxCopy",
|
|
1416
1419
|
"panelTitle": "Yvqh9W_panelTitle",
|
|
1417
|
-
"
|
|
1418
|
-
"galleryImageButton": "Yvqh9W_galleryImageButton",
|
|
1419
|
-
"lightboxIndex": "Yvqh9W_lightboxIndex",
|
|
1420
|
-
"canvasState": "Yvqh9W_canvasState",
|
|
1421
|
-
"historyClear": "Yvqh9W_historyClear",
|
|
1422
|
-
"modePill": "Yvqh9W_modePill",
|
|
1423
|
-
"galleryClear": "Yvqh9W_galleryClear",
|
|
1420
|
+
"lightboxFigure": "Yvqh9W_lightboxFigure",
|
|
1424
1421
|
"generateInner": "Yvqh9W_generateInner",
|
|
1425
|
-
"galleryCardFooter": "Yvqh9W_galleryCardFooter",
|
|
1426
1422
|
"view": "Yvqh9W_view",
|
|
1427
|
-
"
|
|
1428
|
-
"
|
|
1429
|
-
"
|
|
1430
|
-
"
|
|
1431
|
-
"
|
|
1432
|
-
"
|
|
1433
|
-
"
|
|
1434
|
-
"
|
|
1435
|
-
"
|
|
1423
|
+
"uploadBox": "Yvqh9W_uploadBox",
|
|
1424
|
+
"galleryCardFooter": "Yvqh9W_galleryCardFooter",
|
|
1425
|
+
"bigSpinner": "Yvqh9W_bigSpinner",
|
|
1426
|
+
"canvasState": "Yvqh9W_canvasState",
|
|
1427
|
+
"imageCaption": "Yvqh9W_imageCaption",
|
|
1428
|
+
"historyThumb": "Yvqh9W_historyThumb",
|
|
1429
|
+
"footer": "Yvqh9W_footer",
|
|
1430
|
+
"canvasMeta": "Yvqh9W_canvasMeta",
|
|
1431
|
+
"galleryToolbarActions": "Yvqh9W_galleryToolbarActions",
|
|
1436
1432
|
"compareControl": "Yvqh9W_compareControl",
|
|
1437
|
-
"
|
|
1438
|
-
"
|
|
1439
|
-
"galleryFilterHeading": "Yvqh9W_galleryFilterHeading",
|
|
1440
|
-
"lightboxClose": "Yvqh9W_lightboxClose",
|
|
1441
|
-
"galleryTagInput": "Yvqh9W_galleryTagInput",
|
|
1442
|
-
"galleryToast": "Yvqh9W_galleryToast",
|
|
1443
|
-
"taskTrayHeader": "Yvqh9W_taskTrayHeader",
|
|
1444
|
-
"comparisonFullscreenGrid": "Yvqh9W_comparisonFullscreenGrid",
|
|
1445
|
-
"lightboxTool": "Yvqh9W_lightboxTool",
|
|
1446
|
-
"taskStatus": "Yvqh9W_taskStatus",
|
|
1447
|
-
"galleryAdd": "Yvqh9W_galleryAdd",
|
|
1448
|
-
"canvasStateHint": "Yvqh9W_canvasStateHint",
|
|
1449
|
-
"imageCard": "Yvqh9W_imageCard",
|
|
1450
|
-
"image": "Yvqh9W_image",
|
|
1433
|
+
"galleryTagEditor": "Yvqh9W_galleryTagEditor",
|
|
1434
|
+
"gallerySelectMode": "Yvqh9W_gallerySelectMode",
|
|
1451
1435
|
"galleryTagFilter": "Yvqh9W_galleryTagFilter",
|
|
1452
|
-
"
|
|
1453
|
-
"configGuide": "Yvqh9W_configGuide",
|
|
1454
|
-
"download": "Yvqh9W_download",
|
|
1436
|
+
"canvasError": "Yvqh9W_canvasError",
|
|
1455
1437
|
"galleryBadge": "Yvqh9W_galleryBadge",
|
|
1456
|
-
"
|
|
1457
|
-
"
|
|
1438
|
+
"entry": "Yvqh9W_entry",
|
|
1439
|
+
"modelWrap": "Yvqh9W_modelWrap",
|
|
1440
|
+
"gallerySearch": "Yvqh9W_gallerySearch",
|
|
1441
|
+
"galleryClear": "Yvqh9W_galleryClear",
|
|
1442
|
+
"galleryFilters": "Yvqh9W_galleryFilters",
|
|
1443
|
+
"galleryAvatar": "Yvqh9W_galleryAvatar",
|
|
1444
|
+
"promptFooter": "Yvqh9W_promptFooter",
|
|
1445
|
+
"comparisonBoard": "Yvqh9W_comparisonBoard",
|
|
1446
|
+
"historyInfo": "Yvqh9W_historyInfo",
|
|
1447
|
+
"comparisonFullscreenGrid": "Yvqh9W_comparisonFullscreenGrid",
|
|
1458
1448
|
"referenceImage": "Yvqh9W_referenceImage",
|
|
1459
|
-
"
|
|
1460
|
-
"
|
|
1461
|
-
"
|
|
1462
|
-
"
|
|
1463
|
-
"
|
|
1464
|
-
"
|
|
1465
|
-
"
|
|
1466
|
-
"
|
|
1449
|
+
"taskTrayClose": "Yvqh9W_taskTrayClose",
|
|
1450
|
+
"lightboxCaption": "Yvqh9W_lightboxCaption",
|
|
1451
|
+
"galleryViewToggle": "Yvqh9W_galleryViewToggle",
|
|
1452
|
+
"galleryRatioList": "Yvqh9W_galleryRatioList",
|
|
1453
|
+
"githubLink": "Yvqh9W_githubLink",
|
|
1454
|
+
"galleryFilterNote": "Yvqh9W_galleryFilterNote",
|
|
1455
|
+
"panel": "Yvqh9W_panel",
|
|
1456
|
+
"canvasEmptyIcon": "Yvqh9W_canvasEmptyIcon",
|
|
1457
|
+
"canvasHistoryTag": "Yvqh9W_canvasHistoryTag",
|
|
1458
|
+
"image": "Yvqh9W_image",
|
|
1459
|
+
"dshImageGenToastIn": "Yvqh9W_dshImageGenToastIn",
|
|
1460
|
+
"compareModelChoices": "Yvqh9W_compareModelChoices",
|
|
1461
|
+
"galleryToolbar": "Yvqh9W_galleryToolbar",
|
|
1462
|
+
"galleryAdd": "Yvqh9W_galleryAdd",
|
|
1463
|
+
"studio": "Yvqh9W_studio",
|
|
1464
|
+
"canvasBody": "Yvqh9W_canvasBody",
|
|
1465
|
+
"lightboxScaleFrame": "Yvqh9W_lightboxScaleFrame",
|
|
1466
|
+
"lightboxClose": "Yvqh9W_lightboxClose",
|
|
1467
|
+
"historyAction": "Yvqh9W_historyAction",
|
|
1468
|
+
"gallerySelectionClear": "Yvqh9W_gallerySelectionClear",
|
|
1469
|
+
"galleryFilterDivider": "Yvqh9W_galleryFilterDivider",
|
|
1470
|
+
"canvas": "Yvqh9W_canvas",
|
|
1471
|
+
"lightboxNav": "Yvqh9W_lightboxNav",
|
|
1467
1472
|
"updateRelease": "Yvqh9W_updateRelease",
|
|
1468
|
-
"
|
|
1473
|
+
"download": "Yvqh9W_download",
|
|
1474
|
+
"entryIcon": "Yvqh9W_entryIcon",
|
|
1475
|
+
"enhanceButton": "Yvqh9W_enhanceButton",
|
|
1476
|
+
"modelLabel": "Yvqh9W_modelLabel",
|
|
1477
|
+
"config": "Yvqh9W_config",
|
|
1478
|
+
"taskTrayChevron": "Yvqh9W_taskTrayChevron",
|
|
1479
|
+
"modelMenuItem": "Yvqh9W_modelMenuItem",
|
|
1480
|
+
"taskTrayHeader": "Yvqh9W_taskTrayHeader",
|
|
1481
|
+
"paramHint": "Yvqh9W_paramHint",
|
|
1482
|
+
"entryLabel": "Yvqh9W_entryLabel",
|
|
1483
|
+
"uploadIcon": "Yvqh9W_uploadIcon",
|
|
1484
|
+
"modelSelect": "Yvqh9W_modelSelect",
|
|
1485
|
+
"spinner": "Yvqh9W_spinner",
|
|
1486
|
+
"galleryCount": "Yvqh9W_galleryCount",
|
|
1469
1487
|
"gallerySort": "Yvqh9W_gallerySort",
|
|
1470
|
-
"
|
|
1471
|
-
"
|
|
1488
|
+
"comparisonGrid": "Yvqh9W_comparisonGrid",
|
|
1489
|
+
"configScroll": "Yvqh9W_configScroll",
|
|
1490
|
+
"galleryTagEdit": "Yvqh9W_galleryTagEdit",
|
|
1472
1491
|
"galleryFilterCount": "Yvqh9W_galleryFilterCount",
|
|
1473
|
-
"compareToggle": "Yvqh9W_compareToggle",
|
|
1474
|
-
"enhanceButton": "Yvqh9W_enhanceButton",
|
|
1475
|
-
"entry": "Yvqh9W_entry",
|
|
1476
|
-
"card": "Yvqh9W_card",
|
|
1477
|
-
"galleryToolbarActions": "Yvqh9W_galleryToolbarActions",
|
|
1478
|
-
"panelHeading": "Yvqh9W_panelHeading",
|
|
1479
|
-
"canvasHistoryTag": "Yvqh9W_canvasHistoryTag",
|
|
1480
|
-
"optionPill": "Yvqh9W_optionPill",
|
|
1481
|
-
"galleryTagFilterList": "Yvqh9W_galleryTagFilterList",
|
|
1482
|
-
"galleryBulkButton": "Yvqh9W_galleryBulkButton",
|
|
1483
|
-
"footer": "Yvqh9W_footer",
|
|
1484
|
-
"paramLabel": "Yvqh9W_paramLabel",
|
|
1485
|
-
"zoomHint": "Yvqh9W_zoomHint",
|
|
1486
|
-
"galleryFilters": "Yvqh9W_galleryFilters",
|
|
1487
1492
|
"lightboxEdit": "Yvqh9W_lightboxEdit",
|
|
1488
|
-
"
|
|
1489
|
-
"
|
|
1493
|
+
"historyEmpty": "Yvqh9W_historyEmpty",
|
|
1494
|
+
"promptCount": "Yvqh9W_promptCount",
|
|
1495
|
+
"galleryRemove": "Yvqh9W_galleryRemove",
|
|
1496
|
+
"configGuideBody": "Yvqh9W_configGuideBody",
|
|
1497
|
+
"taskPrompt": "Yvqh9W_taskPrompt",
|
|
1490
1498
|
"galleryTags": "Yvqh9W_galleryTags",
|
|
1491
|
-
"
|
|
1492
|
-
"
|
|
1493
|
-
"lightboxScaleFrame": "Yvqh9W_lightboxScaleFrame"
|
|
1499
|
+
"galleryFilterHeading": "Yvqh9W_galleryFilterHeading",
|
|
1500
|
+
"lightboxStage": "Yvqh9W_lightboxStage"
|
|
1494
1501
|
};
|
|
1495
1502
|
//#endregion
|
|
1496
1503
|
//#region src/client/ImageGenPanel.tsx
|
|
@@ -2870,7 +2877,7 @@ window.__ModuleLoader__.load({
|
|
|
2870
2877
|
children: [
|
|
2871
2878
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2872
2879
|
className: panel_module_css_default.galleryAvatar,
|
|
2873
|
-
children: entry.model.startsWith("grok") ? "G" : "D"
|
|
2880
|
+
children: entry.model.toLowerCase().startsWith("nanobanana") ? "N" : entry.model.toLowerCase().startsWith("seedream") ? "S" : entry.model.startsWith("grok") ? "G" : "D"
|
|
2874
2881
|
}),
|
|
2875
2882
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
2876
2883
|
className: panel_module_css_default.galleryCardInfo,
|
|
@@ -4226,55 +4233,55 @@ window.__ModuleLoader__.load({
|
|
|
4226
4233
|
document.head.appendChild(tag);
|
|
4227
4234
|
}
|
|
4228
4235
|
var settings_card_module_css_default = {
|
|
4229
|
-
"
|
|
4230
|
-
"
|
|
4231
|
-
"
|
|
4232
|
-
"
|
|
4233
|
-
"
|
|
4234
|
-
"
|
|
4236
|
+
"label": "i1cc5G_label",
|
|
4237
|
+
"body": "i1cc5G_body",
|
|
4238
|
+
"readOnly": "i1cc5G_readOnly",
|
|
4239
|
+
"notExposed": "i1cc5G_notExposed",
|
|
4240
|
+
"modelCandidateList": "i1cc5G_modelCandidateList",
|
|
4241
|
+
"name": "i1cc5G_name",
|
|
4235
4242
|
"input": "i1cc5G_input",
|
|
4236
4243
|
"modelCandidateLabel": "i1cc5G_modelCandidateLabel",
|
|
4237
|
-
"
|
|
4238
|
-
"
|
|
4239
|
-
"
|
|
4244
|
+
"chevron": "i1cc5G_chevron",
|
|
4245
|
+
"card": "i1cc5G_card",
|
|
4246
|
+
"inputInvalid": "i1cc5G_inputInvalid",
|
|
4247
|
+
"sectionDivider": "i1cc5G_sectionDivider",
|
|
4240
4248
|
"header": "i1cc5G_header",
|
|
4241
|
-
"
|
|
4242
|
-
"
|
|
4243
|
-
"headText": "i1cc5G_headText",
|
|
4244
|
-
"modelChoices": "i1cc5G_modelChoices",
|
|
4245
|
-
"modelCandidate": "i1cc5G_modelCandidate",
|
|
4246
|
-
"description": "i1cc5G_description",
|
|
4247
|
-
"textarea": "i1cc5G_textarea",
|
|
4248
|
-
"readOnly": "i1cc5G_readOnly",
|
|
4249
|
-
"inlineDisclosure": "i1cc5G_inlineDisclosure",
|
|
4250
|
-
"reset": "i1cc5G_reset",
|
|
4251
|
-
"sectionHint": "i1cc5G_sectionHint",
|
|
4252
|
-
"manualModelRow": "i1cc5G_manualModelRow",
|
|
4253
|
-
"label": "i1cc5G_label",
|
|
4254
|
-
"optionalContent": "i1cc5G_optionalContent",
|
|
4249
|
+
"sectionTitle": "i1cc5G_sectionTitle",
|
|
4250
|
+
"invalid": "i1cc5G_invalid",
|
|
4255
4251
|
"versionValue": "i1cc5G_versionValue",
|
|
4256
|
-
"
|
|
4257
|
-
"
|
|
4258
|
-
"field": "i1cc5G_field",
|
|
4259
|
-
"body": "i1cc5G_body",
|
|
4260
|
-
"badge": "i1cc5G_badge",
|
|
4252
|
+
"badges": "i1cc5G_badges",
|
|
4253
|
+
"manualModelRow": "i1cc5G_manualModelRow",
|
|
4261
4254
|
"modelSection": "i1cc5G_modelSection",
|
|
4262
|
-
"
|
|
4263
|
-
"
|
|
4264
|
-
"
|
|
4265
|
-
"inputInvalid": "i1cc5G_inputInvalid",
|
|
4255
|
+
"modelChoices": "i1cc5G_modelChoices",
|
|
4256
|
+
"chevronOpen": "i1cc5G_chevronOpen",
|
|
4257
|
+
"badge": "i1cc5G_badge",
|
|
4266
4258
|
"pending": "i1cc5G_pending",
|
|
4267
|
-
"
|
|
4259
|
+
"headText": "i1cc5G_headText",
|
|
4260
|
+
"modelFetch": "i1cc5G_modelFetch",
|
|
4261
|
+
"hint": "i1cc5G_hint",
|
|
4262
|
+
"sectionHeader": "i1cc5G_sectionHeader",
|
|
4263
|
+
"modelSummary": "i1cc5G_modelSummary",
|
|
4264
|
+
"inlineDisclosure": "i1cc5G_inlineDisclosure",
|
|
4265
|
+
"description": "i1cc5G_description",
|
|
4268
4266
|
"modelFetchRow": "i1cc5G_modelFetchRow",
|
|
4267
|
+
"select": "i1cc5G_select",
|
|
4269
4268
|
"footer": "i1cc5G_footer",
|
|
4270
|
-
"
|
|
4269
|
+
"save": "i1cc5G_save",
|
|
4271
4270
|
"versionRow": "i1cc5G_versionRow",
|
|
4272
|
-
"
|
|
4273
|
-
"
|
|
4274
|
-
"modelCandidateList": "i1cc5G_modelCandidateList",
|
|
4271
|
+
"field": "i1cc5G_field",
|
|
4272
|
+
"sectionHint": "i1cc5G_sectionHint",
|
|
4275
4273
|
"failed": "i1cc5G_failed",
|
|
4276
|
-
"
|
|
4277
|
-
"
|
|
4274
|
+
"head": "i1cc5G_head",
|
|
4275
|
+
"optionalContent": "i1cc5G_optionalContent",
|
|
4276
|
+
"modelCandidate": "i1cc5G_modelCandidate",
|
|
4277
|
+
"discard": "i1cc5G_discard",
|
|
4278
|
+
"textareaInvalid": "i1cc5G_textareaInvalid",
|
|
4279
|
+
"reset": "i1cc5G_reset",
|
|
4280
|
+
"modelChip": "i1cc5G_modelChip",
|
|
4281
|
+
"disclosure": "i1cc5G_disclosure",
|
|
4282
|
+
"versionLabel": "i1cc5G_versionLabel",
|
|
4283
|
+
"textarea": "i1cc5G_textarea",
|
|
4284
|
+
"addModel": "i1cc5G_addModel"
|
|
4278
4285
|
};
|
|
4279
4286
|
//#endregion
|
|
4280
4287
|
//#region src/client/SettingsCard.tsx
|
|
@@ -5182,16 +5189,16 @@ window.__ModuleLoader__.load({
|
|
|
5182
5189
|
document.head.appendChild(tag);
|
|
5183
5190
|
}
|
|
5184
5191
|
var image_toolview_module_css_default = {
|
|
5185
|
-
"imageLink": "_3eGrYG_imageLink",
|
|
5186
5192
|
"header": "_3eGrYG_header",
|
|
5187
|
-
"
|
|
5193
|
+
"images": "_3eGrYG_images",
|
|
5194
|
+
"image": "_3eGrYG_image",
|
|
5195
|
+
"imageLink": "_3eGrYG_imageLink",
|
|
5188
5196
|
"icon": "_3eGrYG_icon",
|
|
5197
|
+
"loading": "_3eGrYG_loading",
|
|
5198
|
+
"root": "_3eGrYG_root",
|
|
5189
5199
|
"error": "_3eGrYG_error",
|
|
5190
5200
|
"status": "_3eGrYG_status",
|
|
5191
|
-
"message": "_3eGrYG_message"
|
|
5192
|
-
"root": "_3eGrYG_root",
|
|
5193
|
-
"image": "_3eGrYG_image",
|
|
5194
|
-
"images": "_3eGrYG_images"
|
|
5201
|
+
"message": "_3eGrYG_message"
|
|
5195
5202
|
};
|
|
5196
5203
|
//#endregion
|
|
5197
5204
|
//#region src/client/image-toolview.tsx
|