dsh-audiogen 0.3.3 → 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
@@ -96,7 +96,7 @@ window.__ModuleLoader__.load({
96
96
  "mode.voiceDesign": "音色设计",
97
97
  "prompt.placeholder": "输入文本、音乐/音效描述,或音色设计描述…",
98
98
  "prompt.required": "请输入文本或提示词",
99
- "model.label": "模型 / 音色",
99
+ "model.label": "模型",
100
100
  "voice.label": "音色",
101
101
  "speed.label": "语速",
102
102
  "duration.label": "时长(秒)",
@@ -194,7 +194,7 @@ window.__ModuleLoader__.load({
194
194
  "mode.voiceDesign": "Voice design",
195
195
  "prompt.placeholder": "Text to speak, or a music/SFX/voice-design description…",
196
196
  "prompt.required": "Prompt or text is required",
197
- "model.label": "Model / voice",
197
+ "model.label": "Model",
198
198
  "voice.label": "Voice",
199
199
  "speed.label": "Speed",
200
200
  "duration.label": "Duration (s)",
@@ -542,36 +542,36 @@ window.__ModuleLoader__.load({
542
542
  document.head.appendChild(tag);
543
543
  }
544
544
  var audio_panel_module_css_default = {
545
- "modeRow": "Oo1fpq_modeRow",
546
- "result": "Oo1fpq_result",
547
- "label": "Oo1fpq_label",
548
- "header": "Oo1fpq_header",
549
- "panel": "Oo1fpq_panel",
550
- "title": "Oo1fpq_title",
551
- "textarea": "Oo1fpq_textarea",
552
- "select": "Oo1fpq_select",
553
545
  "history": "Oo1fpq_history",
554
- "historyEmpty": "Oo1fpq_historyEmpty",
555
- "historyTitle": "Oo1fpq_historyTitle",
556
- "advanced": "Oo1fpq_advanced",
557
- "input": "Oo1fpq_input",
558
- "error": "Oo1fpq_error",
546
+ "form": "Oo1fpq_form",
547
+ "layout": "Oo1fpq_layout",
548
+ "textarea": "Oo1fpq_textarea",
549
+ "historyMeta": "Oo1fpq_historyMeta",
550
+ "audioList": "Oo1fpq_audioList",
551
+ "checkbox": "Oo1fpq_checkbox",
552
+ "modeRow": "Oo1fpq_modeRow",
553
+ "download": "Oo1fpq_download",
559
554
  "historyItem": "Oo1fpq_historyItem",
560
- "audio": "Oo1fpq_audio",
561
- "generate": "Oo1fpq_generate",
555
+ "historyAudio": "Oo1fpq_historyAudio",
562
556
  "row": "Oo1fpq_row",
563
- "download": "Oo1fpq_download",
564
- "checkbox": "Oo1fpq_checkbox",
557
+ "advanced": "Oo1fpq_advanced",
558
+ "title": "Oo1fpq_title",
559
+ "result": "Oo1fpq_result",
560
+ "error": "Oo1fpq_error",
565
561
  "historyPrompt": "Oo1fpq_historyPrompt",
566
- "audioList": "Oo1fpq_audioList",
567
- "modeButton": "Oo1fpq_modeButton",
568
- "audioCard": "Oo1fpq_audioCard",
562
+ "historyEmpty": "Oo1fpq_historyEmpty",
569
563
  "empty": "Oo1fpq_empty",
570
- "form": "Oo1fpq_form",
564
+ "input": "Oo1fpq_input",
565
+ "historyTitle": "Oo1fpq_historyTitle",
571
566
  "hint": "Oo1fpq_hint",
572
- "historyMeta": "Oo1fpq_historyMeta",
573
- "historyAudio": "Oo1fpq_historyAudio",
574
- "layout": "Oo1fpq_layout"
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,22 +952,107 @@ window.__ModuleLoader__.load({
912
952
  placeholder: "30"
913
953
  })]
914
954
  }) : null,
915
- mode === "music" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
916
- className: audio_panel_module_css_default.label,
917
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "歌词(纯音乐模式可留空;多段用空行分隔)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
918
- className: audio_panel_module_css_default.textarea,
919
- value: lyrics,
920
- onChange: (event) => setLyrics(event.target.value),
921
- placeholder: "第一段歌词…\n\n第二段歌词…"
922
- })]
923
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
955
+ mode === "sfx" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
924
956
  className: audio_panel_module_css_default.checkbox,
925
957
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
926
958
  type: "checkbox",
927
- checked: instrumental,
928
- onChange: (event) => setInstrumental(event.target.checked)
929
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "纯音乐(无歌词/人声)is_instrumental" })]
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
+ })]
930
974
  })] }) : null,
975
+ mode === "music" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
976
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
977
+ className: audio_panel_module_css_default.label,
978
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "歌词(纯音乐模式可留空;多段用空行分隔)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
979
+ className: audio_panel_module_css_default.textarea,
980
+ value: lyrics,
981
+ onChange: (event) => setLyrics(event.target.value),
982
+ placeholder: "第一段歌词…\n\n第二段歌词…"
983
+ })]
984
+ }),
985
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
986
+ className: audio_panel_module_css_default.checkbox,
987
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
988
+ type: "checkbox",
989
+ checked: instrumental,
990
+ onChange: (event) => setInstrumental(event.target.checked)
991
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "纯音乐(无歌词/人声)is_instrumental" })]
992
+ }),
993
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
994
+ className: audio_panel_module_css_default.row,
995
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
996
+ className: audio_panel_module_css_default.label,
997
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "采样率" }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
998
+ className: audio_panel_module_css_default.select,
999
+ value: sampleRate,
1000
+ onChange: (event) => setSampleRate(event.target.value),
1001
+ children: [
1002
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1003
+ value: "",
1004
+ children: "默认(44100)"
1005
+ }),
1006
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1007
+ value: "16000",
1008
+ children: "16000"
1009
+ }),
1010
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1011
+ value: "24000",
1012
+ children: "24000"
1013
+ }),
1014
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1015
+ value: "32000",
1016
+ children: "32000"
1017
+ }),
1018
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1019
+ value: "44100",
1020
+ children: "44100"
1021
+ })
1022
+ ]
1023
+ })]
1024
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
1025
+ className: audio_panel_module_css_default.label,
1026
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "码率 bps" }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
1027
+ className: audio_panel_module_css_default.select,
1028
+ value: bitrate,
1029
+ onChange: (event) => setBitrate(event.target.value),
1030
+ children: [
1031
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1032
+ value: "",
1033
+ children: "默认(256000)"
1034
+ }),
1035
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1036
+ value: "32000",
1037
+ children: "32000"
1038
+ }),
1039
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1040
+ value: "64000",
1041
+ children: "64000"
1042
+ }),
1043
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1044
+ value: "128000",
1045
+ children: "128000"
1046
+ }),
1047
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
1048
+ value: "256000",
1049
+ children: "256000"
1050
+ })
1051
+ ]
1052
+ })]
1053
+ })]
1054
+ })
1055
+ ] }) : null,
931
1056
  needModel ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
932
1057
  className: audio_panel_module_css_default.label,
933
1058
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: tt("format.label") }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
@@ -1069,167 +1194,167 @@ window.__ModuleLoader__.load({
1069
1194
  document.head.appendChild(tag);
1070
1195
  }
1071
1196
  var panel_module_css_default = {
1072
- "templatesButton": "rwa6qG_templatesButton",
1073
- "historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
1074
- "modePill": "rwa6qG_modePill",
1075
- "gallerySearch": "rwa6qG_gallerySearch",
1076
- "historyList": "rwa6qG_historyList",
1077
- "uploadBox": "rwa6qG_uploadBox",
1078
- "lightbox": "rwa6qG_lightbox",
1079
- "historySearch": "rwa6qG_historySearch",
1197
+ "lightboxTools": "rwa6qG_lightboxTools",
1198
+ "prompt": "rwa6qG_prompt",
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",
1080
1206
  "modelWrap": "rwa6qG_modelWrap",
1081
- "taskTrayClose": "rwa6qG_taskTrayClose",
1207
+ "lightboxActions": "rwa6qG_lightboxActions",
1208
+ "card": "rwa6qG_card",
1209
+ "lightbox": "rwa6qG_lightbox",
1210
+ "historyFilters": "rwa6qG_historyFilters",
1211
+ "canvasHistoryTag": "rwa6qG_canvasHistoryTag",
1082
1212
  "uploadHint": "rwa6qG_uploadHint",
1213
+ "uploadIcon": "rwa6qG_uploadIcon",
1214
+ "modelMenuList": "rwa6qG_modelMenuList",
1215
+ "galleryToolbar": "rwa6qG_galleryToolbar",
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",
1227
+ "optionPill": "rwa6qG_optionPill",
1228
+ "comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
1229
+ "paramHint": "rwa6qG_paramHint",
1230
+ "compareToggle": "rwa6qG_compareToggle",
1231
+ "galleryImageButton": "rwa6qG_galleryImageButton",
1232
+ "canvas": "rwa6qG_canvas",
1233
+ "lightboxClose": "rwa6qG_lightboxClose",
1234
+ "galleryRemove": "rwa6qG_galleryRemove",
1083
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",
1247
+ "galleryRatio": "rwa6qG_galleryRatio",
1084
1248
  "generateButton": "rwa6qG_generateButton",
1249
+ "galleryCardFooter": "rwa6qG_galleryCardFooter",
1250
+ "historyMain": "rwa6qG_historyMain",
1251
+ "gallerySelectionClear": "rwa6qG_gallerySelectionClear",
1252
+ "templatesButton": "rwa6qG_templatesButton",
1085
1253
  "comparisonImageButton": "rwa6qG_comparisonImageButton",
1086
- "galleryWorkspace": "rwa6qG_galleryWorkspace",
1087
- "image": "rwa6qG_image",
1088
- "galleryFilterDivider": "rwa6qG_galleryFilterDivider",
1089
- "panelHeading": "rwa6qG_panelHeading",
1090
- "historyAction": "rwa6qG_historyAction",
1091
- "lightboxActions": "rwa6qG_lightboxActions",
1254
+ "galleryAvatar": "rwa6qG_galleryAvatar",
1255
+ "panelHeader": "rwa6qG_panelHeader",
1256
+ "githubLink": "rwa6qG_githubLink",
1257
+ "lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
1258
+ "comparisonBoard": "rwa6qG_comparisonBoard",
1259
+ "galleryTagEdit": "rwa6qG_galleryTagEdit",
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",
1092
1271
  "canvasStateHint": "rwa6qG_canvasStateHint",
1093
- "galleryCardFooter": "rwa6qG_galleryCardFooter",
1094
- "paramLabel": "rwa6qG_paramLabel",
1095
- "historyClear": "rwa6qG_historyClear",
1272
+ "taskRow": "rwa6qG_taskRow",
1273
+ "modePill": "rwa6qG_modePill",
1274
+ "grid": "rwa6qG_grid",
1275
+ "paramGroup": "rwa6qG_paramGroup",
1096
1276
  "hiddenFile": "rwa6qG_hiddenFile",
1097
- "canvasStateTitle": "rwa6qG_canvasStateTitle",
1098
- "canvasError": "rwa6qG_canvasError",
1099
- "galleryRatioList": "rwa6qG_galleryRatioList",
1100
- "download": "rwa6qG_download",
1101
- "paramHint": "rwa6qG_paramHint",
1102
- "compareControl": "rwa6qG_compareControl",
1277
+ "galleryFilterCount": "rwa6qG_galleryFilterCount",
1103
1278
  "connectionStatus": "rwa6qG_connectionStatus",
1104
- "promptCount": "rwa6qG_promptCount",
1105
- "taskTrayHeader": "rwa6qG_taskTrayHeader",
1106
- "historyActions": "rwa6qG_historyActions",
1107
- "canvasBody": "rwa6qG_canvasBody",
1108
- "historyMain": "rwa6qG_historyMain",
1109
- "lightboxStage": "rwa6qG_lightboxStage",
1110
- "imageCaption": "rwa6qG_imageCaption",
1279
+ "historyPrompt": "rwa6qG_historyPrompt",
1111
1280
  "gallerySelectionBar": "rwa6qG_gallerySelectionBar",
1112
- "historyHeader": "rwa6qG_historyHeader",
1113
- "modelMenuItem": "rwa6qG_modelMenuItem",
1114
- "comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
1281
+ "galleryViewToggle": "rwa6qG_galleryViewToggle",
1282
+ "updateRelease": "rwa6qG_updateRelease",
1283
+ "configGuideBody": "rwa6qG_configGuideBody",
1284
+ "historyEmpty": "rwa6qG_historyEmpty",
1285
+ "galleryFilterDivider": "rwa6qG_galleryFilterDivider",
1286
+ "galleryTagFilter": "rwa6qG_galleryTagFilter",
1287
+ "galleryBadge": "rwa6qG_galleryBadge",
1115
1288
  "modelLabel": "rwa6qG_modelLabel",
1116
- "canvasState": "rwa6qG_canvasState",
1117
- "galleryMasonry": "rwa6qG_galleryMasonry",
1118
- "lightboxCaption": "rwa6qG_lightboxCaption",
1119
- "lightboxNav": "rwa6qG_lightboxNav",
1120
- "connectionDot": "rwa6qG_connectionDot",
1121
- "galleryHeading": "rwa6qG_galleryHeading",
1122
- "galleryTagEdit": "rwa6qG_galleryTagEdit",
1123
- "taskTrayChevron": "rwa6qG_taskTrayChevron",
1124
- "updateText": "rwa6qG_updateText",
1125
- "comparisonFullscreen": "rwa6qG_comparisonFullscreen",
1126
- "reference": "rwa6qG_reference",
1289
+ "taskTray": "rwa6qG_taskTray",
1290
+ "taskTrayCount": "rwa6qG_taskTrayCount",
1291
+ "historyHeader": "rwa6qG_historyHeader",
1292
+ "taskStatus": "rwa6qG_taskStatus",
1293
+ "promptFooter": "rwa6qG_promptFooter",
1294
+ "enhanceButton": "rwa6qG_enhanceButton",
1127
1295
  "historyItem": "rwa6qG_historyItem",
1128
- "galleryImage": "rwa6qG_galleryImage",
1129
- "galleryCard": "rwa6qG_galleryCard",
1296
+ "lightboxNav": "rwa6qG_lightboxNav",
1297
+ "galleryCount": "rwa6qG_galleryCount",
1298
+ "promptCount": "rwa6qG_promptCount",
1299
+ "optionGrid": "rwa6qG_optionGrid",
1300
+ "historySearch": "rwa6qG_historySearch",
1301
+ "panel": "rwa6qG_panel",
1302
+ "modelMenu": "rwa6qG_modelMenu",
1130
1303
  "lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
1131
- "canvas": "rwa6qG_canvas",
1132
- "lightboxImage": "rwa6qG_lightboxImage",
1133
- "galleryFilters": "rwa6qG_galleryFilters",
1134
- "lightboxTools": "rwa6qG_lightboxTools",
1135
- "generateInner": "rwa6qG_generateInner",
1136
- "historyFilters": "rwa6qG_historyFilters",
1304
+ "lightboxDownload": "rwa6qG_lightboxDownload",
1305
+ "canvasError": "rwa6qG_canvasError",
1306
+ "footer": "rwa6qG_footer",
1137
1307
  "historyTitle": "rwa6qG_historyTitle",
1138
- "lightboxIndex": "rwa6qG_lightboxIndex",
1139
- "galleryTagFilterList": "rwa6qG_galleryTagFilterList",
1140
- "galleryFilterNote": "rwa6qG_galleryFilterNote",
1141
- "gallerySelect": "rwa6qG_gallerySelect",
1142
- "spinner": "rwa6qG_spinner",
1143
- "entryLabel": "rwa6qG_entryLabel",
1144
- "galleryTagInput": "rwa6qG_galleryTagInput",
1145
- "lightboxTool": "rwa6qG_lightboxTool",
1146
- "grid": "rwa6qG_grid",
1147
- "galleryToolbarActions": "rwa6qG_galleryToolbarActions",
1148
- "modelMenuList": "rwa6qG_modelMenuList",
1149
- "dshImageGenSpin": "rwa6qG_dshImageGenSpin",
1150
- "gallerySort": "rwa6qG_gallerySort",
1151
- "entry": "rwa6qG_entry",
1152
- "galleryFilter": "rwa6qG_galleryFilter",
1153
- "view": "rwa6qG_view",
1308
+ "canvasState": "rwa6qG_canvasState",
1309
+ "imageCaption": "rwa6qG_imageCaption",
1310
+ "dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
1154
1311
  "galleryClear": "rwa6qG_galleryClear",
1155
1312
  "compareModelChoices": "rwa6qG_compareModelChoices",
1156
- "comparisonBoard": "rwa6qG_comparisonBoard",
1157
1313
  "galleryTags": "rwa6qG_galleryTags",
1158
1314
  "galleryBulkButton": "rwa6qG_galleryBulkButton",
1159
- "historyInfo": "rwa6qG_historyInfo",
1160
- "modelMenu": "rwa6qG_modelMenu",
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",
1322
+ "entryLabel": "rwa6qG_entryLabel",
1323
+ "galleryToolbarActions": "rwa6qG_galleryToolbarActions",
1324
+ "comparisonGrid": "rwa6qG_comparisonGrid",
1325
+ "galleryTagEditor": "rwa6qG_galleryTagEditor",
1161
1326
  "galleryAdd": "rwa6qG_galleryAdd",
1162
- "galleryToolbar": "rwa6qG_galleryToolbar",
1163
- "lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
1164
- "optionRow": "rwa6qG_optionRow",
1165
- "taskStatus": "rwa6qG_taskStatus",
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",
1334
+ "historyMeta": "rwa6qG_historyMeta",
1335
+ "gallerySelectMode": "rwa6qG_gallerySelectMode",
1336
+ "connectionDot": "rwa6qG_connectionDot",
1337
+ "modelSelect": "rwa6qG_modelSelect",
1166
1338
  "imageCard": "rwa6qG_imageCard",
1167
- "lightboxFigure": "rwa6qG_lightboxFigure",
1168
- "lightboxCopy": "rwa6qG_lightboxCopy",
1339
+ "lightboxEdit": "rwa6qG_lightboxEdit",
1340
+ "panelHeading": "rwa6qG_panelHeading",
1169
1341
  "referenceImage": "rwa6qG_referenceImage",
1170
- "updateRelease": "rwa6qG_updateRelease",
1171
- "panel": "rwa6qG_panel",
1172
- "historyPrompt": "rwa6qG_historyPrompt",
1173
- "lightboxDownload": "rwa6qG_lightboxDownload",
1174
- "modelSelect": "rwa6qG_modelSelect",
1175
- "configGuide": "rwa6qG_configGuide",
1176
- "taskTray": "rwa6qG_taskTray",
1177
- "taskRow": "rwa6qG_taskRow",
1178
- "historyThumb": "rwa6qG_historyThumb",
1179
- "gallerySelectMode": "rwa6qG_gallerySelectMode",
1342
+ "reference": "rwa6qG_reference",
1343
+ "canvasStateTitle": "rwa6qG_canvasStateTitle",
1180
1344
  "modeRow": "rwa6qG_modeRow",
1181
- "entryIcon": "rwa6qG_entryIcon",
1182
- "lightboxMeta": "rwa6qG_lightboxMeta",
1183
- "config": "rwa6qG_config",
1184
- "uploadIcon": "rwa6qG_uploadIcon",
1185
- "galleryViewToggle": "rwa6qG_galleryViewToggle",
1186
- "galleryAvatar": "rwa6qG_galleryAvatar",
1187
- "taskTrayCount": "rwa6qG_taskTrayCount",
1188
- "comparisonGrid": "rwa6qG_comparisonGrid",
1189
- "card": "rwa6qG_card",
1345
+ "historyInfo": "rwa6qG_historyInfo",
1346
+ "taskTrayClose": "rwa6qG_taskTrayClose",
1347
+ "zoomHint": "rwa6qG_zoomHint",
1348
+ "optionRow": "rwa6qG_optionRow",
1190
1349
  "updateBanner": "rwa6qG_updateBanner",
1191
- "galleryBadge": "rwa6qG_galleryBadge",
1192
- "enhanceButton": "rwa6qG_enhanceButton",
1193
- "galleryRemove": "rwa6qG_galleryRemove",
1194
- "configScroll": "rwa6qG_configScroll",
1195
- "panelHeader": "rwa6qG_panelHeader",
1196
- "taskRows": "rwa6qG_taskRows",
1197
- "galleryCardInfo": "rwa6qG_galleryCardInfo",
1198
- "galleryCount": "rwa6qG_galleryCount",
1199
- "updateActions": "rwa6qG_updateActions",
1350
+ "entryIcon": "rwa6qG_entryIcon",
1351
+ "view": "rwa6qG_view",
1200
1352
  "galleryToast": "rwa6qG_galleryToast",
1201
- "paramGroup": "rwa6qG_paramGroup",
1202
- "configGuideBody": "rwa6qG_configGuideBody",
1203
- "optionPill": "rwa6qG_optionPill",
1204
- "footer": "rwa6qG_footer",
1205
- "galleryTagFilter": "rwa6qG_galleryTagFilter",
1206
- "referenceActions": "rwa6qG_referenceActions",
1207
- "historyEmpty": "rwa6qG_historyEmpty",
1208
- "compareToggle": "rwa6qG_compareToggle",
1209
- "zoomHint": "rwa6qG_zoomHint",
1210
- "taskPrompt": "rwa6qG_taskPrompt",
1211
- "historyMeta": "rwa6qG_historyMeta",
1212
- "history": "rwa6qG_history",
1213
- "canvasMeta": "rwa6qG_canvasMeta",
1214
- "lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
1215
- "dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
1216
- "gallerySelectionClear": "rwa6qG_gallerySelectionClear",
1217
- "promptFooter": "rwa6qG_promptFooter",
1218
- "optionGrid": "rwa6qG_optionGrid",
1219
- "bigSpinner": "rwa6qG_bigSpinner",
1220
- "galleryFilterHeading": "rwa6qG_galleryFilterHeading",
1221
- "githubLink": "rwa6qG_githubLink",
1222
- "studio": "rwa6qG_studio",
1223
- "lightboxEdit": "rwa6qG_lightboxEdit",
1224
- "galleryRatio": "rwa6qG_galleryRatio",
1225
- "lightboxClose": "rwa6qG_lightboxClose",
1226
- "galleryImageButton": "rwa6qG_galleryImageButton",
1227
- "prompt": "rwa6qG_prompt",
1228
- "canvasHistoryTag": "rwa6qG_canvasHistoryTag",
1229
1353
  "panelTitle": "rwa6qG_panelTitle",
1230
- "galleryTagEditor": "rwa6qG_galleryTagEditor",
1231
- "galleryFilterCount": "rwa6qG_galleryFilterCount",
1232
- "taskTrayToggle": "rwa6qG_taskTrayToggle"
1354
+ "gallerySearch": "rwa6qG_gallerySearch",
1355
+ "canvasMeta": "rwa6qG_canvasMeta",
1356
+ "lightboxCopy": "rwa6qG_lightboxCopy",
1357
+ "lightboxTool": "rwa6qG_lightboxTool"
1233
1358
  };
1234
1359
  //#endregion
1235
1360
  //#region src/client/mount.tsx
@@ -1886,79 +2011,79 @@ window.__ModuleLoader__.load({
1886
2011
  document.head.appendChild(tag);
1887
2012
  }
1888
2013
  var settings_card_module_css_default = {
1889
- "modelArrow": "zmjoSq_modelArrow",
1890
- "editorTag": "zmjoSq_editorTag",
1891
- "deleteConfirmText": "zmjoSq_deleteConfirmText",
2014
+ "modelCatalogTools": "zmjoSq_modelCatalogTools",
1892
2015
  "candidateList": "zmjoSq_candidateList",
1893
- "failed": "zmjoSq_failed",
1894
- "sectionHeader": "zmjoSq_sectionHeader",
1895
- "modelInput": "zmjoSq_modelInput",
1896
- "chevron": "zmjoSq_chevron",
1897
- "channelAction": "zmjoSq_channelAction",
2016
+ "modelCatalogTitle": "zmjoSq_modelCatalogTitle",
2017
+ "headText": "zmjoSq_headText",
2018
+ "editorTitle": "zmjoSq_editorTitle",
2019
+ "customSettingsBody": "zmjoSq_customSettingsBody",
2020
+ "modelCatalogMeta": "zmjoSq_modelCatalogMeta",
2021
+ "description": "zmjoSq_description",
2022
+ "channelRow": "zmjoSq_channelRow",
1898
2023
  "channelDanger": "zmjoSq_channelDanger",
1899
- "channelDotWarn": "zmjoSq_channelDotWarn",
1900
- "channelMain": "zmjoSq_channelMain",
1901
- "channelAdd": "zmjoSq_channelAdd",
1902
- "editorHeader": "zmjoSq_editorHeader",
1903
- "candidateId": "zmjoSq_candidateId",
1904
- "customSettings": "zmjoSq_customSettings",
1905
- "editorFooter": "zmjoSq_editorFooter",
2024
+ "editorTag": "zmjoSq_editorTag",
2025
+ "input": "zmjoSq_input",
2026
+ "modelCatalogHead": "zmjoSq_modelCatalogHead",
2027
+ "pending": "zmjoSq_pending",
2028
+ "modelArrow": "zmjoSq_modelArrow",
1906
2029
  "save": "zmjoSq_save",
2030
+ "channelSection": "zmjoSq_channelSection",
2031
+ "modelCatalog": "zmjoSq_modelCatalog",
1907
2032
  "channelHost": "zmjoSq_channelHost",
1908
- "card": "zmjoSq_card",
1909
- "editorTitle": "zmjoSq_editorTitle",
1910
- "pending": "zmjoSq_pending",
1911
- "header": "zmjoSq_header",
1912
- "modelRowRemove": "zmjoSq_modelRowRemove",
1913
- "select": "zmjoSq_select",
2033
+ "editorHeader": "zmjoSq_editorHeader",
1914
2034
  "modelCategorySelect": "zmjoSq_modelCategorySelect",
1915
- "label": "zmjoSq_label",
1916
- "channelRow": "zmjoSq_channelRow",
1917
- "link": "zmjoSq_link",
1918
- "channelAddRow": "zmjoSq_channelAddRow",
1919
- "footer": "zmjoSq_footer",
1920
- "modelCatalogHead": "zmjoSq_modelCatalogHead",
1921
- "modelEmpty": "zmjoSq_modelEmpty",
2035
+ "modelInput": "zmjoSq_modelInput",
2036
+ "channelAdd": "zmjoSq_channelAdd",
2037
+ "modelRow": "zmjoSq_modelRow",
2038
+ "field": "zmjoSq_field",
2039
+ "candidateHead": "zmjoSq_candidateHead",
2040
+ "channelEditor": "zmjoSq_channelEditor",
1922
2041
  "modelBadge": "zmjoSq_modelBadge",
2042
+ "candidateTitle": "zmjoSq_candidateTitle",
2043
+ "channelEmpty": "zmjoSq_channelEmpty",
2044
+ "footer": "zmjoSq_footer",
1923
2045
  "channelName": "zmjoSq_channelName",
1924
- "channelDotReady": "zmjoSq_channelDotReady",
1925
- "input": "zmjoSq_input",
1926
2046
  "candidatePanel": "zmjoSq_candidatePanel",
1927
- "channelEditor": "zmjoSq_channelEditor",
1928
- "body": "zmjoSq_body",
1929
- "modelCatalogTitle": "zmjoSq_modelCatalogTitle",
2047
+ "discard": "zmjoSq_discard",
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",
2057
+ "candidateId": "zmjoSq_candidateId",
2058
+ "channelMeta": "zmjoSq_channelMeta",
1930
2059
  "sectionHint": "zmjoSq_sectionHint",
1931
- "addModel": "zmjoSq_addModel",
1932
- "channelSection": "zmjoSq_channelSection",
1933
- "detectOk": "zmjoSq_detectOk",
2060
+ "body": "zmjoSq_body",
2061
+ "candidateActions": "zmjoSq_candidateActions",
2062
+ "name": "zmjoSq_name",
1934
2063
  "head": "zmjoSq_head",
1935
- "modelRows": "zmjoSq_modelRows",
1936
- "channelBadge": "zmjoSq_channelBadge",
2064
+ "modelEmpty": "zmjoSq_modelEmpty",
2065
+ "sectionHeader": "zmjoSq_sectionHeader",
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",
1937
2073
  "candidateLabel": "zmjoSq_candidateLabel",
1938
2074
  "readOnly": "zmjoSq_readOnly",
1939
- "candidate": "zmjoSq_candidate",
1940
- "candidateActions": "zmjoSq_candidateActions",
1941
- "channelMeta": "zmjoSq_channelMeta",
1942
- "modelCatalogMeta": "zmjoSq_modelCatalogMeta",
1943
- "customSettingsSummary": "zmjoSq_customSettingsSummary",
1944
- "field": "zmjoSq_field",
1945
- "sectionTitle": "zmjoSq_sectionTitle",
1946
- "channelEmpty": "zmjoSq_channelEmpty",
1947
- "editorWrap": "zmjoSq_editorWrap",
1948
- "candidateHead": "zmjoSq_candidateHead",
1949
- "modelCatalog": "zmjoSq_modelCatalog",
1950
- "candidateTitle": "zmjoSq_candidateTitle",
2075
+ "link": "zmjoSq_link",
2076
+ "deleteConfirmText": "zmjoSq_deleteConfirmText",
2077
+ "channelDotWarn": "zmjoSq_channelDotWarn",
2078
+ "channelAction": "zmjoSq_channelAction",
2079
+ "editorFooter": "zmjoSq_editorFooter",
2080
+ "chevron": "zmjoSq_chevron",
1951
2081
  "linkButton": "zmjoSq_linkButton",
1952
- "channelList": "zmjoSq_channelList",
1953
- "reset": "zmjoSq_reset",
1954
- "modelCatalogTools": "zmjoSq_modelCatalogTools",
1955
- "discard": "zmjoSq_discard",
1956
- "chevronOpen": "zmjoSq_chevronOpen",
1957
- "description": "zmjoSq_description",
1958
- "name": "zmjoSq_name",
1959
- "customSettingsBody": "zmjoSq_customSettingsBody",
1960
- "headText": "zmjoSq_headText",
1961
- "modelRow": "zmjoSq_modelRow"
2082
+ "modelRows": "zmjoSq_modelRows",
2083
+ "channelBadge": "zmjoSq_channelBadge",
2084
+ "select": "zmjoSq_select",
2085
+ "customSettings": "zmjoSq_customSettings",
2086
+ "detectOk": "zmjoSq_detectOk"
1962
2087
  };
1963
2088
  //#endregion
1964
2089
  //#region src/client/SettingsCard.tsx
@@ -2863,17 +2988,17 @@ window.__ModuleLoader__.load({
2863
2988
  document.head.appendChild(tag);
2864
2989
  }
2865
2990
  var audio_toolview_module_css_default = {
2866
- "audioRow": "_7K1QKa_audioRow",
2867
- "status": "_7K1QKa_status",
2868
- "audio": "_7K1QKa_audio",
2869
2991
  "message": "_7K1QKa_message",
2870
- "download": "_7K1QKa_download",
2871
- "audios": "_7K1QKa_audios",
2992
+ "root": "_7K1QKa_root",
2872
2993
  "error": "_7K1QKa_error",
2994
+ "audio": "_7K1QKa_audio",
2995
+ "empty": "_7K1QKa_empty",
2996
+ "status": "_7K1QKa_status",
2997
+ "audioRow": "_7K1QKa_audioRow",
2998
+ "download": "_7K1QKa_download",
2873
2999
  "icon": "_7K1QKa_icon",
2874
- "root": "_7K1QKa_root",
2875
- "header": "_7K1QKa_header",
2876
- "empty": "_7K1QKa_empty"
3000
+ "audios": "_7K1QKa_audios",
3001
+ "header": "_7K1QKa_header"
2877
3002
  };
2878
3003
  //#endregion
2879
3004
  //#region src/client/audio-toolview.tsx