dsh-audiogen 0.3.4 → 0.3.5

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/lib/client.js CHANGED
@@ -543,35 +543,35 @@ window.__ModuleLoader__.load({
543
543
  }
544
544
  var audio_panel_module_css_default = {
545
545
  "history": "Oo1fpq_history",
546
+ "form": "Oo1fpq_form",
546
547
  "layout": "Oo1fpq_layout",
547
- "modeButton": "Oo1fpq_modeButton",
548
- "historyTitle": "Oo1fpq_historyTitle",
549
- "historyAudio": "Oo1fpq_historyAudio",
550
- "generate": "Oo1fpq_generate",
551
- "input": "Oo1fpq_input",
552
- "modeRow": "Oo1fpq_modeRow",
553
- "label": "Oo1fpq_label",
554
- "select": "Oo1fpq_select",
555
- "audioCard": "Oo1fpq_audioCard",
556
548
  "textarea": "Oo1fpq_textarea",
549
+ "historyMeta": "Oo1fpq_historyMeta",
550
+ "audioList": "Oo1fpq_audioList",
551
+ "checkbox": "Oo1fpq_checkbox",
552
+ "modeRow": "Oo1fpq_modeRow",
553
+ "download": "Oo1fpq_download",
554
+ "historyItem": "Oo1fpq_historyItem",
555
+ "historyAudio": "Oo1fpq_historyAudio",
556
+ "row": "Oo1fpq_row",
557
557
  "advanced": "Oo1fpq_advanced",
558
- "panel": "Oo1fpq_panel",
559
- "audio": "Oo1fpq_audio",
560
- "historyEmpty": "Oo1fpq_historyEmpty",
558
+ "title": "Oo1fpq_title",
559
+ "result": "Oo1fpq_result",
561
560
  "error": "Oo1fpq_error",
562
- "download": "Oo1fpq_download",
563
- "form": "Oo1fpq_form",
564
561
  "historyPrompt": "Oo1fpq_historyPrompt",
565
- "title": "Oo1fpq_title",
566
- "historyMeta": "Oo1fpq_historyMeta",
567
- "header": "Oo1fpq_header",
568
- "hint": "Oo1fpq_hint",
562
+ "historyEmpty": "Oo1fpq_historyEmpty",
569
563
  "empty": "Oo1fpq_empty",
570
- "row": "Oo1fpq_row",
571
- "checkbox": "Oo1fpq_checkbox",
572
- "result": "Oo1fpq_result",
573
- "historyItem": "Oo1fpq_historyItem",
574
- "audioList": "Oo1fpq_audioList"
564
+ "input": "Oo1fpq_input",
565
+ "historyTitle": "Oo1fpq_historyTitle",
566
+ "hint": "Oo1fpq_hint",
567
+ "select": "Oo1fpq_select",
568
+ "panel": "Oo1fpq_panel",
569
+ "header": "Oo1fpq_header",
570
+ "label": "Oo1fpq_label",
571
+ "audio": "Oo1fpq_audio",
572
+ "audioCard": "Oo1fpq_audioCard",
573
+ "modeButton": "Oo1fpq_modeButton",
574
+ "generate": "Oo1fpq_generate"
575
575
  };
576
576
  //#endregion
577
577
  //#region src/client/AudioGenPanel.tsx
@@ -629,6 +629,8 @@ window.__ModuleLoader__.load({
629
629
  const [duration, setDuration] = (0, react.useState)("");
630
630
  const [lyrics, setLyrics] = (0, react.useState)("");
631
631
  const [instrumental, setInstrumental] = (0, react.useState)(false);
632
+ const [loop, setLoop] = (0, react.useState)(false);
633
+ const [promptInfluence, setPromptInfluence] = (0, react.useState)("");
632
634
  const [format, setFormat] = (0, react.useState)("mp3");
633
635
  const [emotion, setEmotion] = (0, react.useState)("");
634
636
  const [vol, setVol] = (0, react.useState)("");
@@ -642,10 +644,19 @@ window.__ModuleLoader__.load({
642
644
  const [error, setError] = (0, react.useState)(null);
643
645
  const [outputs, setOutputs] = (0, react.useState)([]);
644
646
  const { entries, reload, clear } = useHistory();
647
+ const [designChannelId, setDesignChannelId] = (0, react.useState)("");
645
648
  const isMiniMaxChannel = (0, react.useMemo)(() => {
646
649
  const target = channels.find((candidate) => candidate.id === modelOptions.defaultChannelId) ?? channels[0];
647
650
  return target !== void 0 && (target.preset === "minimax" || /minimax/i.test(target.apiUrl));
648
651
  }, [channels, modelOptions.defaultChannelId]);
652
+ (0, react.useEffect)(() => {
653
+ if (channels.length === 0) return;
654
+ if (designChannelId === "" || !channels.some((candidate) => candidate.id === designChannelId)) setDesignChannelId(modelOptions.defaultChannelId ?? channels[0].id);
655
+ }, [
656
+ channels,
657
+ modelOptions.defaultChannelId,
658
+ designChannelId
659
+ ]);
649
660
  const visibleModels = (0, react.useMemo)(() => {
650
661
  if (mode === "voice_design") return [];
651
662
  return modelOptions.models.filter((entry) => entry.category === void 0 || entry.category === "tts" && mode === "tts" || entry.category === mode).map((entry) => entry.alias);
@@ -663,14 +674,17 @@ window.__ModuleLoader__.load({
663
674
  try {
664
675
  const response = await api.generate({
665
676
  mode,
666
- model: (model || visibleModels[0]) ?? "",
677
+ model: mode === "voice_design" ? "" : (model || visibleModels[0]) ?? "",
667
678
  prompt: prompt.trim(),
679
+ ...mode === "voice_design" && designChannelId !== "" ? { channelId: designChannelId } : {},
668
680
  ...previewText.trim() !== "" ? { previewText: previewText.trim() } : {},
669
681
  ...voice.trim() !== "" ? { voice: voice.trim() } : {},
670
682
  ...speed.trim() !== "" ? { speed: Number(speed) } : {},
671
683
  ...duration.trim() !== "" ? { duration: Number(duration) } : {},
672
684
  ...lyrics.trim() !== "" ? { lyrics: lyrics.trim() } : {},
673
685
  ...instrumental ? { isInstrumental: true } : {},
686
+ ...loop ? { loop: true } : {},
687
+ ...promptInfluence.trim() !== "" ? { promptInfluence: Number(promptInfluence) } : {},
674
688
  ...format.trim() !== "" ? { format: format.trim() } : {},
675
689
  ...emotion.trim() !== "" ? { emotion: emotion.trim() } : {},
676
690
  ...vol.trim() !== "" ? { vol: Number(vol) } : {},
@@ -741,15 +755,41 @@ window.__ModuleLoader__.load({
741
755
  placeholder: tt("prompt.placeholder")
742
756
  })]
743
757
  }),
744
- mode === "voice_design" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
745
- className: audio_panel_module_css_default.label,
746
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "试听文本" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
747
- className: audio_panel_module_css_default.input,
748
- value: previewText,
749
- onChange: (event) => setPreviewText(event.target.value),
750
- placeholder: "你好,这是新设计的音色试听。"
751
- })]
752
- }) : null,
758
+ mode === "voice_design" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
759
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
760
+ className: audio_panel_module_css_default.label,
761
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "厂商 / 渠道" }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
762
+ className: audio_panel_module_css_default.select,
763
+ value: designChannelId,
764
+ onChange: (event) => setDesignChannelId(event.target.value),
765
+ children: [channels.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
766
+ value: "",
767
+ children: "(尚未配置渠道)"
768
+ }) : null, channels.map((candidate) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("option", {
769
+ value: candidate.id,
770
+ children: [
771
+ candidate.name,
772
+ "(",
773
+ candidate.preset === "minimax" ? "MiniMax" : candidate.preset === "elevenlabs" ? "ElevenLabs" : candidate.preset || "自定义",
774
+ ")"
775
+ ]
776
+ }, candidate.id))]
777
+ })]
778
+ }),
779
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
780
+ className: audio_panel_module_css_default.hint,
781
+ children: "MiniMax:/v1/voice_design;ElevenLabs:/v1/text-to-voice/design(试听文本 100-1000 字符,过短将自动生成)"
782
+ }),
783
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
784
+ className: audio_panel_module_css_default.label,
785
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "试听文本" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
786
+ className: audio_panel_module_css_default.input,
787
+ value: previewText,
788
+ onChange: (event) => setPreviewText(event.target.value),
789
+ placeholder: "你好,这是新设计的音色试听。"
790
+ })]
791
+ })
792
+ ] }) : null,
753
793
  needModel ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
754
794
  className: audio_panel_module_css_default.label,
755
795
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: tt("model.label") }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
@@ -912,6 +952,26 @@ window.__ModuleLoader__.load({
912
952
  placeholder: "30"
913
953
  })]
914
954
  }) : null,
955
+ mode === "sfx" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
956
+ className: audio_panel_module_css_default.checkbox,
957
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
958
+ type: "checkbox",
959
+ checked: loop,
960
+ onChange: (event) => setLoop(event.target.checked)
961
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "循环音效 loop(无缝循环,需 eleven_text_to_sound_v2)" })]
962
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
963
+ className: audio_panel_module_css_default.label,
964
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "提示词影响度 prompt_influence (0-1)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
965
+ className: audio_panel_module_css_default.input,
966
+ type: "number",
967
+ step: "0.1",
968
+ min: "0",
969
+ max: "1",
970
+ value: promptInfluence,
971
+ onChange: (event) => setPromptInfluence(event.target.value),
972
+ placeholder: "0.3"
973
+ })]
974
+ })] }) : null,
915
975
  mode === "music" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
916
976
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
917
977
  className: audio_panel_module_css_default.label,
@@ -1134,167 +1194,167 @@ window.__ModuleLoader__.load({
1134
1194
  document.head.appendChild(tag);
1135
1195
  }
1136
1196
  var panel_module_css_default = {
1137
- "lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
1138
- "lightboxEdit": "rwa6qG_lightboxEdit",
1139
- "modelSelect": "rwa6qG_modelSelect",
1140
- "updateRelease": "rwa6qG_updateRelease",
1141
- "configGuideBody": "rwa6qG_configGuideBody",
1142
- "taskRows": "rwa6qG_taskRows",
1143
- "galleryToast": "rwa6qG_galleryToast",
1144
- "studio": "rwa6qG_studio",
1145
- "image": "rwa6qG_image",
1146
- "lightboxDownload": "rwa6qG_lightboxDownload",
1147
- "comparisonFullscreen": "rwa6qG_comparisonFullscreen",
1148
- "galleryMasonry": "rwa6qG_galleryMasonry",
1149
- "galleryImageButton": "rwa6qG_galleryImageButton",
1150
- "config": "rwa6qG_config",
1151
- "galleryAdd": "rwa6qG_galleryAdd",
1197
+ "lightboxTools": "rwa6qG_lightboxTools",
1152
1198
  "prompt": "rwa6qG_prompt",
1153
- "uploadIcon": "rwa6qG_uploadIcon",
1154
- "taskTrayChevron": "rwa6qG_taskTrayChevron",
1155
- "taskPrompt": "rwa6qG_taskPrompt",
1156
- "referenceImage": "rwa6qG_referenceImage",
1157
- "githubLink": "rwa6qG_githubLink",
1158
- "historyHeader": "rwa6qG_historyHeader",
1159
- "paramLabel": "rwa6qG_paramLabel",
1160
- "canvasState": "rwa6qG_canvasState",
1161
- "galleryFilter": "rwa6qG_galleryFilter",
1162
- "gallerySelectionClear": "rwa6qG_gallerySelectionClear",
1163
- "galleryViewToggle": "rwa6qG_galleryViewToggle",
1164
- "lightboxClose": "rwa6qG_lightboxClose",
1165
- "galleryRatioList": "rwa6qG_galleryRatioList",
1166
- "taskTrayHeader": "rwa6qG_taskTrayHeader",
1167
- "gallerySelect": "rwa6qG_gallerySelect",
1168
- "comparisonGrid": "rwa6qG_comparisonGrid",
1169
- "taskStatus": "rwa6qG_taskStatus",
1170
- "gallerySelectMode": "rwa6qG_gallerySelectMode",
1171
- "historySearch": "rwa6qG_historySearch",
1172
- "historyTitle": "rwa6qG_historyTitle",
1173
- "galleryTags": "rwa6qG_galleryTags",
1174
- "zoomHint": "rwa6qG_zoomHint",
1175
- "historyFilters": "rwa6qG_historyFilters",
1176
- "grid": "rwa6qG_grid",
1177
- "historyInfo": "rwa6qG_historyInfo",
1178
- "canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
1179
- "gallerySelectionBar": "rwa6qG_gallerySelectionBar",
1180
- "optionRow": "rwa6qG_optionRow",
1181
- "modelMenuItem": "rwa6qG_modelMenuItem",
1182
- "paramHint": "rwa6qG_paramHint",
1183
- "promptCount": "rwa6qG_promptCount",
1199
+ "galleryTagInput": "rwa6qG_galleryTagInput",
1200
+ "historyAction": "rwa6qG_historyAction",
1201
+ "lightboxFigure": "rwa6qG_lightboxFigure",
1202
+ "galleryWorkspace": "rwa6qG_galleryWorkspace",
1203
+ "gallerySort": "rwa6qG_gallerySort",
1204
+ "galleryMasonry": "rwa6qG_galleryMasonry",
1205
+ "image": "rwa6qG_image",
1206
+ "modelWrap": "rwa6qG_modelWrap",
1184
1207
  "lightboxActions": "rwa6qG_lightboxActions",
1185
- "galleryTagFilter": "rwa6qG_galleryTagFilter",
1186
- "galleryAvatar": "rwa6qG_galleryAvatar",
1187
- "lightboxImage": "rwa6qG_lightboxImage",
1188
- "taskTrayClose": "rwa6qG_taskTrayClose",
1189
- "footer": "rwa6qG_footer",
1208
+ "card": "rwa6qG_card",
1209
+ "lightbox": "rwa6qG_lightbox",
1210
+ "historyFilters": "rwa6qG_historyFilters",
1211
+ "canvasHistoryTag": "rwa6qG_canvasHistoryTag",
1212
+ "uploadHint": "rwa6qG_uploadHint",
1213
+ "uploadIcon": "rwa6qG_uploadIcon",
1214
+ "modelMenuList": "rwa6qG_modelMenuList",
1190
1215
  "galleryToolbar": "rwa6qG_galleryToolbar",
1191
- "generateButton": "rwa6qG_generateButton",
1216
+ "galleryFilterHeading": "rwa6qG_galleryFilterHeading",
1217
+ "lightboxStage": "rwa6qG_lightboxStage",
1218
+ "updateText": "rwa6qG_updateText",
1219
+ "historyActions": "rwa6qG_historyActions",
1220
+ "lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
1221
+ "lightboxIndex": "rwa6qG_lightboxIndex",
1222
+ "galleryHeading": "rwa6qG_galleryHeading",
1223
+ "comparisonFullscreen": "rwa6qG_comparisonFullscreen",
1224
+ "lightboxCaption": "rwa6qG_lightboxCaption",
1225
+ "compareControl": "rwa6qG_compareControl",
1226
+ "galleryFilter": "rwa6qG_galleryFilter",
1192
1227
  "optionPill": "rwa6qG_optionPill",
1228
+ "comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
1229
+ "paramHint": "rwa6qG_paramHint",
1193
1230
  "compareToggle": "rwa6qG_compareToggle",
1194
- "galleryHeading": "rwa6qG_galleryHeading",
1195
- "dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
1196
- "panelHeader": "rwa6qG_panelHeader",
1197
- "configGuide": "rwa6qG_configGuide",
1231
+ "galleryImageButton": "rwa6qG_galleryImageButton",
1232
+ "canvas": "rwa6qG_canvas",
1233
+ "lightboxClose": "rwa6qG_lightboxClose",
1198
1234
  "galleryRemove": "rwa6qG_galleryRemove",
1235
+ "canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
1236
+ "historyList": "rwa6qG_historyList",
1237
+ "historyThumb": "rwa6qG_historyThumb",
1238
+ "paramLabel": "rwa6qG_paramLabel",
1239
+ "config": "rwa6qG_config",
1240
+ "taskPrompt": "rwa6qG_taskPrompt",
1241
+ "history": "rwa6qG_history",
1242
+ "configScroll": "rwa6qG_configScroll",
1243
+ "generateInner": "rwa6qG_generateInner",
1244
+ "canvasBody": "rwa6qG_canvasBody",
1245
+ "dshImageGenSpin": "rwa6qG_dshImageGenSpin",
1246
+ "galleryFilters": "rwa6qG_galleryFilters",
1199
1247
  "galleryRatio": "rwa6qG_galleryRatio",
1200
- "lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
1201
- "updateText": "rwa6qG_updateText",
1202
- "comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
1203
- "modelLabel": "rwa6qG_modelLabel",
1248
+ "generateButton": "rwa6qG_generateButton",
1249
+ "galleryCardFooter": "rwa6qG_galleryCardFooter",
1250
+ "historyMain": "rwa6qG_historyMain",
1251
+ "gallerySelectionClear": "rwa6qG_gallerySelectionClear",
1252
+ "templatesButton": "rwa6qG_templatesButton",
1204
1253
  "comparisonImageButton": "rwa6qG_comparisonImageButton",
1205
- "historyList": "rwa6qG_historyList",
1206
- "gallerySearch": "rwa6qG_gallerySearch",
1207
- "historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
1208
- "lightboxMeta": "rwa6qG_lightboxMeta",
1209
- "reference": "rwa6qG_reference",
1254
+ "galleryAvatar": "rwa6qG_galleryAvatar",
1255
+ "panelHeader": "rwa6qG_panelHeader",
1256
+ "githubLink": "rwa6qG_githubLink",
1257
+ "lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
1210
1258
  "comparisonBoard": "rwa6qG_comparisonBoard",
1211
- "compareControl": "rwa6qG_compareControl",
1212
- "historyMain": "rwa6qG_historyMain",
1213
- "lightboxCaption": "rwa6qG_lightboxCaption",
1214
- "galleryTagInput": "rwa6qG_galleryTagInput",
1215
- "uploadHint": "rwa6qG_uploadHint",
1216
- "canvasHistoryTag": "rwa6qG_canvasHistoryTag",
1217
- "galleryImage": "rwa6qG_galleryImage",
1218
- "lightboxFigure": "rwa6qG_lightboxFigure",
1219
1259
  "galleryTagEdit": "rwa6qG_galleryTagEdit",
1220
- "compareModelChoices": "rwa6qG_compareModelChoices",
1260
+ "uploadBox": "rwa6qG_uploadBox",
1261
+ "lightboxImage": "rwa6qG_lightboxImage",
1262
+ "galleryCard": "rwa6qG_galleryCard",
1263
+ "taskTrayChevron": "rwa6qG_taskTrayChevron",
1264
+ "entry": "rwa6qG_entry",
1265
+ "historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
1266
+ "taskTrayToggle": "rwa6qG_taskTrayToggle",
1267
+ "galleryTagFilterList": "rwa6qG_galleryTagFilterList",
1268
+ "taskTrayHeader": "rwa6qG_taskTrayHeader",
1269
+ "modelMenuItem": "rwa6qG_modelMenuItem",
1270
+ "galleryCardInfo": "rwa6qG_galleryCardInfo",
1271
+ "canvasStateHint": "rwa6qG_canvasStateHint",
1272
+ "taskRow": "rwa6qG_taskRow",
1273
+ "modePill": "rwa6qG_modePill",
1274
+ "grid": "rwa6qG_grid",
1275
+ "paramGroup": "rwa6qG_paramGroup",
1276
+ "hiddenFile": "rwa6qG_hiddenFile",
1277
+ "galleryFilterCount": "rwa6qG_galleryFilterCount",
1278
+ "connectionStatus": "rwa6qG_connectionStatus",
1279
+ "historyPrompt": "rwa6qG_historyPrompt",
1280
+ "gallerySelectionBar": "rwa6qG_gallerySelectionBar",
1281
+ "galleryViewToggle": "rwa6qG_galleryViewToggle",
1282
+ "updateRelease": "rwa6qG_updateRelease",
1283
+ "configGuideBody": "rwa6qG_configGuideBody",
1221
1284
  "historyEmpty": "rwa6qG_historyEmpty",
1222
- "updateActions": "rwa6qG_updateActions",
1223
- "lightboxTool": "rwa6qG_lightboxTool",
1285
+ "galleryFilterDivider": "rwa6qG_galleryFilterDivider",
1286
+ "galleryTagFilter": "rwa6qG_galleryTagFilter",
1287
+ "galleryBadge": "rwa6qG_galleryBadge",
1288
+ "modelLabel": "rwa6qG_modelLabel",
1289
+ "taskTray": "rwa6qG_taskTray",
1224
1290
  "taskTrayCount": "rwa6qG_taskTrayCount",
1291
+ "historyHeader": "rwa6qG_historyHeader",
1292
+ "taskStatus": "rwa6qG_taskStatus",
1293
+ "promptFooter": "rwa6qG_promptFooter",
1225
1294
  "enhanceButton": "rwa6qG_enhanceButton",
1226
- "historyAction": "rwa6qG_historyAction",
1227
- "referenceActions": "rwa6qG_referenceActions",
1228
- "historyActions": "rwa6qG_historyActions",
1229
- "historyPrompt": "rwa6qG_historyPrompt",
1230
- "entryIcon": "rwa6qG_entryIcon",
1231
- "templatesButton": "rwa6qG_templatesButton",
1232
- "modelMenu": "rwa6qG_modelMenu",
1233
- "taskTray": "rwa6qG_taskTray",
1234
- "canvasStateTitle": "rwa6qG_canvasStateTitle",
1295
+ "historyItem": "rwa6qG_historyItem",
1235
1296
  "lightboxNav": "rwa6qG_lightboxNav",
1236
- "history": "rwa6qG_history",
1237
- "galleryFilters": "rwa6qG_galleryFilters",
1238
- "imageCaption": "rwa6qG_imageCaption",
1239
1297
  "galleryCount": "rwa6qG_galleryCount",
1240
- "historyItem": "rwa6qG_historyItem",
1241
- "lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
1298
+ "promptCount": "rwa6qG_promptCount",
1299
+ "optionGrid": "rwa6qG_optionGrid",
1300
+ "historySearch": "rwa6qG_historySearch",
1301
+ "panel": "rwa6qG_panel",
1302
+ "modelMenu": "rwa6qG_modelMenu",
1303
+ "lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
1304
+ "lightboxDownload": "rwa6qG_lightboxDownload",
1242
1305
  "canvasError": "rwa6qG_canvasError",
1243
- "panelTitle": "rwa6qG_panelTitle",
1244
- "hiddenFile": "rwa6qG_hiddenFile",
1306
+ "footer": "rwa6qG_footer",
1307
+ "historyTitle": "rwa6qG_historyTitle",
1308
+ "canvasState": "rwa6qG_canvasState",
1309
+ "imageCaption": "rwa6qG_imageCaption",
1310
+ "dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
1245
1311
  "galleryClear": "rwa6qG_galleryClear",
1246
- "panel": "rwa6qG_panel",
1247
- "galleryTagEditor": "rwa6qG_galleryTagEditor",
1248
- "galleryBadge": "rwa6qG_galleryBadge",
1249
- "lightbox": "rwa6qG_lightbox",
1250
- "galleryFilterDivider": "rwa6qG_galleryFilterDivider",
1251
- "galleryCardFooter": "rwa6qG_galleryCardFooter",
1252
- "download": "rwa6qG_download",
1253
- "historyThumb": "rwa6qG_historyThumb",
1254
- "modeRow": "rwa6qG_modeRow",
1255
- "gallerySort": "rwa6qG_gallerySort",
1256
- "configScroll": "rwa6qG_configScroll",
1257
- "card": "rwa6qG_card",
1258
- "modePill": "rwa6qG_modePill",
1259
- "promptFooter": "rwa6qG_promptFooter",
1260
- "optionGrid": "rwa6qG_optionGrid",
1261
- "modelWrap": "rwa6qG_modelWrap",
1262
- "canvasStateHint": "rwa6qG_canvasStateHint",
1263
- "lightboxCopy": "rwa6qG_lightboxCopy",
1264
- "lightboxIndex": "rwa6qG_lightboxIndex",
1265
- "entry": "rwa6qG_entry",
1266
- "view": "rwa6qG_view",
1312
+ "compareModelChoices": "rwa6qG_compareModelChoices",
1313
+ "galleryTags": "rwa6qG_galleryTags",
1314
+ "galleryBulkButton": "rwa6qG_galleryBulkButton",
1315
+ "referenceActions": "rwa6qG_referenceActions",
1316
+ "galleryFilterNote": "rwa6qG_galleryFilterNote",
1317
+ "spinner": "rwa6qG_spinner",
1318
+ "configGuide": "rwa6qG_configGuide",
1319
+ "galleryImage": "rwa6qG_galleryImage",
1320
+ "gallerySelect": "rwa6qG_gallerySelect",
1321
+ "historyClear": "rwa6qG_historyClear",
1267
1322
  "entryLabel": "rwa6qG_entryLabel",
1268
- "galleryCard": "rwa6qG_galleryCard",
1269
- "imageCard": "rwa6qG_imageCard",
1270
- "paramGroup": "rwa6qG_paramGroup",
1271
- "galleryWorkspace": "rwa6qG_galleryWorkspace",
1272
- "dshImageGenSpin": "rwa6qG_dshImageGenSpin",
1273
1323
  "galleryToolbarActions": "rwa6qG_galleryToolbarActions",
1274
- "generateInner": "rwa6qG_generateInner",
1275
- "galleryFilterHeading": "rwa6qG_galleryFilterHeading",
1276
- "canvasMeta": "rwa6qG_canvasMeta",
1277
- "modelMenuList": "rwa6qG_modelMenuList",
1278
- "lightboxTools": "rwa6qG_lightboxTools",
1279
- "taskTrayToggle": "rwa6qG_taskTrayToggle",
1324
+ "comparisonGrid": "rwa6qG_comparisonGrid",
1325
+ "galleryTagEditor": "rwa6qG_galleryTagEditor",
1326
+ "galleryAdd": "rwa6qG_galleryAdd",
1327
+ "lightboxMeta": "rwa6qG_lightboxMeta",
1328
+ "download": "rwa6qG_download",
1329
+ "updateActions": "rwa6qG_updateActions",
1330
+ "studio": "rwa6qG_studio",
1331
+ "taskRows": "rwa6qG_taskRows",
1332
+ "galleryRatioList": "rwa6qG_galleryRatioList",
1333
+ "bigSpinner": "rwa6qG_bigSpinner",
1280
1334
  "historyMeta": "rwa6qG_historyMeta",
1281
- "galleryFilterNote": "rwa6qG_galleryFilterNote",
1282
- "galleryCardInfo": "rwa6qG_galleryCardInfo",
1335
+ "gallerySelectMode": "rwa6qG_gallerySelectMode",
1283
1336
  "connectionDot": "rwa6qG_connectionDot",
1284
- "taskRow": "rwa6qG_taskRow",
1285
- "updateBanner": "rwa6qG_updateBanner",
1286
- "galleryBulkButton": "rwa6qG_galleryBulkButton",
1287
- "canvas": "rwa6qG_canvas",
1337
+ "modelSelect": "rwa6qG_modelSelect",
1338
+ "imageCard": "rwa6qG_imageCard",
1339
+ "lightboxEdit": "rwa6qG_lightboxEdit",
1288
1340
  "panelHeading": "rwa6qG_panelHeading",
1289
- "spinner": "rwa6qG_spinner",
1290
- "bigSpinner": "rwa6qG_bigSpinner",
1291
- "lightboxStage": "rwa6qG_lightboxStage",
1292
- "galleryFilterCount": "rwa6qG_galleryFilterCount",
1293
- "galleryTagFilterList": "rwa6qG_galleryTagFilterList",
1294
- "connectionStatus": "rwa6qG_connectionStatus",
1295
- "uploadBox": "rwa6qG_uploadBox",
1296
- "historyClear": "rwa6qG_historyClear",
1297
- "canvasBody": "rwa6qG_canvasBody"
1341
+ "referenceImage": "rwa6qG_referenceImage",
1342
+ "reference": "rwa6qG_reference",
1343
+ "canvasStateTitle": "rwa6qG_canvasStateTitle",
1344
+ "modeRow": "rwa6qG_modeRow",
1345
+ "historyInfo": "rwa6qG_historyInfo",
1346
+ "taskTrayClose": "rwa6qG_taskTrayClose",
1347
+ "zoomHint": "rwa6qG_zoomHint",
1348
+ "optionRow": "rwa6qG_optionRow",
1349
+ "updateBanner": "rwa6qG_updateBanner",
1350
+ "entryIcon": "rwa6qG_entryIcon",
1351
+ "view": "rwa6qG_view",
1352
+ "galleryToast": "rwa6qG_galleryToast",
1353
+ "panelTitle": "rwa6qG_panelTitle",
1354
+ "gallerySearch": "rwa6qG_gallerySearch",
1355
+ "canvasMeta": "rwa6qG_canvasMeta",
1356
+ "lightboxCopy": "rwa6qG_lightboxCopy",
1357
+ "lightboxTool": "rwa6qG_lightboxTool"
1298
1358
  };
1299
1359
  //#endregion
1300
1360
  //#region src/client/mount.tsx
@@ -1951,79 +2011,79 @@ window.__ModuleLoader__.load({
1951
2011
  document.head.appendChild(tag);
1952
2012
  }
1953
2013
  var settings_card_module_css_default = {
2014
+ "modelCatalogTools": "zmjoSq_modelCatalogTools",
2015
+ "candidateList": "zmjoSq_candidateList",
2016
+ "modelCatalogTitle": "zmjoSq_modelCatalogTitle",
1954
2017
  "headText": "zmjoSq_headText",
1955
- "sectionTitle": "zmjoSq_sectionTitle",
1956
- "reset": "zmjoSq_reset",
2018
+ "editorTitle": "zmjoSq_editorTitle",
1957
2019
  "customSettingsBody": "zmjoSq_customSettingsBody",
1958
- "channelMeta": "zmjoSq_channelMeta",
1959
- "candidateTitle": "zmjoSq_candidateTitle",
1960
- "channelRow": "zmjoSq_channelRow",
1961
- "linkButton": "zmjoSq_linkButton",
1962
- "sectionHint": "zmjoSq_sectionHint",
1963
2020
  "modelCatalogMeta": "zmjoSq_modelCatalogMeta",
1964
- "detectOk": "zmjoSq_detectOk",
1965
- "chevron": "zmjoSq_chevron",
1966
- "customSettingsSummary": "zmjoSq_customSettingsSummary",
1967
- "modelCatalogTools": "zmjoSq_modelCatalogTools",
1968
- "pending": "zmjoSq_pending",
1969
- "chevronOpen": "zmjoSq_chevronOpen",
1970
- "name": "zmjoSq_name",
2021
+ "description": "zmjoSq_description",
2022
+ "channelRow": "zmjoSq_channelRow",
2023
+ "channelDanger": "zmjoSq_channelDanger",
2024
+ "editorTag": "zmjoSq_editorTag",
2025
+ "input": "zmjoSq_input",
1971
2026
  "modelCatalogHead": "zmjoSq_modelCatalogHead",
1972
- "body": "zmjoSq_body",
2027
+ "pending": "zmjoSq_pending",
2028
+ "modelArrow": "zmjoSq_modelArrow",
2029
+ "save": "zmjoSq_save",
2030
+ "channelSection": "zmjoSq_channelSection",
2031
+ "modelCatalog": "zmjoSq_modelCatalog",
2032
+ "channelHost": "zmjoSq_channelHost",
2033
+ "editorHeader": "zmjoSq_editorHeader",
2034
+ "modelCategorySelect": "zmjoSq_modelCategorySelect",
2035
+ "modelInput": "zmjoSq_modelInput",
2036
+ "channelAdd": "zmjoSq_channelAdd",
1973
2037
  "modelRow": "zmjoSq_modelRow",
1974
- "channelDotReady": "zmjoSq_channelDotReady",
1975
- "channelMain": "zmjoSq_channelMain",
1976
- "candidateList": "zmjoSq_candidateList",
1977
- "select": "zmjoSq_select",
1978
2038
  "field": "zmjoSq_field",
2039
+ "candidateHead": "zmjoSq_candidateHead",
2040
+ "channelEditor": "zmjoSq_channelEditor",
2041
+ "modelBadge": "zmjoSq_modelBadge",
2042
+ "candidateTitle": "zmjoSq_candidateTitle",
2043
+ "channelEmpty": "zmjoSq_channelEmpty",
2044
+ "footer": "zmjoSq_footer",
2045
+ "channelName": "zmjoSq_channelName",
2046
+ "candidatePanel": "zmjoSq_candidatePanel",
1979
2047
  "discard": "zmjoSq_discard",
1980
- "modelCatalogTitle": "zmjoSq_modelCatalogTitle",
1981
- "channelBadge": "zmjoSq_channelBadge",
1982
- "editorTitle": "zmjoSq_editorTitle",
1983
- "candidate": "zmjoSq_candidate",
2048
+ "label": "zmjoSq_label",
2049
+ "channelAddRow": "zmjoSq_channelAddRow",
2050
+ "chevronOpen": "zmjoSq_chevronOpen",
2051
+ "sectionTitle": "zmjoSq_sectionTitle",
2052
+ "failed": "zmjoSq_failed",
2053
+ "reset": "zmjoSq_reset",
2054
+ "editorWrap": "zmjoSq_editorWrap",
2055
+ "customSettingsSummary": "zmjoSq_customSettingsSummary",
2056
+ "card": "zmjoSq_card",
1984
2057
  "candidateId": "zmjoSq_candidateId",
1985
- "customSettings": "zmjoSq_customSettings",
1986
- "modelCategorySelect": "zmjoSq_modelCategorySelect",
1987
- "footer": "zmjoSq_footer",
1988
- "modelCatalog": "zmjoSq_modelCatalog",
1989
- "addModel": "zmjoSq_addModel",
1990
- "modelArrow": "zmjoSq_modelArrow",
1991
- "modelInput": "zmjoSq_modelInput",
1992
- "modelRowRemove": "zmjoSq_modelRowRemove",
1993
- "channelEditor": "zmjoSq_channelEditor",
1994
- "header": "zmjoSq_header",
1995
- "channelList": "zmjoSq_channelList",
1996
- "editorTag": "zmjoSq_editorTag",
2058
+ "channelMeta": "zmjoSq_channelMeta",
2059
+ "sectionHint": "zmjoSq_sectionHint",
2060
+ "body": "zmjoSq_body",
2061
+ "candidateActions": "zmjoSq_candidateActions",
2062
+ "name": "zmjoSq_name",
2063
+ "head": "zmjoSq_head",
2064
+ "modelEmpty": "zmjoSq_modelEmpty",
1997
2065
  "sectionHeader": "zmjoSq_sectionHeader",
1998
- "card": "zmjoSq_card",
1999
- "channelDotWarn": "zmjoSq_channelDotWarn",
2000
- "channelAdd": "zmjoSq_channelAdd",
2001
- "modelRows": "zmjoSq_modelRows",
2002
- "channelSection": "zmjoSq_channelSection",
2066
+ "channelDotReady": "zmjoSq_channelDotReady",
2067
+ "channelList": "zmjoSq_channelList",
2068
+ "channelMain": "zmjoSq_channelMain",
2069
+ "header": "zmjoSq_header",
2070
+ "modelRowRemove": "zmjoSq_modelRowRemove",
2071
+ "addModel": "zmjoSq_addModel",
2072
+ "candidate": "zmjoSq_candidate",
2003
2073
  "candidateLabel": "zmjoSq_candidateLabel",
2004
- "channelHost": "zmjoSq_channelHost",
2005
- "editorWrap": "zmjoSq_editorWrap",
2006
2074
  "readOnly": "zmjoSq_readOnly",
2007
- "description": "zmjoSq_description",
2008
- "deleteConfirmText": "zmjoSq_deleteConfirmText",
2009
- "head": "zmjoSq_head",
2010
- "candidateActions": "zmjoSq_candidateActions",
2011
- "editorFooter": "zmjoSq_editorFooter",
2012
- "channelAddRow": "zmjoSq_channelAddRow",
2013
- "failed": "zmjoSq_failed",
2014
2075
  "link": "zmjoSq_link",
2015
- "channelEmpty": "zmjoSq_channelEmpty",
2016
- "candidatePanel": "zmjoSq_candidatePanel",
2076
+ "deleteConfirmText": "zmjoSq_deleteConfirmText",
2077
+ "channelDotWarn": "zmjoSq_channelDotWarn",
2017
2078
  "channelAction": "zmjoSq_channelAction",
2018
- "input": "zmjoSq_input",
2019
- "label": "zmjoSq_label",
2020
- "editorHeader": "zmjoSq_editorHeader",
2021
- "modelBadge": "zmjoSq_modelBadge",
2022
- "save": "zmjoSq_save",
2023
- "channelName": "zmjoSq_channelName",
2024
- "modelEmpty": "zmjoSq_modelEmpty",
2025
- "candidateHead": "zmjoSq_candidateHead",
2026
- "channelDanger": "zmjoSq_channelDanger"
2079
+ "editorFooter": "zmjoSq_editorFooter",
2080
+ "chevron": "zmjoSq_chevron",
2081
+ "linkButton": "zmjoSq_linkButton",
2082
+ "modelRows": "zmjoSq_modelRows",
2083
+ "channelBadge": "zmjoSq_channelBadge",
2084
+ "select": "zmjoSq_select",
2085
+ "customSettings": "zmjoSq_customSettings",
2086
+ "detectOk": "zmjoSq_detectOk"
2027
2087
  };
2028
2088
  //#endregion
2029
2089
  //#region src/client/SettingsCard.tsx
@@ -2928,17 +2988,17 @@ window.__ModuleLoader__.load({
2928
2988
  document.head.appendChild(tag);
2929
2989
  }
2930
2990
  var audio_toolview_module_css_default = {
2991
+ "message": "_7K1QKa_message",
2992
+ "root": "_7K1QKa_root",
2993
+ "error": "_7K1QKa_error",
2931
2994
  "audio": "_7K1QKa_audio",
2932
2995
  "empty": "_7K1QKa_empty",
2933
2996
  "status": "_7K1QKa_status",
2934
- "icon": "_7K1QKa_icon",
2935
- "root": "_7K1QKa_root",
2936
2997
  "audioRow": "_7K1QKa_audioRow",
2998
+ "download": "_7K1QKa_download",
2999
+ "icon": "_7K1QKa_icon",
2937
3000
  "audios": "_7K1QKa_audios",
2938
- "message": "_7K1QKa_message",
2939
- "header": "_7K1QKa_header",
2940
- "error": "_7K1QKa_error",
2941
- "download": "_7K1QKa_download"
3001
+ "header": "_7K1QKa_header"
2942
3002
  };
2943
3003
  //#endregion
2944
3004
  //#region src/client/audio-toolview.tsx