@acedatacloud/sdk 2026.727.1 → 2026.727.2
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/resources/providers/producer.ts +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1802,7 +1802,7 @@ var Producer = class {
|
|
|
1802
1802
|
return await this.transport.request("POST", "/producer/upload", { json: body });
|
|
1803
1803
|
}
|
|
1804
1804
|
/** AceData Producer MP4 retrieval API. Pass an audio_id to receive an MP4 video download link with cover art. */
|
|
1805
|
-
async
|
|
1805
|
+
async videos(options) {
|
|
1806
1806
|
const body = {};
|
|
1807
1807
|
body["audio_id"] = options.audioId;
|
|
1808
1808
|
for (const [key, value] of Object.entries(options)) {
|
|
@@ -1826,7 +1826,7 @@ var Producer = class {
|
|
|
1826
1826
|
return await this.transport.request("POST", "/producer/wav", { json: body });
|
|
1827
1827
|
}
|
|
1828
1828
|
/** Producer AI music generation API, generates 1 song per request. */
|
|
1829
|
-
async
|
|
1829
|
+
async generate(options) {
|
|
1830
1830
|
const body = {};
|
|
1831
1831
|
body["lyric"] = options.lyric;
|
|
1832
1832
|
body["action"] = options.action;
|