chore: remove suno callback url input

This commit is contained in:
Dreaming Computers
2026-02-01 12:48:46 +07:00
parent cd22a28d3d
commit f9aad495b9
3 changed files with 1 additions and 10 deletions
+1 -4
View File
@@ -127,7 +127,6 @@ def run_suno_generate(
custom_mode: bool,
instrumental: bool,
model: str,
callback_url: str,
style: str | None = None,
title: str | None = None,
negative_tags: str | None = None,
@@ -145,8 +144,7 @@ def run_suno_generate(
raise RuntimeError("Invalid model. Use the pinned enum options.")
if vocal_gender and vocal_gender not in VOCAL_GENDER_OPTIONS:
raise RuntimeError("vocal_gender must be 'm' or 'f'.")
if not callback_url:
raise RuntimeError("callback_url is required by the API spec.")
# callback_url intentionally omitted; polling mode only
prompt_text = (prompt or "").strip()
style_text = (style or "").strip()
@@ -175,7 +173,6 @@ def run_suno_generate(
"customMode": bool(custom_mode),
"instrumental": bool(instrumental),
"model": model,
"callBackUrl": callback_url,
}
if style_text:
payload["style"] = style_text
-4
View File
@@ -734,7 +734,6 @@ Inputs:
- custom_mode: Enable custom mode (required)
- instrumental: Instrumental-only mode (required)
- model: V4 / V4_5 / V4_5PLUS / V4_5ALL / V5
- callback_url: Webhook URL for results (required by API)
- style: Required in custom mode
- title: Required in custom mode
- negative_tags: Optional tags to avoid
@@ -757,7 +756,6 @@ Inputs:
"custom_mode": ("BOOLEAN", {"default": True}),
"instrumental": ("BOOLEAN", {"default": True}),
"model": ("COMBO", {"options": SUNO_MODEL_OPTIONS, "default": "V4_5"}),
"callback_url": ("STRING", {"default": ""}),
},
"optional": {
"style": ("STRING", {"default": ""}),
@@ -783,7 +781,6 @@ Inputs:
custom_mode: bool,
instrumental: bool,
model: str,
callback_url: str,
style: str = "",
title: str = "",
negative_tags: str = "",
@@ -799,7 +796,6 @@ Inputs:
custom_mode=custom_mode,
instrumental=instrumental,
model=model,
callback_url=callback_url,
style=style,
title=title,
negative_tags=negative_tags,
-2
View File
@@ -7,8 +7,6 @@ Create a Suno music generation task via KIE API. This node polls until completio
- **custom_mode** (BOOLEAN, required): Enable custom mode.
- **instrumental** (BOOLEAN, required): Instrumental-only mode.
- **model** (COMBO, required): `V4`, `V4_5`, `V4_5PLUS`, `V4_5ALL`, `V5`
- **callback_url** (STRING, required): Webhook URL to receive results.
Optional:
- **style** (STRING): Required in custom mode. Length limit depends on model.
- **title** (STRING): Required in custom mode. Max 80 chars.