fix: correct DiffRhythm workflow parameter order to match function signature
All checks were successful
Build and Push RunPod Docker Image / build-and-push (push) Successful in 14s

The parameters must match the diffrhythmgen() function signature order,
not the INPUT_TYPES order. The function has 'edit' as the first parameter.

Correct widgets_values order (11 parameters):
0: edit (boolean)
1: model (string)
2: style_prompt (string)
3: lyrics_or_edit_lyrics (string)
4: edit_segments (string)
5: odeint_method (enum)
6: steps (int)
7: cfg (int)
8: quality_or_speed (enum)
9: unload_model (boolean)
10: seed (int)

Note: style_audio_or_edit_song comes from input connection (not in widgets)
Note: chunked parameter is hidden (not in widgets)

Updated workflows:
- diffrhythm-simple-t2m-v1.json
- diffrhythm-random-generation-v1.json
- diffrhythm-reference-based-v1.json
- diffrhythm-full-length-t2m-v1.json

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-24 15:53:15 +01:00
parent 64db634ab5
commit 279f703591
4 changed files with 20 additions and 22 deletions

View File

@@ -21,18 +21,17 @@
"Node name for S&R": "DiffRhythmRun"
},
"widgets_values": [
false,
"cfm_full_model.pt",
"Cinematic orchestral piece with soaring strings, powerful brass, and emotional piano melodies building to an epic crescendo",
true,
"",
"[-1, 20], [60, -1]",
"euler",
30,
4,
"quality",
123,
false,
"",
"",
""
true,
123
],
"title": "DiffRhythm Full-Length Text-to-Music (4m45s)"
},

View File

@@ -21,18 +21,17 @@
"Node name for S&R": "DiffRhythmRun"
},
"widgets_values": [
false,
"cfm_model_v1_2.pt",
"",
true,
"",
"[-1, 20], [60, -1]",
"euler",
30,
1,
"speed",
-1,
false,
"",
"",
""
true,
-1
],
"title": "DiffRhythm Random Generation (No Prompt)"
},

View File

@@ -51,18 +51,17 @@
"Node name for S&R": "DiffRhythmRun"
},
"widgets_values": [
false,
"cfm_model_v1_2.pt",
"Energetic rock music with driving guitar riffs and powerful drums",
true,
"",
"[-1, 20], [60, -1]",
"euler",
30,
5,
"speed",
456,
false,
"",
"",
""
true,
456
],
"title": "DiffRhythm Reference-Based Generation"
},

View File

@@ -21,16 +21,17 @@
"Node name for S&R": "DiffRhythmRun"
},
"widgets_values": [
false,
"cfm_model_v1_2.pt",
"Upbeat electronic dance music with energetic beats and synthesizer melodies",
true,
"",
"[-1, 20], [60, -1]",
"euler",
30,
4,
"speed",
42,
false,
"[-1, 20], [60, -1]"
true,
42
],
"title": "DiffRhythm Text-to-Music (95s)"
},