@acedatacloud/sdk 2026.728.0 → 2026.805.0
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/resources/providers/suno.ts +6 -3
package/dist/index.mjs
CHANGED
|
@@ -1987,6 +1987,7 @@ var Suno = class {
|
|
|
1987
1987
|
if (options.custom !== void 0) body["custom"] = options.custom;
|
|
1988
1988
|
body["prompt"] = options.prompt ?? "A song for Christmas";
|
|
1989
1989
|
if (options.audioId !== void 0) body["audio_id"] = options.audioId;
|
|
1990
|
+
if (options.duration !== void 0) body["duration"] = options.duration;
|
|
1990
1991
|
if (options.weirdness !== void 0) body["weirdness"] = options.weirdness;
|
|
1991
1992
|
body["audio_urls"] = options.audioUrls ?? ["https://cdn1.suno.ai/b481b17a-bf50-4e10-8adc-4d5635050893.mp3"];
|
|
1992
1993
|
if (options.personaId !== void 0) body["persona_id"] = options.personaId;
|
|
@@ -1997,7 +1998,7 @@ var Suno = class {
|
|
|
1997
1998
|
if (options.lyricPrompt !== void 0) body["lyric_prompt"] = options.lyricPrompt;
|
|
1998
1999
|
if (options.vocalGender !== void 0) body["vocal_gender"] = options.vocalGender;
|
|
1999
2000
|
if (options.samplesStart !== void 0) body["samples_start"] = options.samplesStart;
|
|
2000
|
-
if (options.
|
|
2001
|
+
if (options.negativeTags !== void 0) body["negative_tags"] = options.negativeTags;
|
|
2001
2002
|
if (options.styleInfluence !== void 0) body["style_influence"] = options.styleInfluence;
|
|
2002
2003
|
if (options.mashupAudioIds !== void 0) body["mashup_audio_ids"] = options.mashupAudioIds;
|
|
2003
2004
|
if (options.overpaintingEnd !== void 0) body["overpainting_end"] = options.overpaintingEnd;
|
|
@@ -2008,7 +2009,7 @@ var Suno = class {
|
|
|
2008
2009
|
if (options.underpaintingStart !== void 0) body["underpainting_start"] = options.underpaintingStart;
|
|
2009
2010
|
if (options.replaceSectionStart !== void 0) body["replace_section_start"] = options.replaceSectionStart;
|
|
2010
2011
|
for (const [key, value] of Object.entries(options)) {
|
|
2011
|
-
if (!["action", "async", "audioId", "audioUrls", "audioWeight", "callbackUrl", "continueAt", "custom", "instrumental", "lyric", "lyricPrompt", "mashupAudioIds", "maxWait", "model", "overpaintingEnd", "overpaintingStart", "personaId", "pollInterval", "prompt", "replaceSectionEnd", "replaceSectionStart", "samplesEnd", "samplesStart", "style", "styleInfluence", "
|
|
2012
|
+
if (!["action", "async", "audioId", "audioUrls", "audioWeight", "callbackUrl", "continueAt", "custom", "duration", "instrumental", "lyric", "lyricPrompt", "mashupAudioIds", "maxWait", "model", "overpaintingEnd", "overpaintingStart", "personaId", "pollInterval", "prompt", "replaceSectionEnd", "replaceSectionStart", "samplesEnd", "samplesStart", "style", "styleInfluence", "negativeTags", "title", "underpaintingEnd", "underpaintingStart", "variationCategory", "vocalGender", "wait", "weirdness"].includes(key) && value !== void 0) {
|
|
2012
2013
|
body[key] = value;
|
|
2013
2014
|
}
|
|
2014
2015
|
}
|