@acedatacloud/sdk 2026.728.0 → 2026.804.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 CHANGED
@@ -2035,6 +2035,7 @@ var Suno = class {
2035
2035
  if (options.custom !== void 0) body["custom"] = options.custom;
2036
2036
  body["prompt"] = options.prompt ?? "A song for Christmas";
2037
2037
  if (options.audioId !== void 0) body["audio_id"] = options.audioId;
2038
+ if (options.duration !== void 0) body["duration"] = options.duration;
2038
2039
  if (options.weirdness !== void 0) body["weirdness"] = options.weirdness;
2039
2040
  body["audio_urls"] = options.audioUrls ?? ["https://cdn1.suno.ai/b481b17a-bf50-4e10-8adc-4d5635050893.mp3"];
2040
2041
  if (options.personaId !== void 0) body["persona_id"] = options.personaId;
@@ -2056,7 +2057,7 @@ var Suno = class {
2056
2057
  if (options.underpaintingStart !== void 0) body["underpainting_start"] = options.underpaintingStart;
2057
2058
  if (options.replaceSectionStart !== void 0) body["replace_section_start"] = options.replaceSectionStart;
2058
2059
  for (const [key, value] of Object.entries(options)) {
2059
- 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", "styleNegative", "title", "underpaintingEnd", "underpaintingStart", "variationCategory", "vocalGender", "wait", "weirdness"].includes(key) && value !== void 0) {
2060
+ 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", "styleNegative", "title", "underpaintingEnd", "underpaintingStart", "variationCategory", "vocalGender", "wait", "weirdness"].includes(key) && value !== void 0) {
2060
2061
  body[key] = value;
2061
2062
  }
2062
2063
  }