@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.js
CHANGED
|
@@ -1850,7 +1850,7 @@ var Producer = class {
|
|
|
1850
1850
|
return await this.transport.request("POST", "/producer/upload", { json: body });
|
|
1851
1851
|
}
|
|
1852
1852
|
/** AceData Producer MP4 retrieval API. Pass an audio_id to receive an MP4 video download link with cover art. */
|
|
1853
|
-
async
|
|
1853
|
+
async videos(options) {
|
|
1854
1854
|
const body = {};
|
|
1855
1855
|
body["audio_id"] = options.audioId;
|
|
1856
1856
|
for (const [key, value] of Object.entries(options)) {
|
|
@@ -1874,7 +1874,7 @@ var Producer = class {
|
|
|
1874
1874
|
return await this.transport.request("POST", "/producer/wav", { json: body });
|
|
1875
1875
|
}
|
|
1876
1876
|
/** Producer AI music generation API, generates 1 song per request. */
|
|
1877
|
-
async
|
|
1877
|
+
async generate(options) {
|
|
1878
1878
|
const body = {};
|
|
1879
1879
|
body["lyric"] = options.lyric;
|
|
1880
1880
|
body["action"] = options.action;
|