democut 1.0.179 → 1.0.182
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/dist/cli.js +39 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6916,7 +6916,7 @@ import { realpathSync } from "fs";
|
|
|
6916
6916
|
import { fileURLToPath } from "url";
|
|
6917
6917
|
|
|
6918
6918
|
// src/version.ts
|
|
6919
|
-
var VERSION = "1.0.
|
|
6919
|
+
var VERSION = "1.0.182";
|
|
6920
6920
|
|
|
6921
6921
|
// src/device-flow.ts
|
|
6922
6922
|
var DeviceFlowError = class extends Error {
|
|
@@ -11603,6 +11603,23 @@ var GENERATED_TOOLS = [
|
|
|
11603
11603
|
],
|
|
11604
11604
|
"default": null,
|
|
11605
11605
|
"description": "\uC6D0\uACE1 \u2014 plan \uC758 keep\xB7reference \uAC00 \uAC00\uB9AC\uD0A8\uB2E4"
|
|
11606
|
+
},
|
|
11607
|
+
"model": {
|
|
11608
|
+
"default": "music_v2",
|
|
11609
|
+
"description": "v2_5 \uAC00 \uC74C\uC9C8\uC774 \uB192\uB2E4",
|
|
11610
|
+
"enum": [
|
|
11611
|
+
"music_v2",
|
|
11612
|
+
"music_v2_5"
|
|
11613
|
+
],
|
|
11614
|
+
"type": "string"
|
|
11615
|
+
},
|
|
11616
|
+
"output_format": {
|
|
11617
|
+
"default": "mp3_44100_192",
|
|
11618
|
+
"enum": [
|
|
11619
|
+
"mp3_44100_192",
|
|
11620
|
+
"mp3_48000_320"
|
|
11621
|
+
],
|
|
11622
|
+
"type": "string"
|
|
11606
11623
|
}
|
|
11607
11624
|
},
|
|
11608
11625
|
"required": [],
|
|
@@ -11706,6 +11723,23 @@ var GENERATED_TOOLS = [
|
|
|
11706
11723
|
"default": null,
|
|
11707
11724
|
"description": "\uC6D0\uACE1 \u2014 plan \uC758 keep\xB7reference \uAC00 \uAC00\uB9AC\uD0A8\uB2E4"
|
|
11708
11725
|
},
|
|
11726
|
+
"model": {
|
|
11727
|
+
"default": "music_v2",
|
|
11728
|
+
"description": "v2_5 \uAC00 \uC74C\uC9C8\uC774 \uB192\uB2E4",
|
|
11729
|
+
"enum": [
|
|
11730
|
+
"music_v2",
|
|
11731
|
+
"music_v2_5"
|
|
11732
|
+
],
|
|
11733
|
+
"type": "string"
|
|
11734
|
+
},
|
|
11735
|
+
"output_format": {
|
|
11736
|
+
"default": "mp3_44100_192",
|
|
11737
|
+
"enum": [
|
|
11738
|
+
"mp3_44100_192",
|
|
11739
|
+
"mp3_48000_320"
|
|
11740
|
+
],
|
|
11741
|
+
"type": "string"
|
|
11742
|
+
},
|
|
11709
11743
|
"title": {
|
|
11710
11744
|
"default": "",
|
|
11711
11745
|
"maxLength": 100,
|
|
@@ -17133,7 +17167,10 @@ function musicBody(a) {
|
|
|
17133
17167
|
...typeof a.instrumental === "boolean" && !a.plan ? { instrumental: a.instrumental } : {},
|
|
17134
17168
|
...typeof a.length_s === "number" ? { length_s: a.length_s } : {},
|
|
17135
17169
|
...a.plan ? { plan: a.plan } : {},
|
|
17136
|
-
...a.source_asset_id ? { source_asset_id: a.source_asset_id } : {}
|
|
17170
|
+
...a.source_asset_id ? { source_asset_id: a.source_asset_id } : {},
|
|
17171
|
+
// 모델·형식은 비우면 서버 기본값(music_v2 · mp3_44100_192)이다.
|
|
17172
|
+
...a.model ? { model: a.model } : {},
|
|
17173
|
+
...a.output_format ? { output_format: a.output_format } : {}
|
|
17137
17174
|
};
|
|
17138
17175
|
}
|
|
17139
17176
|
function musicLengthNote(a) {
|