@acedatacloud/sdk 2026.804.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 +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/suno.ts +3 -3
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ export interface SunoGenerateOptions {
|
|
|
56
56
|
/** Add a default start time for the uploaded audio sample, with a default value of 0. */
|
|
57
57
|
samplesStart?: number;
|
|
58
58
|
/** Styles of description that are not desired in music generation. */
|
|
59
|
-
|
|
59
|
+
negativeTags?: string;
|
|
60
60
|
/** The "Style Influence" advanced parameter in the Suno official custom mode has a value range of 0 to 1, with higher values being closer to the selected style. It is only effective in custom mode. */
|
|
61
61
|
styleInfluence?: number;
|
|
62
62
|
/** Audio ID list for mixing and mashup. This field is required when `action` is `mashup`. */
|
|
@@ -240,7 +240,7 @@ export class Suno {
|
|
|
240
240
|
if (options.lyricPrompt !== undefined) body["lyric_prompt"] = options.lyricPrompt;
|
|
241
241
|
if (options.vocalGender !== undefined) body["vocal_gender"] = options.vocalGender;
|
|
242
242
|
if (options.samplesStart !== undefined) body["samples_start"] = options.samplesStart;
|
|
243
|
-
if (options.
|
|
243
|
+
if (options.negativeTags !== undefined) body["negative_tags"] = options.negativeTags;
|
|
244
244
|
if (options.styleInfluence !== undefined) body["style_influence"] = options.styleInfluence;
|
|
245
245
|
if (options.mashupAudioIds !== undefined) body["mashup_audio_ids"] = options.mashupAudioIds;
|
|
246
246
|
if (options.overpaintingEnd !== undefined) body["overpainting_end"] = options.overpaintingEnd;
|
|
@@ -251,7 +251,7 @@ export class Suno {
|
|
|
251
251
|
if (options.underpaintingStart !== undefined) body["underpainting_start"] = options.underpaintingStart;
|
|
252
252
|
if (options.replaceSectionStart !== undefined) body["replace_section_start"] = options.replaceSectionStart;
|
|
253
253
|
for (const [key, value] of Object.entries(options)) {
|
|
254
|
-
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", "
|
|
254
|
+
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 !== undefined) {
|
|
255
255
|
body[key] = value;
|
|
256
256
|
}
|
|
257
257
|
}
|