dsh-audiogen 0.3.2 → 0.3.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/lib/client.js +248 -229
- package/lib/client.js.map +1 -1
- package/lib/index.js +38 -4
- package/package.json +1 -1
- package/skills/music/SKILL.md +30 -7
- package/src/agent-audio-tools.ts +5 -1
- package/src/audio-engine.ts +20 -4
- package/src/client/AudioGenPanel.tsx +23 -2
- package/src/protocol.ts +5 -1
- package/src/routes.ts +2 -0
package/lib/client.js
CHANGED
|
@@ -542,36 +542,36 @@ window.__ModuleLoader__.load({
|
|
|
542
542
|
document.head.appendChild(tag);
|
|
543
543
|
}
|
|
544
544
|
var audio_panel_module_css_default = {
|
|
545
|
-
"
|
|
546
|
-
"hint": "Oo1fpq_hint",
|
|
547
|
-
"historyEmpty": "Oo1fpq_historyEmpty",
|
|
548
|
-
"row": "Oo1fpq_row",
|
|
549
|
-
"label": "Oo1fpq_label",
|
|
550
|
-
"layout": "Oo1fpq_layout",
|
|
551
|
-
"textarea": "Oo1fpq_textarea",
|
|
545
|
+
"modeRow": "Oo1fpq_modeRow",
|
|
552
546
|
"result": "Oo1fpq_result",
|
|
553
|
-
"
|
|
554
|
-
"historyTitle": "Oo1fpq_historyTitle",
|
|
555
|
-
"download": "Oo1fpq_download",
|
|
556
|
-
"checkbox": "Oo1fpq_checkbox",
|
|
547
|
+
"label": "Oo1fpq_label",
|
|
557
548
|
"header": "Oo1fpq_header",
|
|
558
|
-
"
|
|
559
|
-
"generate": "Oo1fpq_generate",
|
|
549
|
+
"panel": "Oo1fpq_panel",
|
|
560
550
|
"title": "Oo1fpq_title",
|
|
561
|
-
"
|
|
562
|
-
"modeRow": "Oo1fpq_modeRow",
|
|
551
|
+
"textarea": "Oo1fpq_textarea",
|
|
563
552
|
"select": "Oo1fpq_select",
|
|
564
|
-
"
|
|
565
|
-
"
|
|
553
|
+
"history": "Oo1fpq_history",
|
|
554
|
+
"historyEmpty": "Oo1fpq_historyEmpty",
|
|
555
|
+
"historyTitle": "Oo1fpq_historyTitle",
|
|
556
|
+
"advanced": "Oo1fpq_advanced",
|
|
557
|
+
"input": "Oo1fpq_input",
|
|
566
558
|
"error": "Oo1fpq_error",
|
|
567
|
-
"
|
|
568
|
-
"
|
|
559
|
+
"historyItem": "Oo1fpq_historyItem",
|
|
560
|
+
"audio": "Oo1fpq_audio",
|
|
561
|
+
"generate": "Oo1fpq_generate",
|
|
562
|
+
"row": "Oo1fpq_row",
|
|
563
|
+
"download": "Oo1fpq_download",
|
|
564
|
+
"checkbox": "Oo1fpq_checkbox",
|
|
565
|
+
"historyPrompt": "Oo1fpq_historyPrompt",
|
|
566
|
+
"audioList": "Oo1fpq_audioList",
|
|
569
567
|
"modeButton": "Oo1fpq_modeButton",
|
|
570
|
-
"advanced": "Oo1fpq_advanced",
|
|
571
568
|
"audioCard": "Oo1fpq_audioCard",
|
|
572
|
-
"
|
|
569
|
+
"empty": "Oo1fpq_empty",
|
|
573
570
|
"form": "Oo1fpq_form",
|
|
574
|
-
"
|
|
571
|
+
"hint": "Oo1fpq_hint",
|
|
572
|
+
"historyMeta": "Oo1fpq_historyMeta",
|
|
573
|
+
"historyAudio": "Oo1fpq_historyAudio",
|
|
574
|
+
"layout": "Oo1fpq_layout"
|
|
575
575
|
};
|
|
576
576
|
//#endregion
|
|
577
577
|
//#region src/client/AudioGenPanel.tsx
|
|
@@ -627,6 +627,8 @@ window.__ModuleLoader__.load({
|
|
|
627
627
|
const [voice, setVoice] = (0, react.useState)("");
|
|
628
628
|
const [speed, setSpeed] = (0, react.useState)("");
|
|
629
629
|
const [duration, setDuration] = (0, react.useState)("");
|
|
630
|
+
const [lyrics, setLyrics] = (0, react.useState)("");
|
|
631
|
+
const [instrumental, setInstrumental] = (0, react.useState)(false);
|
|
630
632
|
const [format, setFormat] = (0, react.useState)("mp3");
|
|
631
633
|
const [emotion, setEmotion] = (0, react.useState)("");
|
|
632
634
|
const [vol, setVol] = (0, react.useState)("");
|
|
@@ -667,6 +669,8 @@ window.__ModuleLoader__.load({
|
|
|
667
669
|
...voice.trim() !== "" ? { voice: voice.trim() } : {},
|
|
668
670
|
...speed.trim() !== "" ? { speed: Number(speed) } : {},
|
|
669
671
|
...duration.trim() !== "" ? { duration: Number(duration) } : {},
|
|
672
|
+
...lyrics.trim() !== "" ? { lyrics: lyrics.trim() } : {},
|
|
673
|
+
...instrumental ? { isInstrumental: true } : {},
|
|
670
674
|
...format.trim() !== "" ? { format: format.trim() } : {},
|
|
671
675
|
...emotion.trim() !== "" ? { emotion: emotion.trim() } : {},
|
|
672
676
|
...vol.trim() !== "" ? { vol: Number(vol) } : {},
|
|
@@ -908,6 +912,22 @@ window.__ModuleLoader__.load({
|
|
|
908
912
|
placeholder: "30"
|
|
909
913
|
})]
|
|
910
914
|
}) : 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", {
|
|
924
|
+
className: audio_panel_module_css_default.checkbox,
|
|
925
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
926
|
+
type: "checkbox",
|
|
927
|
+
checked: instrumental,
|
|
928
|
+
onChange: (event) => setInstrumental(event.target.checked)
|
|
929
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "纯音乐(无歌词/人声)is_instrumental" })]
|
|
930
|
+
})] }) : null,
|
|
911
931
|
needModel ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
912
932
|
className: audio_panel_module_css_default.label,
|
|
913
933
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: tt("format.label") }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
@@ -923,14 +943,13 @@ window.__ModuleLoader__.load({
|
|
|
923
943
|
value: "wav",
|
|
924
944
|
children: "wav"
|
|
925
945
|
}),
|
|
926
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
946
|
+
mode === "tts" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
927
947
|
value: "flac",
|
|
928
948
|
children: "flac"
|
|
929
|
-
}),
|
|
930
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
949
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
931
950
|
value: "ogg",
|
|
932
951
|
children: "ogg"
|
|
933
|
-
}),
|
|
952
|
+
})] }) : null,
|
|
934
953
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
935
954
|
value: "pcm",
|
|
936
955
|
children: "pcm"
|
|
@@ -1050,167 +1069,167 @@ window.__ModuleLoader__.load({
|
|
|
1050
1069
|
document.head.appendChild(tag);
|
|
1051
1070
|
}
|
|
1052
1071
|
var panel_module_css_default = {
|
|
1053
|
-
"
|
|
1054
|
-
"generateButton": "rwa6qG_generateButton",
|
|
1055
|
-
"galleryImage": "rwa6qG_galleryImage",
|
|
1056
|
-
"entryIcon": "rwa6qG_entryIcon",
|
|
1057
|
-
"historyHeader": "rwa6qG_historyHeader",
|
|
1058
|
-
"gallerySelect": "rwa6qG_gallerySelect",
|
|
1072
|
+
"templatesButton": "rwa6qG_templatesButton",
|
|
1059
1073
|
"historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
|
|
1060
|
-
"
|
|
1061
|
-
"taskStatus": "rwa6qG_taskStatus",
|
|
1062
|
-
"configScroll": "rwa6qG_configScroll",
|
|
1063
|
-
"referenceActions": "rwa6qG_referenceActions",
|
|
1064
|
-
"galleryBulkButton": "rwa6qG_galleryBulkButton",
|
|
1065
|
-
"modelMenu": "rwa6qG_modelMenu",
|
|
1066
|
-
"lightboxIndex": "rwa6qG_lightboxIndex",
|
|
1067
|
-
"lightboxTools": "rwa6qG_lightboxTools",
|
|
1068
|
-
"updateActions": "rwa6qG_updateActions",
|
|
1069
|
-
"canvas": "rwa6qG_canvas",
|
|
1070
|
-
"galleryTagFilter": "rwa6qG_galleryTagFilter",
|
|
1071
|
-
"galleryMasonry": "rwa6qG_galleryMasonry",
|
|
1074
|
+
"modePill": "rwa6qG_modePill",
|
|
1072
1075
|
"gallerySearch": "rwa6qG_gallerySearch",
|
|
1073
|
-
"
|
|
1074
|
-
"
|
|
1075
|
-
"
|
|
1076
|
-
"lightboxActions": "rwa6qG_lightboxActions",
|
|
1077
|
-
"lightboxCopy": "rwa6qG_lightboxCopy",
|
|
1078
|
-
"studio": "rwa6qG_studio",
|
|
1079
|
-
"galleryClear": "rwa6qG_galleryClear",
|
|
1080
|
-
"uploadHint": "rwa6qG_uploadHint",
|
|
1081
|
-
"modelSelect": "rwa6qG_modelSelect",
|
|
1076
|
+
"historyList": "rwa6qG_historyList",
|
|
1077
|
+
"uploadBox": "rwa6qG_uploadBox",
|
|
1078
|
+
"lightbox": "rwa6qG_lightbox",
|
|
1082
1079
|
"historySearch": "rwa6qG_historySearch",
|
|
1083
|
-
"configGuide": "rwa6qG_configGuide",
|
|
1084
|
-
"paramGroup": "rwa6qG_paramGroup",
|
|
1085
|
-
"historyThumb": "rwa6qG_historyThumb",
|
|
1086
|
-
"uploadIcon": "rwa6qG_uploadIcon",
|
|
1087
|
-
"lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
|
|
1088
|
-
"galleryFilterCount": "rwa6qG_galleryFilterCount",
|
|
1089
|
-
"modeRow": "rwa6qG_modeRow",
|
|
1090
1080
|
"modelWrap": "rwa6qG_modelWrap",
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1094
|
-
"
|
|
1095
|
-
"
|
|
1096
|
-
"
|
|
1097
|
-
"
|
|
1081
|
+
"taskTrayClose": "rwa6qG_taskTrayClose",
|
|
1082
|
+
"uploadHint": "rwa6qG_uploadHint",
|
|
1083
|
+
"canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
|
|
1084
|
+
"generateButton": "rwa6qG_generateButton",
|
|
1085
|
+
"comparisonImageButton": "rwa6qG_comparisonImageButton",
|
|
1086
|
+
"galleryWorkspace": "rwa6qG_galleryWorkspace",
|
|
1087
|
+
"image": "rwa6qG_image",
|
|
1088
|
+
"galleryFilterDivider": "rwa6qG_galleryFilterDivider",
|
|
1098
1089
|
"panelHeading": "rwa6qG_panelHeading",
|
|
1090
|
+
"historyAction": "rwa6qG_historyAction",
|
|
1091
|
+
"lightboxActions": "rwa6qG_lightboxActions",
|
|
1092
|
+
"canvasStateHint": "rwa6qG_canvasStateHint",
|
|
1093
|
+
"galleryCardFooter": "rwa6qG_galleryCardFooter",
|
|
1094
|
+
"paramLabel": "rwa6qG_paramLabel",
|
|
1095
|
+
"historyClear": "rwa6qG_historyClear",
|
|
1099
1096
|
"hiddenFile": "rwa6qG_hiddenFile",
|
|
1100
|
-
"zoomHint": "rwa6qG_zoomHint",
|
|
1101
|
-
"galleryCardInfo": "rwa6qG_galleryCardInfo",
|
|
1102
|
-
"image": "rwa6qG_image",
|
|
1103
|
-
"history": "rwa6qG_history",
|
|
1104
|
-
"canvasMeta": "rwa6qG_canvasMeta",
|
|
1105
1097
|
"canvasStateTitle": "rwa6qG_canvasStateTitle",
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
"
|
|
1109
|
-
"
|
|
1110
|
-
"
|
|
1111
|
-
"lightbox": "rwa6qG_lightbox",
|
|
1112
|
-
"taskTrayToggle": "rwa6qG_taskTrayToggle",
|
|
1098
|
+
"canvasError": "rwa6qG_canvasError",
|
|
1099
|
+
"galleryRatioList": "rwa6qG_galleryRatioList",
|
|
1100
|
+
"download": "rwa6qG_download",
|
|
1101
|
+
"paramHint": "rwa6qG_paramHint",
|
|
1102
|
+
"compareControl": "rwa6qG_compareControl",
|
|
1113
1103
|
"connectionStatus": "rwa6qG_connectionStatus",
|
|
1114
|
-
"
|
|
1115
|
-
"
|
|
1104
|
+
"promptCount": "rwa6qG_promptCount",
|
|
1105
|
+
"taskTrayHeader": "rwa6qG_taskTrayHeader",
|
|
1106
|
+
"historyActions": "rwa6qG_historyActions",
|
|
1116
1107
|
"canvasBody": "rwa6qG_canvasBody",
|
|
1108
|
+
"historyMain": "rwa6qG_historyMain",
|
|
1109
|
+
"lightboxStage": "rwa6qG_lightboxStage",
|
|
1110
|
+
"imageCaption": "rwa6qG_imageCaption",
|
|
1111
|
+
"gallerySelectionBar": "rwa6qG_gallerySelectionBar",
|
|
1112
|
+
"historyHeader": "rwa6qG_historyHeader",
|
|
1113
|
+
"modelMenuItem": "rwa6qG_modelMenuItem",
|
|
1114
|
+
"comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
|
|
1115
|
+
"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",
|
|
1127
|
+
"historyItem": "rwa6qG_historyItem",
|
|
1128
|
+
"galleryImage": "rwa6qG_galleryImage",
|
|
1129
|
+
"galleryCard": "rwa6qG_galleryCard",
|
|
1130
|
+
"lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
|
|
1131
|
+
"canvas": "rwa6qG_canvas",
|
|
1117
1132
|
"lightboxImage": "rwa6qG_lightboxImage",
|
|
1118
1133
|
"galleryFilters": "rwa6qG_galleryFilters",
|
|
1119
|
-
"
|
|
1134
|
+
"lightboxTools": "rwa6qG_lightboxTools",
|
|
1135
|
+
"generateInner": "rwa6qG_generateInner",
|
|
1120
1136
|
"historyFilters": "rwa6qG_historyFilters",
|
|
1137
|
+
"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",
|
|
1121
1149
|
"dshImageGenSpin": "rwa6qG_dshImageGenSpin",
|
|
1122
|
-
"
|
|
1123
|
-
"
|
|
1150
|
+
"gallerySort": "rwa6qG_gallerySort",
|
|
1151
|
+
"entry": "rwa6qG_entry",
|
|
1152
|
+
"galleryFilter": "rwa6qG_galleryFilter",
|
|
1153
|
+
"view": "rwa6qG_view",
|
|
1154
|
+
"galleryClear": "rwa6qG_galleryClear",
|
|
1155
|
+
"compareModelChoices": "rwa6qG_compareModelChoices",
|
|
1124
1156
|
"comparisonBoard": "rwa6qG_comparisonBoard",
|
|
1125
|
-
"historyItem": "rwa6qG_historyItem",
|
|
1126
1157
|
"galleryTags": "rwa6qG_galleryTags",
|
|
1127
|
-
"
|
|
1128
|
-
"
|
|
1129
|
-
"
|
|
1130
|
-
"
|
|
1131
|
-
"
|
|
1132
|
-
"
|
|
1133
|
-
"historyMain": "rwa6qG_historyMain",
|
|
1158
|
+
"galleryBulkButton": "rwa6qG_galleryBulkButton",
|
|
1159
|
+
"historyInfo": "rwa6qG_historyInfo",
|
|
1160
|
+
"modelMenu": "rwa6qG_modelMenu",
|
|
1161
|
+
"galleryAdd": "rwa6qG_galleryAdd",
|
|
1162
|
+
"galleryToolbar": "rwa6qG_galleryToolbar",
|
|
1163
|
+
"lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
|
|
1134
1164
|
"optionRow": "rwa6qG_optionRow",
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1137
|
-
"
|
|
1138
|
-
"
|
|
1139
|
-
"
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1142
|
-
"historyMeta": "rwa6qG_historyMeta",
|
|
1143
|
-
"lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
|
|
1144
|
-
"galleryHeading": "rwa6qG_galleryHeading",
|
|
1145
|
-
"reference": "rwa6qG_reference",
|
|
1146
|
-
"galleryImageButton": "rwa6qG_galleryImageButton",
|
|
1147
|
-
"historyList": "rwa6qG_historyList",
|
|
1165
|
+
"taskStatus": "rwa6qG_taskStatus",
|
|
1166
|
+
"imageCard": "rwa6qG_imageCard",
|
|
1167
|
+
"lightboxFigure": "rwa6qG_lightboxFigure",
|
|
1168
|
+
"lightboxCopy": "rwa6qG_lightboxCopy",
|
|
1169
|
+
"referenceImage": "rwa6qG_referenceImage",
|
|
1170
|
+
"updateRelease": "rwa6qG_updateRelease",
|
|
1171
|
+
"panel": "rwa6qG_panel",
|
|
1148
1172
|
"historyPrompt": "rwa6qG_historyPrompt",
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1151
|
-
"
|
|
1152
|
-
"
|
|
1153
|
-
"
|
|
1154
|
-
"
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
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",
|
|
1180
|
+
"modeRow": "rwa6qG_modeRow",
|
|
1181
|
+
"entryIcon": "rwa6qG_entryIcon",
|
|
1157
1182
|
"lightboxMeta": "rwa6qG_lightboxMeta",
|
|
1158
|
-
"
|
|
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",
|
|
1190
|
+
"updateBanner": "rwa6qG_updateBanner",
|
|
1191
|
+
"galleryBadge": "rwa6qG_galleryBadge",
|
|
1159
1192
|
"enhanceButton": "rwa6qG_enhanceButton",
|
|
1160
|
-
"
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
"
|
|
1167
|
-
"grid": "rwa6qG_grid",
|
|
1168
|
-
"referenceImage": "rwa6qG_referenceImage",
|
|
1169
|
-
"imageCard": "rwa6qG_imageCard",
|
|
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",
|
|
1170
1200
|
"galleryToast": "rwa6qG_galleryToast",
|
|
1171
|
-
"
|
|
1172
|
-
"
|
|
1173
|
-
"comparisonFullscreen": "rwa6qG_comparisonFullscreen",
|
|
1174
|
-
"historyEmpty": "rwa6qG_historyEmpty",
|
|
1175
|
-
"galleryToolbarActions": "rwa6qG_galleryToolbarActions",
|
|
1176
|
-
"taskTrayCount": "rwa6qG_taskTrayCount",
|
|
1177
|
-
"taskTrayClose": "rwa6qG_taskTrayClose",
|
|
1178
|
-
"templatesButton": "rwa6qG_templatesButton",
|
|
1179
|
-
"gallerySelectMode": "rwa6qG_gallerySelectMode",
|
|
1180
|
-
"githubLink": "rwa6qG_githubLink",
|
|
1181
|
-
"compareModelChoices": "rwa6qG_compareModelChoices",
|
|
1182
|
-
"entry": "rwa6qG_entry",
|
|
1183
|
-
"footer": "rwa6qG_footer",
|
|
1184
|
-
"galleryCard": "rwa6qG_galleryCard",
|
|
1185
|
-
"entryLabel": "rwa6qG_entryLabel",
|
|
1201
|
+
"paramGroup": "rwa6qG_paramGroup",
|
|
1202
|
+
"configGuideBody": "rwa6qG_configGuideBody",
|
|
1186
1203
|
"optionPill": "rwa6qG_optionPill",
|
|
1187
|
-
"
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1191
|
-
"
|
|
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",
|
|
1192
1215
|
"dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
|
|
1193
|
-
"modePill": "rwa6qG_modePill",
|
|
1194
1216
|
"gallerySelectionClear": "rwa6qG_gallerySelectionClear",
|
|
1195
|
-
"
|
|
1196
|
-
"galleryWorkspace": "rwa6qG_galleryWorkspace",
|
|
1197
|
-
"taskTrayHeader": "rwa6qG_taskTrayHeader",
|
|
1198
|
-
"galleryTagEdit": "rwa6qG_galleryTagEdit",
|
|
1199
|
-
"galleryFilterNote": "rwa6qG_galleryFilterNote",
|
|
1200
|
-
"comparisonGrid": "rwa6qG_comparisonGrid",
|
|
1201
|
-
"lightboxEdit": "rwa6qG_lightboxEdit",
|
|
1202
|
-
"comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
|
|
1203
|
-
"lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
|
|
1204
|
-
"taskPrompt": "rwa6qG_taskPrompt",
|
|
1217
|
+
"promptFooter": "rwa6qG_promptFooter",
|
|
1205
1218
|
"optionGrid": "rwa6qG_optionGrid",
|
|
1206
|
-
"
|
|
1207
|
-
"
|
|
1208
|
-
"
|
|
1209
|
-
"
|
|
1210
|
-
"
|
|
1211
|
-
"
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
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
|
+
"panelTitle": "rwa6qG_panelTitle",
|
|
1230
|
+
"galleryTagEditor": "rwa6qG_galleryTagEditor",
|
|
1231
|
+
"galleryFilterCount": "rwa6qG_galleryFilterCount",
|
|
1232
|
+
"taskTrayToggle": "rwa6qG_taskTrayToggle"
|
|
1214
1233
|
};
|
|
1215
1234
|
//#endregion
|
|
1216
1235
|
//#region src/client/mount.tsx
|
|
@@ -1867,79 +1886,79 @@ window.__ModuleLoader__.load({
|
|
|
1867
1886
|
document.head.appendChild(tag);
|
|
1868
1887
|
}
|
|
1869
1888
|
var settings_card_module_css_default = {
|
|
1870
|
-
"footer": "zmjoSq_footer",
|
|
1871
|
-
"save": "zmjoSq_save",
|
|
1872
|
-
"modelCatalog": "zmjoSq_modelCatalog",
|
|
1873
|
-
"channelDotReady": "zmjoSq_channelDotReady",
|
|
1874
|
-
"candidateTitle": "zmjoSq_candidateTitle",
|
|
1875
|
-
"label": "zmjoSq_label",
|
|
1876
|
-
"candidatePanel": "zmjoSq_candidatePanel",
|
|
1877
|
-
"select": "zmjoSq_select",
|
|
1878
|
-
"editorFooter": "zmjoSq_editorFooter",
|
|
1879
|
-
"description": "zmjoSq_description",
|
|
1880
|
-
"channelMain": "zmjoSq_channelMain",
|
|
1881
1889
|
"modelArrow": "zmjoSq_modelArrow",
|
|
1882
|
-
"
|
|
1883
|
-
"
|
|
1890
|
+
"editorTag": "zmjoSq_editorTag",
|
|
1891
|
+
"deleteConfirmText": "zmjoSq_deleteConfirmText",
|
|
1884
1892
|
"candidateList": "zmjoSq_candidateList",
|
|
1885
|
-
"
|
|
1886
|
-
"
|
|
1887
|
-
"
|
|
1888
|
-
"
|
|
1889
|
-
"
|
|
1890
|
-
"modelCatalogTitle": "zmjoSq_modelCatalogTitle",
|
|
1891
|
-
"channelSection": "zmjoSq_channelSection",
|
|
1892
|
-
"detectOk": "zmjoSq_detectOk",
|
|
1893
|
-
"channelDotWarn": "zmjoSq_channelDotWarn",
|
|
1894
|
-
"body": "zmjoSq_body",
|
|
1893
|
+
"failed": "zmjoSq_failed",
|
|
1894
|
+
"sectionHeader": "zmjoSq_sectionHeader",
|
|
1895
|
+
"modelInput": "zmjoSq_modelInput",
|
|
1896
|
+
"chevron": "zmjoSq_chevron",
|
|
1897
|
+
"channelAction": "zmjoSq_channelAction",
|
|
1895
1898
|
"channelDanger": "zmjoSq_channelDanger",
|
|
1896
|
-
"
|
|
1897
|
-
"
|
|
1899
|
+
"channelDotWarn": "zmjoSq_channelDotWarn",
|
|
1900
|
+
"channelMain": "zmjoSq_channelMain",
|
|
1901
|
+
"channelAdd": "zmjoSq_channelAdd",
|
|
1898
1902
|
"editorHeader": "zmjoSq_editorHeader",
|
|
1899
|
-
"
|
|
1900
|
-
"
|
|
1901
|
-
"
|
|
1903
|
+
"candidateId": "zmjoSq_candidateId",
|
|
1904
|
+
"customSettings": "zmjoSq_customSettings",
|
|
1905
|
+
"editorFooter": "zmjoSq_editorFooter",
|
|
1906
|
+
"save": "zmjoSq_save",
|
|
1902
1907
|
"channelHost": "zmjoSq_channelHost",
|
|
1903
|
-
"
|
|
1904
|
-
"
|
|
1905
|
-
"
|
|
1906
|
-
"sectionHeader": "zmjoSq_sectionHeader",
|
|
1907
|
-
"channelMeta": "zmjoSq_channelMeta",
|
|
1908
|
-
"failed": "zmjoSq_failed",
|
|
1909
|
-
"modelCatalogHead": "zmjoSq_modelCatalogHead",
|
|
1908
|
+
"card": "zmjoSq_card",
|
|
1909
|
+
"editorTitle": "zmjoSq_editorTitle",
|
|
1910
|
+
"pending": "zmjoSq_pending",
|
|
1910
1911
|
"header": "zmjoSq_header",
|
|
1912
|
+
"modelRowRemove": "zmjoSq_modelRowRemove",
|
|
1913
|
+
"select": "zmjoSq_select",
|
|
1914
|
+
"modelCategorySelect": "zmjoSq_modelCategorySelect",
|
|
1915
|
+
"label": "zmjoSq_label",
|
|
1916
|
+
"channelRow": "zmjoSq_channelRow",
|
|
1911
1917
|
"link": "zmjoSq_link",
|
|
1912
|
-
"field": "zmjoSq_field",
|
|
1913
|
-
"input": "zmjoSq_input",
|
|
1914
|
-
"editorWrap": "zmjoSq_editorWrap",
|
|
1915
|
-
"modelInput": "zmjoSq_modelInput",
|
|
1916
1918
|
"channelAddRow": "zmjoSq_channelAddRow",
|
|
1917
|
-
"
|
|
1918
|
-
"
|
|
1919
|
+
"footer": "zmjoSq_footer",
|
|
1920
|
+
"modelCatalogHead": "zmjoSq_modelCatalogHead",
|
|
1919
1921
|
"modelEmpty": "zmjoSq_modelEmpty",
|
|
1922
|
+
"modelBadge": "zmjoSq_modelBadge",
|
|
1923
|
+
"channelName": "zmjoSq_channelName",
|
|
1924
|
+
"channelDotReady": "zmjoSq_channelDotReady",
|
|
1925
|
+
"input": "zmjoSq_input",
|
|
1926
|
+
"candidatePanel": "zmjoSq_candidatePanel",
|
|
1927
|
+
"channelEditor": "zmjoSq_channelEditor",
|
|
1928
|
+
"body": "zmjoSq_body",
|
|
1929
|
+
"modelCatalogTitle": "zmjoSq_modelCatalogTitle",
|
|
1930
|
+
"sectionHint": "zmjoSq_sectionHint",
|
|
1920
1931
|
"addModel": "zmjoSq_addModel",
|
|
1932
|
+
"channelSection": "zmjoSq_channelSection",
|
|
1933
|
+
"detectOk": "zmjoSq_detectOk",
|
|
1934
|
+
"head": "zmjoSq_head",
|
|
1935
|
+
"modelRows": "zmjoSq_modelRows",
|
|
1936
|
+
"channelBadge": "zmjoSq_channelBadge",
|
|
1937
|
+
"candidateLabel": "zmjoSq_candidateLabel",
|
|
1938
|
+
"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",
|
|
1921
1945
|
"sectionTitle": "zmjoSq_sectionTitle",
|
|
1922
|
-
"
|
|
1946
|
+
"channelEmpty": "zmjoSq_channelEmpty",
|
|
1947
|
+
"editorWrap": "zmjoSq_editorWrap",
|
|
1948
|
+
"candidateHead": "zmjoSq_candidateHead",
|
|
1949
|
+
"modelCatalog": "zmjoSq_modelCatalog",
|
|
1950
|
+
"candidateTitle": "zmjoSq_candidateTitle",
|
|
1951
|
+
"linkButton": "zmjoSq_linkButton",
|
|
1952
|
+
"channelList": "zmjoSq_channelList",
|
|
1923
1953
|
"reset": "zmjoSq_reset",
|
|
1924
|
-
"candidateId": "zmjoSq_candidateId",
|
|
1925
1954
|
"modelCatalogTools": "zmjoSq_modelCatalogTools",
|
|
1955
|
+
"discard": "zmjoSq_discard",
|
|
1956
|
+
"chevronOpen": "zmjoSq_chevronOpen",
|
|
1957
|
+
"description": "zmjoSq_description",
|
|
1958
|
+
"name": "zmjoSq_name",
|
|
1959
|
+
"customSettingsBody": "zmjoSq_customSettingsBody",
|
|
1926
1960
|
"headText": "zmjoSq_headText",
|
|
1927
|
-
"
|
|
1928
|
-
"candidateLabel": "zmjoSq_candidateLabel",
|
|
1929
|
-
"candidateHead": "zmjoSq_candidateHead",
|
|
1930
|
-
"readOnly": "zmjoSq_readOnly",
|
|
1931
|
-
"channelRow": "zmjoSq_channelRow",
|
|
1932
|
-
"modelCategorySelect": "zmjoSq_modelCategorySelect",
|
|
1933
|
-
"channelAction": "zmjoSq_channelAction",
|
|
1934
|
-
"modelRowRemove": "zmjoSq_modelRowRemove",
|
|
1935
|
-
"channelEmpty": "zmjoSq_channelEmpty",
|
|
1936
|
-
"pending": "zmjoSq_pending",
|
|
1937
|
-
"modelBadge": "zmjoSq_modelBadge",
|
|
1938
|
-
"channelName": "zmjoSq_channelName",
|
|
1939
|
-
"sectionHint": "zmjoSq_sectionHint",
|
|
1940
|
-
"channelEditor": "zmjoSq_channelEditor",
|
|
1941
|
-
"customSettings": "zmjoSq_customSettings",
|
|
1942
|
-
"channelBadge": "zmjoSq_channelBadge"
|
|
1961
|
+
"modelRow": "zmjoSq_modelRow"
|
|
1943
1962
|
};
|
|
1944
1963
|
//#endregion
|
|
1945
1964
|
//#region src/client/SettingsCard.tsx
|
|
@@ -2844,17 +2863,17 @@ window.__ModuleLoader__.load({
|
|
|
2844
2863
|
document.head.appendChild(tag);
|
|
2845
2864
|
}
|
|
2846
2865
|
var audio_toolview_module_css_default = {
|
|
2847
|
-
"message": "_7K1QKa_message",
|
|
2848
|
-
"status": "_7K1QKa_status",
|
|
2849
2866
|
"audioRow": "_7K1QKa_audioRow",
|
|
2850
|
-
"
|
|
2851
|
-
"error": "_7K1QKa_error",
|
|
2867
|
+
"status": "_7K1QKa_status",
|
|
2852
2868
|
"audio": "_7K1QKa_audio",
|
|
2853
|
-
"
|
|
2869
|
+
"message": "_7K1QKa_message",
|
|
2854
2870
|
"download": "_7K1QKa_download",
|
|
2855
|
-
"root": "_7K1QKa_root",
|
|
2856
2871
|
"audios": "_7K1QKa_audios",
|
|
2857
|
-
"
|
|
2872
|
+
"error": "_7K1QKa_error",
|
|
2873
|
+
"icon": "_7K1QKa_icon",
|
|
2874
|
+
"root": "_7K1QKa_root",
|
|
2875
|
+
"header": "_7K1QKa_header",
|
|
2876
|
+
"empty": "_7K1QKa_empty"
|
|
2858
2877
|
};
|
|
2859
2878
|
//#endregion
|
|
2860
2879
|
//#region src/client/audio-toolview.tsx
|