runapi-suno 0.4.2 → 0.4.4

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.
@@ -7,63 +7,111 @@ module RunApi
7
7
  "models" => ["suno-v4.5-plus", "suno-v5", "suno-v5.5"],
8
8
  "fields_by_model" => {
9
9
  "suno-v4.5-plus" => {
10
+ "audio_weight" => {
11
+ "min" => 0,
12
+ "max" => 1
13
+ },
10
14
  "model" => {
11
15
  "required" => true
12
16
  },
13
17
  "negative_tags" => {
14
18
  "required" => true
15
19
  },
20
+ "style_weight" => {
21
+ "min" => 0,
22
+ "max" => 1
23
+ },
16
24
  "tags" => {
17
- "required" => true
25
+ "required" => true,
26
+ "max" => 1000,
27
+ "length" => true
18
28
  },
19
29
  "title" => {
20
- "required" => true
30
+ "required" => true,
31
+ "max" => 80,
32
+ "length" => true
21
33
  },
22
34
  "upload_url" => {
23
35
  "required" => true
24
36
  },
25
37
  "vocal_gender" => {
26
38
  "enum" => ["male", "female"]
39
+ },
40
+ "weirdness_constraint" => {
41
+ "min" => 0,
42
+ "max" => 1
27
43
  }
28
44
  },
29
45
  "suno-v5" => {
46
+ "audio_weight" => {
47
+ "min" => 0,
48
+ "max" => 1
49
+ },
30
50
  "model" => {
31
51
  "required" => true
32
52
  },
33
53
  "negative_tags" => {
34
54
  "required" => true
35
55
  },
56
+ "style_weight" => {
57
+ "min" => 0,
58
+ "max" => 1
59
+ },
36
60
  "tags" => {
37
- "required" => true
61
+ "required" => true,
62
+ "max" => 1000,
63
+ "length" => true
38
64
  },
39
65
  "title" => {
40
- "required" => true
66
+ "required" => true,
67
+ "max" => 80,
68
+ "length" => true
41
69
  },
42
70
  "upload_url" => {
43
71
  "required" => true
44
72
  },
45
73
  "vocal_gender" => {
46
74
  "enum" => ["male", "female"]
75
+ },
76
+ "weirdness_constraint" => {
77
+ "min" => 0,
78
+ "max" => 1
47
79
  }
48
80
  },
49
81
  "suno-v5.5" => {
82
+ "audio_weight" => {
83
+ "min" => 0,
84
+ "max" => 1
85
+ },
50
86
  "model" => {
51
87
  "required" => true
52
88
  },
53
89
  "negative_tags" => {
54
90
  "required" => true
55
91
  },
92
+ "style_weight" => {
93
+ "min" => 0,
94
+ "max" => 1
95
+ },
56
96
  "tags" => {
57
- "required" => true
97
+ "required" => true,
98
+ "max" => 1000,
99
+ "length" => true
58
100
  },
59
101
  "title" => {
60
- "required" => true
102
+ "required" => true,
103
+ "max" => 80,
104
+ "length" => true
61
105
  },
62
106
  "upload_url" => {
63
107
  "required" => true
64
108
  },
65
109
  "vocal_gender" => {
66
110
  "enum" => ["male", "female"]
111
+ },
112
+ "weirdness_constraint" => {
113
+ "min" => 0,
114
+ "max" => 1
67
115
  }
68
116
  }
69
117
  }
@@ -157,8 +205,14 @@ module RunApi
157
205
  "models" => ["suno-v4.5-plus", "suno-v5"],
158
206
  "fields_by_model" => {
159
207
  "suno-v4.5-plus" => {
208
+ "audio_weight" => {
209
+ "min" => 0,
210
+ "max" => 1
211
+ },
160
212
  "lyrics" => {
161
- "required" => true
213
+ "required" => true,
214
+ "max" => 5000,
215
+ "length" => true
162
216
  },
163
217
  "model" => {
164
218
  "required" => true
@@ -167,21 +221,39 @@ module RunApi
167
221
  "required" => true
168
222
  },
169
223
  "style" => {
170
- "required" => true
224
+ "required" => true,
225
+ "max" => 1000,
226
+ "length" => true
227
+ },
228
+ "style_weight" => {
229
+ "min" => 0,
230
+ "max" => 1
171
231
  },
172
232
  "title" => {
173
- "required" => true
233
+ "required" => true,
234
+ "max" => 80,
235
+ "length" => true
174
236
  },
175
237
  "upload_url" => {
176
238
  "required" => true
177
239
  },
178
240
  "vocal_gender" => {
179
241
  "enum" => ["male", "female"]
242
+ },
243
+ "weirdness_constraint" => {
244
+ "min" => 0,
245
+ "max" => 1
180
246
  }
181
247
  },
182
248
  "suno-v5" => {
249
+ "audio_weight" => {
250
+ "min" => 0,
251
+ "max" => 1
252
+ },
183
253
  "lyrics" => {
184
- "required" => true
254
+ "required" => true,
255
+ "max" => 5000,
256
+ "length" => true
185
257
  },
186
258
  "model" => {
187
259
  "required" => true
@@ -190,16 +262,38 @@ module RunApi
190
262
  "required" => true
191
263
  },
192
264
  "style" => {
193
- "required" => true
265
+ "required" => true,
266
+ "max" => 1000,
267
+ "length" => true
268
+ },
269
+ "style_weight" => {
270
+ "min" => 0,
271
+ "max" => 1
194
272
  },
195
273
  "title" => {
196
- "required" => true
274
+ "required" => true,
275
+ "max" => 80,
276
+ "length" => true
197
277
  },
198
278
  "upload_url" => {
199
279
  "required" => true
200
280
  },
201
281
  "vocal_gender" => {
202
282
  "enum" => ["male", "female"]
283
+ },
284
+ "weirdness_constraint" => {
285
+ "min" => 0,
286
+ "max" => 1
287
+ }
288
+ }
289
+ }
290
+ },
291
+ "audio-exports" => {
292
+ "models" => [],
293
+ "fields_by_model" => {
294
+ "_" => {
295
+ "source_audio_id" => {
296
+ "required" => true
203
297
  }
204
298
  }
205
299
  }
@@ -251,15 +345,39 @@ module RunApi
251
345
  }
252
346
  },
253
347
  "cover-audio" => {
254
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
348
+ "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5", "suno-v6", "suno-v6-mini", "suno-v6-wild"],
255
349
  "fields_by_model" => {
256
350
  "suno-v4" => {
351
+ "audio_weight" => {
352
+ "min" => 0,
353
+ "max" => 1
354
+ },
355
+ "lyrics" => {
356
+ "max" => 5000,
357
+ "length" => true
358
+ },
257
359
  "model" => {
258
360
  "required" => true
259
361
  },
260
362
  "persona_type" => {
261
363
  "enum" => ["style", "voice"]
262
364
  },
365
+ "prompt" => {
366
+ "max" => 5000,
367
+ "length" => true
368
+ },
369
+ "style" => {
370
+ "max" => 1000,
371
+ "length" => true
372
+ },
373
+ "style_weight" => {
374
+ "min" => 0,
375
+ "max" => 1
376
+ },
377
+ "title" => {
378
+ "max" => 80,
379
+ "length" => true
380
+ },
263
381
  "upload_url" => {
264
382
  "required" => true
265
383
  },
@@ -269,15 +387,43 @@ module RunApi
269
387
  "vocal_mode" => {
270
388
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
271
389
  "required" => true
390
+ },
391
+ "weirdness_constraint" => {
392
+ "min" => 0,
393
+ "max" => 1
272
394
  }
273
395
  },
274
396
  "suno-v4.5" => {
397
+ "audio_weight" => {
398
+ "min" => 0,
399
+ "max" => 1
400
+ },
401
+ "lyrics" => {
402
+ "max" => 5000,
403
+ "length" => true
404
+ },
275
405
  "model" => {
276
406
  "required" => true
277
407
  },
278
408
  "persona_type" => {
279
409
  "enum" => ["style", "voice"]
280
410
  },
411
+ "prompt" => {
412
+ "max" => 5000,
413
+ "length" => true
414
+ },
415
+ "style" => {
416
+ "max" => 1000,
417
+ "length" => true
418
+ },
419
+ "style_weight" => {
420
+ "min" => 0,
421
+ "max" => 1
422
+ },
423
+ "title" => {
424
+ "max" => 80,
425
+ "length" => true
426
+ },
281
427
  "upload_url" => {
282
428
  "required" => true
283
429
  },
@@ -287,15 +433,43 @@ module RunApi
287
433
  "vocal_mode" => {
288
434
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
289
435
  "required" => true
436
+ },
437
+ "weirdness_constraint" => {
438
+ "min" => 0,
439
+ "max" => 1
290
440
  }
291
441
  },
292
442
  "suno-v4.5-all" => {
443
+ "audio_weight" => {
444
+ "min" => 0,
445
+ "max" => 1
446
+ },
447
+ "lyrics" => {
448
+ "max" => 5000,
449
+ "length" => true
450
+ },
293
451
  "model" => {
294
452
  "required" => true
295
453
  },
296
454
  "persona_type" => {
297
455
  "enum" => ["style", "voice"]
298
456
  },
457
+ "prompt" => {
458
+ "max" => 5000,
459
+ "length" => true
460
+ },
461
+ "style" => {
462
+ "max" => 1000,
463
+ "length" => true
464
+ },
465
+ "style_weight" => {
466
+ "min" => 0,
467
+ "max" => 1
468
+ },
469
+ "title" => {
470
+ "max" => 80,
471
+ "length" => true
472
+ },
299
473
  "upload_url" => {
300
474
  "required" => true
301
475
  },
@@ -305,15 +479,43 @@ module RunApi
305
479
  "vocal_mode" => {
306
480
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
307
481
  "required" => true
482
+ },
483
+ "weirdness_constraint" => {
484
+ "min" => 0,
485
+ "max" => 1
308
486
  }
309
487
  },
310
488
  "suno-v4.5-plus" => {
489
+ "audio_weight" => {
490
+ "min" => 0,
491
+ "max" => 1
492
+ },
493
+ "lyrics" => {
494
+ "max" => 5000,
495
+ "length" => true
496
+ },
311
497
  "model" => {
312
498
  "required" => true
313
499
  },
314
500
  "persona_type" => {
315
501
  "enum" => ["style", "voice"]
316
502
  },
503
+ "prompt" => {
504
+ "max" => 5000,
505
+ "length" => true
506
+ },
507
+ "style" => {
508
+ "max" => 1000,
509
+ "length" => true
510
+ },
511
+ "style_weight" => {
512
+ "min" => 0,
513
+ "max" => 1
514
+ },
515
+ "title" => {
516
+ "max" => 80,
517
+ "length" => true
518
+ },
317
519
  "upload_url" => {
318
520
  "required" => true
319
521
  },
@@ -323,15 +525,43 @@ module RunApi
323
525
  "vocal_mode" => {
324
526
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
325
527
  "required" => true
528
+ },
529
+ "weirdness_constraint" => {
530
+ "min" => 0,
531
+ "max" => 1
326
532
  }
327
533
  },
328
534
  "suno-v5" => {
535
+ "audio_weight" => {
536
+ "min" => 0,
537
+ "max" => 1
538
+ },
539
+ "lyrics" => {
540
+ "max" => 5000,
541
+ "length" => true
542
+ },
329
543
  "model" => {
330
544
  "required" => true
331
545
  },
332
546
  "persona_type" => {
333
547
  "enum" => ["style", "voice"]
334
548
  },
549
+ "prompt" => {
550
+ "max" => 5000,
551
+ "length" => true
552
+ },
553
+ "style" => {
554
+ "max" => 1000,
555
+ "length" => true
556
+ },
557
+ "style_weight" => {
558
+ "min" => 0,
559
+ "max" => 1
560
+ },
561
+ "title" => {
562
+ "max" => 80,
563
+ "length" => true
564
+ },
335
565
  "upload_url" => {
336
566
  "required" => true
337
567
  },
@@ -341,15 +571,43 @@ module RunApi
341
571
  "vocal_mode" => {
342
572
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
343
573
  "required" => true
574
+ },
575
+ "weirdness_constraint" => {
576
+ "min" => 0,
577
+ "max" => 1
344
578
  }
345
579
  },
346
580
  "suno-v5.5" => {
581
+ "audio_weight" => {
582
+ "min" => 0,
583
+ "max" => 1
584
+ },
585
+ "lyrics" => {
586
+ "max" => 5000,
587
+ "length" => true
588
+ },
347
589
  "model" => {
348
590
  "required" => true
349
591
  },
350
592
  "persona_type" => {
351
593
  "enum" => ["style", "voice"]
352
594
  },
595
+ "prompt" => {
596
+ "max" => 5000,
597
+ "length" => true
598
+ },
599
+ "style" => {
600
+ "max" => 1000,
601
+ "length" => true
602
+ },
603
+ "style_weight" => {
604
+ "min" => 0,
605
+ "max" => 1
606
+ },
607
+ "title" => {
608
+ "max" => 80,
609
+ "length" => true
610
+ },
353
611
  "upload_url" => {
354
612
  "required" => true
355
613
  },
@@ -359,63 +617,45 @@ module RunApi
359
617
  "vocal_mode" => {
360
618
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
361
619
  "required" => true
620
+ },
621
+ "weirdness_constraint" => {
622
+ "min" => 0,
623
+ "max" => 1
362
624
  }
363
- }
364
- },
365
- "rules" => [{
366
- "when" => {
367
- "vocal_mode" => "auto_lyrics"
368
- },
369
- "required" => ["prompt"],
370
- "forbidden" => ["lyrics", "style", "title"]
371
- }, {
372
- "when" => {
373
- "vocal_mode" => "exact_lyrics"
374
625
  },
375
- "required" => ["lyrics", "style", "title"],
376
- "forbidden" => ["prompt"]
377
- }, {
378
- "when" => {
379
- "vocal_mode" => "instrumental"
380
- },
381
- "required" => ["style", "title"],
382
- "forbidden" => ["prompt", "lyrics"]
383
- }]
384
- },
385
- "create-mashup" => {
386
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
387
- "fields_by_model" => {
388
- "suno-v4" => {
626
+ "suno-v6" => {
627
+ "audio_weight" => {
628
+ "min" => 0,
629
+ "max" => 1
630
+ },
631
+ "lyrics" => {
632
+ "max" => 5000,
633
+ "length" => true
634
+ },
389
635
  "model" => {
390
636
  "required" => true
391
637
  },
392
638
  "persona_type" => {
393
639
  "enum" => ["style", "voice"]
394
640
  },
395
- "upload_url_list" => {
396
- "required" => true,
397
- "min_items" => 2,
398
- "max_items" => 2
641
+ "prompt" => {
642
+ "max" => 5000,
643
+ "length" => true
399
644
  },
400
- "vocal_gender" => {
401
- "enum" => ["male", "female"]
645
+ "style" => {
646
+ "max" => 1000,
647
+ "length" => true
402
648
  },
403
- "vocal_mode" => {
404
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
405
- "required" => true
406
- }
407
- },
408
- "suno-v4.5" => {
409
- "model" => {
410
- "required" => true
649
+ "style_weight" => {
650
+ "min" => 0,
651
+ "max" => 1
411
652
  },
412
- "persona_type" => {
413
- "enum" => ["style", "voice"]
653
+ "title" => {
654
+ "max" => 80,
655
+ "length" => true
414
656
  },
415
- "upload_url_list" => {
416
- "required" => true,
417
- "min_items" => 2,
418
- "max_items" => 2
657
+ "upload_url" => {
658
+ "required" => true
419
659
  },
420
660
  "vocal_gender" => {
421
661
  "enum" => ["male", "female"]
@@ -423,19 +663,45 @@ module RunApi
423
663
  "vocal_mode" => {
424
664
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
425
665
  "required" => true
666
+ },
667
+ "weirdness_constraint" => {
668
+ "min" => 0,
669
+ "max" => 1
426
670
  }
427
671
  },
428
- "suno-v4.5-all" => {
672
+ "suno-v6-mini" => {
673
+ "audio_weight" => {
674
+ "min" => 0,
675
+ "max" => 1
676
+ },
677
+ "lyrics" => {
678
+ "max" => 5000,
679
+ "length" => true
680
+ },
429
681
  "model" => {
430
682
  "required" => true
431
683
  },
432
684
  "persona_type" => {
433
685
  "enum" => ["style", "voice"]
434
686
  },
435
- "upload_url_list" => {
436
- "required" => true,
437
- "min_items" => 2,
438
- "max_items" => 2
687
+ "prompt" => {
688
+ "max" => 5000,
689
+ "length" => true
690
+ },
691
+ "style" => {
692
+ "max" => 1000,
693
+ "length" => true
694
+ },
695
+ "style_weight" => {
696
+ "min" => 0,
697
+ "max" => 1
698
+ },
699
+ "title" => {
700
+ "max" => 80,
701
+ "length" => true
702
+ },
703
+ "upload_url" => {
704
+ "required" => true
439
705
  },
440
706
  "vocal_gender" => {
441
707
  "enum" => ["male", "female"]
@@ -443,19 +709,45 @@ module RunApi
443
709
  "vocal_mode" => {
444
710
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
445
711
  "required" => true
712
+ },
713
+ "weirdness_constraint" => {
714
+ "min" => 0,
715
+ "max" => 1
446
716
  }
447
717
  },
448
- "suno-v4.5-plus" => {
718
+ "suno-v6-wild" => {
719
+ "audio_weight" => {
720
+ "min" => 0,
721
+ "max" => 1
722
+ },
723
+ "lyrics" => {
724
+ "max" => 5000,
725
+ "length" => true
726
+ },
449
727
  "model" => {
450
728
  "required" => true
451
729
  },
452
730
  "persona_type" => {
453
731
  "enum" => ["style", "voice"]
454
732
  },
455
- "upload_url_list" => {
456
- "required" => true,
457
- "min_items" => 2,
458
- "max_items" => 2
733
+ "prompt" => {
734
+ "max" => 5000,
735
+ "length" => true
736
+ },
737
+ "style" => {
738
+ "max" => 1000,
739
+ "length" => true
740
+ },
741
+ "style_weight" => {
742
+ "min" => 0,
743
+ "max" => 1
744
+ },
745
+ "title" => {
746
+ "max" => 80,
747
+ "length" => true
748
+ },
749
+ "upload_url" => {
750
+ "required" => true
459
751
  },
460
752
  "vocal_gender" => {
461
753
  "enum" => ["male", "female"]
@@ -463,15 +755,259 @@ module RunApi
463
755
  "vocal_mode" => {
464
756
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
465
757
  "required" => true
758
+ },
759
+ "weirdness_constraint" => {
760
+ "min" => 0,
761
+ "max" => 1
466
762
  }
763
+ }
764
+ },
765
+ "rules" => [{
766
+ "when" => {
767
+ "vocal_mode" => "auto_lyrics"
467
768
  },
468
- "suno-v5" => {
769
+ "required" => ["prompt"],
770
+ "forbidden" => ["lyrics", "style", "title"]
771
+ }, {
772
+ "when" => {
773
+ "vocal_mode" => "exact_lyrics"
774
+ },
775
+ "required" => ["lyrics", "style", "title"],
776
+ "forbidden" => ["prompt"]
777
+ }, {
778
+ "when" => {
779
+ "vocal_mode" => "instrumental"
780
+ },
781
+ "required" => ["style", "title"],
782
+ "forbidden" => ["prompt", "lyrics"]
783
+ }]
784
+ },
785
+ "create-mashup" => {
786
+ "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5", "suno-v6", "suno-v6-mini", "suno-v6-wild"],
787
+ "fields_by_model" => {
788
+ "suno-v4" => {
789
+ "audio_weight" => {
790
+ "min" => 0,
791
+ "max" => 1
792
+ },
793
+ "lyrics" => {
794
+ "max" => 5000,
795
+ "length" => true
796
+ },
797
+ "model" => {
798
+ "required" => true
799
+ },
800
+ "persona_type" => {
801
+ "enum" => ["style", "voice"]
802
+ },
803
+ "prompt" => {
804
+ "max" => 5000,
805
+ "length" => true
806
+ },
807
+ "style" => {
808
+ "max" => 1000,
809
+ "length" => true
810
+ },
811
+ "style_weight" => {
812
+ "min" => 0,
813
+ "max" => 1
814
+ },
815
+ "title" => {
816
+ "max" => 80,
817
+ "length" => true
818
+ },
819
+ "upload_url_list" => {
820
+ "required" => true,
821
+ "min_items" => 2,
822
+ "max_items" => 2
823
+ },
824
+ "vocal_gender" => {
825
+ "enum" => ["male", "female"]
826
+ },
827
+ "vocal_mode" => {
828
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
829
+ "required" => true
830
+ },
831
+ "weirdness_constraint" => {
832
+ "min" => 0,
833
+ "max" => 1
834
+ }
835
+ },
836
+ "suno-v4.5" => {
837
+ "audio_weight" => {
838
+ "min" => 0,
839
+ "max" => 1
840
+ },
841
+ "lyrics" => {
842
+ "max" => 5000,
843
+ "length" => true
844
+ },
845
+ "model" => {
846
+ "required" => true
847
+ },
848
+ "persona_type" => {
849
+ "enum" => ["style", "voice"]
850
+ },
851
+ "prompt" => {
852
+ "max" => 5000,
853
+ "length" => true
854
+ },
855
+ "style" => {
856
+ "max" => 1000,
857
+ "length" => true
858
+ },
859
+ "style_weight" => {
860
+ "min" => 0,
861
+ "max" => 1
862
+ },
863
+ "title" => {
864
+ "max" => 80,
865
+ "length" => true
866
+ },
867
+ "upload_url_list" => {
868
+ "required" => true,
869
+ "min_items" => 2,
870
+ "max_items" => 2
871
+ },
872
+ "vocal_gender" => {
873
+ "enum" => ["male", "female"]
874
+ },
875
+ "vocal_mode" => {
876
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
877
+ "required" => true
878
+ },
879
+ "weirdness_constraint" => {
880
+ "min" => 0,
881
+ "max" => 1
882
+ }
883
+ },
884
+ "suno-v4.5-all" => {
885
+ "audio_weight" => {
886
+ "min" => 0,
887
+ "max" => 1
888
+ },
889
+ "lyrics" => {
890
+ "max" => 5000,
891
+ "length" => true
892
+ },
893
+ "model" => {
894
+ "required" => true
895
+ },
896
+ "persona_type" => {
897
+ "enum" => ["style", "voice"]
898
+ },
899
+ "prompt" => {
900
+ "max" => 5000,
901
+ "length" => true
902
+ },
903
+ "style" => {
904
+ "max" => 1000,
905
+ "length" => true
906
+ },
907
+ "style_weight" => {
908
+ "min" => 0,
909
+ "max" => 1
910
+ },
911
+ "title" => {
912
+ "max" => 80,
913
+ "length" => true
914
+ },
915
+ "upload_url_list" => {
916
+ "required" => true,
917
+ "min_items" => 2,
918
+ "max_items" => 2
919
+ },
920
+ "vocal_gender" => {
921
+ "enum" => ["male", "female"]
922
+ },
923
+ "vocal_mode" => {
924
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
925
+ "required" => true
926
+ },
927
+ "weirdness_constraint" => {
928
+ "min" => 0,
929
+ "max" => 1
930
+ }
931
+ },
932
+ "suno-v4.5-plus" => {
933
+ "audio_weight" => {
934
+ "min" => 0,
935
+ "max" => 1
936
+ },
937
+ "lyrics" => {
938
+ "max" => 5000,
939
+ "length" => true
940
+ },
941
+ "model" => {
942
+ "required" => true
943
+ },
944
+ "persona_type" => {
945
+ "enum" => ["style", "voice"]
946
+ },
947
+ "prompt" => {
948
+ "max" => 5000,
949
+ "length" => true
950
+ },
951
+ "style" => {
952
+ "max" => 1000,
953
+ "length" => true
954
+ },
955
+ "style_weight" => {
956
+ "min" => 0,
957
+ "max" => 1
958
+ },
959
+ "title" => {
960
+ "max" => 80,
961
+ "length" => true
962
+ },
963
+ "upload_url_list" => {
964
+ "required" => true,
965
+ "min_items" => 2,
966
+ "max_items" => 2
967
+ },
968
+ "vocal_gender" => {
969
+ "enum" => ["male", "female"]
970
+ },
971
+ "vocal_mode" => {
972
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
973
+ "required" => true
974
+ },
975
+ "weirdness_constraint" => {
976
+ "min" => 0,
977
+ "max" => 1
978
+ }
979
+ },
980
+ "suno-v5" => {
981
+ "audio_weight" => {
982
+ "min" => 0,
983
+ "max" => 1
984
+ },
985
+ "lyrics" => {
986
+ "max" => 5000,
987
+ "length" => true
988
+ },
469
989
  "model" => {
470
990
  "required" => true
471
991
  },
472
992
  "persona_type" => {
473
993
  "enum" => ["style", "voice"]
474
994
  },
995
+ "prompt" => {
996
+ "max" => 5000,
997
+ "length" => true
998
+ },
999
+ "style" => {
1000
+ "max" => 1000,
1001
+ "length" => true
1002
+ },
1003
+ "style_weight" => {
1004
+ "min" => 0,
1005
+ "max" => 1
1006
+ },
1007
+ "title" => {
1008
+ "max" => 80,
1009
+ "length" => true
1010
+ },
475
1011
  "upload_url_list" => {
476
1012
  "required" => true,
477
1013
  "min_items" => 2,
@@ -483,14 +1019,186 @@ module RunApi
483
1019
  "vocal_mode" => {
484
1020
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
485
1021
  "required" => true
1022
+ },
1023
+ "weirdness_constraint" => {
1024
+ "min" => 0,
1025
+ "max" => 1
486
1026
  }
487
1027
  },
488
1028
  "suno-v5.5" => {
1029
+ "audio_weight" => {
1030
+ "min" => 0,
1031
+ "max" => 1
1032
+ },
1033
+ "lyrics" => {
1034
+ "max" => 5000,
1035
+ "length" => true
1036
+ },
489
1037
  "model" => {
490
1038
  "required" => true
491
1039
  },
492
- "persona_type" => {
493
- "enum" => ["style", "voice"]
1040
+ "persona_type" => {
1041
+ "enum" => ["style", "voice"]
1042
+ },
1043
+ "prompt" => {
1044
+ "max" => 5000,
1045
+ "length" => true
1046
+ },
1047
+ "style" => {
1048
+ "max" => 1000,
1049
+ "length" => true
1050
+ },
1051
+ "style_weight" => {
1052
+ "min" => 0,
1053
+ "max" => 1
1054
+ },
1055
+ "title" => {
1056
+ "max" => 80,
1057
+ "length" => true
1058
+ },
1059
+ "upload_url_list" => {
1060
+ "required" => true,
1061
+ "min_items" => 2,
1062
+ "max_items" => 2
1063
+ },
1064
+ "vocal_gender" => {
1065
+ "enum" => ["male", "female"]
1066
+ },
1067
+ "vocal_mode" => {
1068
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1069
+ "required" => true
1070
+ },
1071
+ "weirdness_constraint" => {
1072
+ "min" => 0,
1073
+ "max" => 1
1074
+ }
1075
+ },
1076
+ "suno-v6" => {
1077
+ "audio_weight" => {
1078
+ "min" => 0,
1079
+ "max" => 1
1080
+ },
1081
+ "lyrics" => {
1082
+ "max" => 5000,
1083
+ "length" => true
1084
+ },
1085
+ "model" => {
1086
+ "required" => true
1087
+ },
1088
+ "persona_type" => {
1089
+ "enum" => ["style", "voice"]
1090
+ },
1091
+ "prompt" => {
1092
+ "max" => 5000,
1093
+ "length" => true
1094
+ },
1095
+ "style" => {
1096
+ "max" => 1000,
1097
+ "length" => true
1098
+ },
1099
+ "style_weight" => {
1100
+ "min" => 0,
1101
+ "max" => 1
1102
+ },
1103
+ "title" => {
1104
+ "max" => 80,
1105
+ "length" => true
1106
+ },
1107
+ "upload_url_list" => {
1108
+ "required" => true,
1109
+ "min_items" => 2,
1110
+ "max_items" => 2
1111
+ },
1112
+ "vocal_gender" => {
1113
+ "enum" => ["male", "female"]
1114
+ },
1115
+ "vocal_mode" => {
1116
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1117
+ "required" => true
1118
+ },
1119
+ "weirdness_constraint" => {
1120
+ "min" => 0,
1121
+ "max" => 1
1122
+ }
1123
+ },
1124
+ "suno-v6-mini" => {
1125
+ "audio_weight" => {
1126
+ "min" => 0,
1127
+ "max" => 1
1128
+ },
1129
+ "lyrics" => {
1130
+ "max" => 5000,
1131
+ "length" => true
1132
+ },
1133
+ "model" => {
1134
+ "required" => true
1135
+ },
1136
+ "persona_type" => {
1137
+ "enum" => ["style", "voice"]
1138
+ },
1139
+ "prompt" => {
1140
+ "max" => 5000,
1141
+ "length" => true
1142
+ },
1143
+ "style" => {
1144
+ "max" => 1000,
1145
+ "length" => true
1146
+ },
1147
+ "style_weight" => {
1148
+ "min" => 0,
1149
+ "max" => 1
1150
+ },
1151
+ "title" => {
1152
+ "max" => 80,
1153
+ "length" => true
1154
+ },
1155
+ "upload_url_list" => {
1156
+ "required" => true,
1157
+ "min_items" => 2,
1158
+ "max_items" => 2
1159
+ },
1160
+ "vocal_gender" => {
1161
+ "enum" => ["male", "female"]
1162
+ },
1163
+ "vocal_mode" => {
1164
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1165
+ "required" => true
1166
+ },
1167
+ "weirdness_constraint" => {
1168
+ "min" => 0,
1169
+ "max" => 1
1170
+ }
1171
+ },
1172
+ "suno-v6-wild" => {
1173
+ "audio_weight" => {
1174
+ "min" => 0,
1175
+ "max" => 1
1176
+ },
1177
+ "lyrics" => {
1178
+ "max" => 5000,
1179
+ "length" => true
1180
+ },
1181
+ "model" => {
1182
+ "required" => true
1183
+ },
1184
+ "persona_type" => {
1185
+ "enum" => ["style", "voice"]
1186
+ },
1187
+ "prompt" => {
1188
+ "max" => 5000,
1189
+ "length" => true
1190
+ },
1191
+ "style" => {
1192
+ "max" => 1000,
1193
+ "length" => true
1194
+ },
1195
+ "style_weight" => {
1196
+ "min" => 0,
1197
+ "max" => 1
1198
+ },
1199
+ "title" => {
1200
+ "max" => 80,
1201
+ "length" => true
494
1202
  },
495
1203
  "upload_url_list" => {
496
1204
  "required" => true,
@@ -503,6 +1211,10 @@ module RunApi
503
1211
  "vocal_mode" => {
504
1212
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
505
1213
  "required" => true
1214
+ },
1215
+ "weirdness_constraint" => {
1216
+ "min" => 0,
1217
+ "max" => 1
506
1218
  }
507
1219
  }
508
1220
  },
@@ -527,9 +1239,17 @@ module RunApi
527
1239
  }]
528
1240
  },
529
1241
  "extend-music" => {
530
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
1242
+ "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5", "suno-v6", "suno-v6-mini", "suno-v6-wild"],
531
1243
  "fields_by_model" => {
532
1244
  "suno-v4" => {
1245
+ "audio_weight" => {
1246
+ "min" => 0,
1247
+ "max" => 1
1248
+ },
1249
+ "lyrics" => {
1250
+ "max" => 5000,
1251
+ "length" => true
1252
+ },
533
1253
  "model" => {
534
1254
  "required" => true
535
1255
  },
@@ -540,11 +1260,39 @@ module RunApi
540
1260
  "persona_type" => {
541
1261
  "enum" => ["style", "voice"]
542
1262
  },
1263
+ "prompt" => {
1264
+ "max" => 5000,
1265
+ "length" => true
1266
+ },
1267
+ "style" => {
1268
+ "max" => 1000,
1269
+ "length" => true
1270
+ },
1271
+ "style_weight" => {
1272
+ "min" => 0,
1273
+ "max" => 1
1274
+ },
1275
+ "title" => {
1276
+ "max" => 80,
1277
+ "length" => true
1278
+ },
543
1279
  "vocal_gender" => {
544
1280
  "enum" => ["male", "female"]
1281
+ },
1282
+ "weirdness_constraint" => {
1283
+ "min" => 0,
1284
+ "max" => 1
545
1285
  }
546
1286
  },
547
1287
  "suno-v4.5" => {
1288
+ "audio_weight" => {
1289
+ "min" => 0,
1290
+ "max" => 1
1291
+ },
1292
+ "lyrics" => {
1293
+ "max" => 5000,
1294
+ "length" => true
1295
+ },
548
1296
  "model" => {
549
1297
  "required" => true
550
1298
  },
@@ -555,11 +1303,39 @@ module RunApi
555
1303
  "persona_type" => {
556
1304
  "enum" => ["style", "voice"]
557
1305
  },
1306
+ "prompt" => {
1307
+ "max" => 5000,
1308
+ "length" => true
1309
+ },
1310
+ "style" => {
1311
+ "max" => 1000,
1312
+ "length" => true
1313
+ },
1314
+ "style_weight" => {
1315
+ "min" => 0,
1316
+ "max" => 1
1317
+ },
1318
+ "title" => {
1319
+ "max" => 80,
1320
+ "length" => true
1321
+ },
558
1322
  "vocal_gender" => {
559
1323
  "enum" => ["male", "female"]
1324
+ },
1325
+ "weirdness_constraint" => {
1326
+ "min" => 0,
1327
+ "max" => 1
560
1328
  }
561
1329
  },
562
1330
  "suno-v4.5-all" => {
1331
+ "audio_weight" => {
1332
+ "min" => 0,
1333
+ "max" => 1
1334
+ },
1335
+ "lyrics" => {
1336
+ "max" => 5000,
1337
+ "length" => true
1338
+ },
563
1339
  "model" => {
564
1340
  "required" => true
565
1341
  },
@@ -570,11 +1346,39 @@ module RunApi
570
1346
  "persona_type" => {
571
1347
  "enum" => ["style", "voice"]
572
1348
  },
1349
+ "prompt" => {
1350
+ "max" => 5000,
1351
+ "length" => true
1352
+ },
1353
+ "style" => {
1354
+ "max" => 1000,
1355
+ "length" => true
1356
+ },
1357
+ "style_weight" => {
1358
+ "min" => 0,
1359
+ "max" => 1
1360
+ },
1361
+ "title" => {
1362
+ "max" => 80,
1363
+ "length" => true
1364
+ },
573
1365
  "vocal_gender" => {
574
1366
  "enum" => ["male", "female"]
1367
+ },
1368
+ "weirdness_constraint" => {
1369
+ "min" => 0,
1370
+ "max" => 1
575
1371
  }
576
1372
  },
577
1373
  "suno-v4.5-plus" => {
1374
+ "audio_weight" => {
1375
+ "min" => 0,
1376
+ "max" => 1
1377
+ },
1378
+ "lyrics" => {
1379
+ "max" => 5000,
1380
+ "length" => true
1381
+ },
578
1382
  "model" => {
579
1383
  "required" => true
580
1384
  },
@@ -585,11 +1389,39 @@ module RunApi
585
1389
  "persona_type" => {
586
1390
  "enum" => ["style", "voice"]
587
1391
  },
1392
+ "prompt" => {
1393
+ "max" => 5000,
1394
+ "length" => true
1395
+ },
1396
+ "style" => {
1397
+ "max" => 1000,
1398
+ "length" => true
1399
+ },
1400
+ "style_weight" => {
1401
+ "min" => 0,
1402
+ "max" => 1
1403
+ },
1404
+ "title" => {
1405
+ "max" => 80,
1406
+ "length" => true
1407
+ },
588
1408
  "vocal_gender" => {
589
1409
  "enum" => ["male", "female"]
1410
+ },
1411
+ "weirdness_constraint" => {
1412
+ "min" => 0,
1413
+ "max" => 1
590
1414
  }
591
1415
  },
592
1416
  "suno-v5" => {
1417
+ "audio_weight" => {
1418
+ "min" => 0,
1419
+ "max" => 1
1420
+ },
1421
+ "lyrics" => {
1422
+ "max" => 5000,
1423
+ "length" => true
1424
+ },
593
1425
  "model" => {
594
1426
  "required" => true
595
1427
  },
@@ -600,11 +1432,168 @@ module RunApi
600
1432
  "persona_type" => {
601
1433
  "enum" => ["style", "voice"]
602
1434
  },
1435
+ "prompt" => {
1436
+ "max" => 5000,
1437
+ "length" => true
1438
+ },
1439
+ "style" => {
1440
+ "max" => 1000,
1441
+ "length" => true
1442
+ },
1443
+ "style_weight" => {
1444
+ "min" => 0,
1445
+ "max" => 1
1446
+ },
1447
+ "title" => {
1448
+ "max" => 80,
1449
+ "length" => true
1450
+ },
603
1451
  "vocal_gender" => {
604
1452
  "enum" => ["male", "female"]
1453
+ },
1454
+ "weirdness_constraint" => {
1455
+ "min" => 0,
1456
+ "max" => 1
605
1457
  }
606
1458
  },
607
1459
  "suno-v5.5" => {
1460
+ "audio_weight" => {
1461
+ "min" => 0,
1462
+ "max" => 1
1463
+ },
1464
+ "lyrics" => {
1465
+ "max" => 5000,
1466
+ "length" => true
1467
+ },
1468
+ "model" => {
1469
+ "required" => true
1470
+ },
1471
+ "parameter_mode" => {
1472
+ "enum" => ["source", "custom"],
1473
+ "required" => true
1474
+ },
1475
+ "persona_type" => {
1476
+ "enum" => ["style", "voice"]
1477
+ },
1478
+ "prompt" => {
1479
+ "max" => 5000,
1480
+ "length" => true
1481
+ },
1482
+ "style" => {
1483
+ "max" => 1000,
1484
+ "length" => true
1485
+ },
1486
+ "style_weight" => {
1487
+ "min" => 0,
1488
+ "max" => 1
1489
+ },
1490
+ "title" => {
1491
+ "max" => 80,
1492
+ "length" => true
1493
+ },
1494
+ "vocal_gender" => {
1495
+ "enum" => ["male", "female"]
1496
+ },
1497
+ "weirdness_constraint" => {
1498
+ "min" => 0,
1499
+ "max" => 1
1500
+ }
1501
+ },
1502
+ "suno-v6" => {
1503
+ "audio_weight" => {
1504
+ "min" => 0,
1505
+ "max" => 1
1506
+ },
1507
+ "lyrics" => {
1508
+ "max" => 5000,
1509
+ "length" => true
1510
+ },
1511
+ "model" => {
1512
+ "required" => true
1513
+ },
1514
+ "parameter_mode" => {
1515
+ "enum" => ["source", "custom"],
1516
+ "required" => true
1517
+ },
1518
+ "persona_type" => {
1519
+ "enum" => ["style", "voice"]
1520
+ },
1521
+ "prompt" => {
1522
+ "max" => 5000,
1523
+ "length" => true
1524
+ },
1525
+ "style" => {
1526
+ "max" => 1000,
1527
+ "length" => true
1528
+ },
1529
+ "style_weight" => {
1530
+ "min" => 0,
1531
+ "max" => 1
1532
+ },
1533
+ "title" => {
1534
+ "max" => 80,
1535
+ "length" => true
1536
+ },
1537
+ "vocal_gender" => {
1538
+ "enum" => ["male", "female"]
1539
+ },
1540
+ "weirdness_constraint" => {
1541
+ "min" => 0,
1542
+ "max" => 1
1543
+ }
1544
+ },
1545
+ "suno-v6-mini" => {
1546
+ "audio_weight" => {
1547
+ "min" => 0,
1548
+ "max" => 1
1549
+ },
1550
+ "lyrics" => {
1551
+ "max" => 5000,
1552
+ "length" => true
1553
+ },
1554
+ "model" => {
1555
+ "required" => true
1556
+ },
1557
+ "parameter_mode" => {
1558
+ "enum" => ["source", "custom"],
1559
+ "required" => true
1560
+ },
1561
+ "persona_type" => {
1562
+ "enum" => ["style", "voice"]
1563
+ },
1564
+ "prompt" => {
1565
+ "max" => 5000,
1566
+ "length" => true
1567
+ },
1568
+ "style" => {
1569
+ "max" => 1000,
1570
+ "length" => true
1571
+ },
1572
+ "style_weight" => {
1573
+ "min" => 0,
1574
+ "max" => 1
1575
+ },
1576
+ "title" => {
1577
+ "max" => 80,
1578
+ "length" => true
1579
+ },
1580
+ "vocal_gender" => {
1581
+ "enum" => ["male", "female"]
1582
+ },
1583
+ "weirdness_constraint" => {
1584
+ "min" => 0,
1585
+ "max" => 1
1586
+ }
1587
+ },
1588
+ "suno-v6-wild" => {
1589
+ "audio_weight" => {
1590
+ "min" => 0,
1591
+ "max" => 1
1592
+ },
1593
+ "lyrics" => {
1594
+ "max" => 5000,
1595
+ "length" => true
1596
+ },
608
1597
  "model" => {
609
1598
  "required" => true
610
1599
  },
@@ -615,8 +1604,28 @@ module RunApi
615
1604
  "persona_type" => {
616
1605
  "enum" => ["style", "voice"]
617
1606
  },
1607
+ "prompt" => {
1608
+ "max" => 5000,
1609
+ "length" => true
1610
+ },
1611
+ "style" => {
1612
+ "max" => 1000,
1613
+ "length" => true
1614
+ },
1615
+ "style_weight" => {
1616
+ "min" => 0,
1617
+ "max" => 1
1618
+ },
1619
+ "title" => {
1620
+ "max" => 80,
1621
+ "length" => true
1622
+ },
618
1623
  "vocal_gender" => {
619
1624
  "enum" => ["male", "female"]
1625
+ },
1626
+ "weirdness_constraint" => {
1627
+ "min" => 0,
1628
+ "max" => 1
620
1629
  }
621
1630
  }
622
1631
  }
@@ -743,13 +1752,127 @@ module RunApi
743
1752
  }
744
1753
  },
745
1754
  "suno-v5.5" => {
746
- "audio_urls" => {
1755
+ "audio_urls" => {
1756
+ "required" => true,
1757
+ "min_items" => 1,
1758
+ "max_items" => 4
1759
+ },
1760
+ "model" => {
1761
+ "required" => true
1762
+ }
1763
+ }
1764
+ }
1765
+ },
1766
+ "music-from-sample" => {
1767
+ "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
1768
+ "fields_by_model" => {
1769
+ "suno-v4" => {
1770
+ "audio_url" => {
1771
+ "required" => true
1772
+ },
1773
+ "end_seconds" => {
1774
+ "required" => true,
1775
+ "min" => 0
1776
+ },
1777
+ "model" => {
1778
+ "required" => true
1779
+ },
1780
+ "start_seconds" => {
1781
+ "required" => true,
1782
+ "min" => 0
1783
+ }
1784
+ },
1785
+ "suno-v4.5" => {
1786
+ "audio_url" => {
1787
+ "required" => true
1788
+ },
1789
+ "end_seconds" => {
1790
+ "required" => true,
1791
+ "min" => 0
1792
+ },
1793
+ "model" => {
1794
+ "required" => true
1795
+ },
1796
+ "start_seconds" => {
1797
+ "required" => true,
1798
+ "min" => 0
1799
+ }
1800
+ },
1801
+ "suno-v4.5-plus" => {
1802
+ "audio_url" => {
1803
+ "required" => true
1804
+ },
1805
+ "end_seconds" => {
1806
+ "required" => true,
1807
+ "min" => 0
1808
+ },
1809
+ "model" => {
1810
+ "required" => true
1811
+ },
1812
+ "start_seconds" => {
1813
+ "required" => true,
1814
+ "min" => 0
1815
+ }
1816
+ },
1817
+ "suno-v5" => {
1818
+ "audio_url" => {
1819
+ "required" => true
1820
+ },
1821
+ "end_seconds" => {
1822
+ "required" => true,
1823
+ "min" => 0
1824
+ },
1825
+ "model" => {
1826
+ "required" => true
1827
+ },
1828
+ "start_seconds" => {
1829
+ "required" => true,
1830
+ "min" => 0
1831
+ }
1832
+ },
1833
+ "suno-v5.5" => {
1834
+ "audio_url" => {
1835
+ "required" => true
1836
+ },
1837
+ "end_seconds" => {
747
1838
  "required" => true,
748
- "min_items" => 1,
749
- "max_items" => 4
1839
+ "min" => 0
750
1840
  },
751
1841
  "model" => {
752
1842
  "required" => true
1843
+ },
1844
+ "start_seconds" => {
1845
+ "required" => true,
1846
+ "min" => 0
1847
+ }
1848
+ }
1849
+ }
1850
+ },
1851
+ "music-visualizations" => {
1852
+ "models" => [],
1853
+ "fields_by_model" => {
1854
+ "_" => {
1855
+ "source_audio_id" => {
1856
+ "required" => true
1857
+ }
1858
+ }
1859
+ }
1860
+ },
1861
+ "personas" => {
1862
+ "models" => [],
1863
+ "fields_by_model" => {
1864
+ "_" => {
1865
+ "description" => {
1866
+ "required" => true
1867
+ },
1868
+ "name" => {
1869
+ "required" => true
1870
+ },
1871
+ "source_audio_id" => {
1872
+ "required" => true
1873
+ },
1874
+ "source_task_id" => {
1875
+ "required" => true
753
1876
  }
754
1877
  }
755
1878
  }
@@ -829,7 +1952,9 @@ module RunApi
829
1952
  "fields_by_model" => {
830
1953
  "_" => {
831
1954
  "full_lyrics" => {
832
- "required" => true
1955
+ "required" => true,
1956
+ "max" => 5000,
1957
+ "length" => true
833
1958
  },
834
1959
  "infill_end_time" => {
835
1960
  "required" => true
@@ -838,16 +1963,22 @@ module RunApi
838
1963
  "required" => true
839
1964
  },
840
1965
  "lyrics" => {
841
- "required" => true
1966
+ "required" => true,
1967
+ "max" => 5000,
1968
+ "length" => true
842
1969
  },
843
1970
  "model" => {
844
- "enum" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"]
1971
+ "enum" => ["suno-v6", "suno-v6-wild", "suno-v6-mini", "suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"]
845
1972
  },
846
1973
  "tags" => {
847
- "required" => true
1974
+ "required" => true,
1975
+ "max" => 1000,
1976
+ "length" => true
848
1977
  },
849
1978
  "title" => {
850
- "required" => true
1979
+ "required" => true,
1980
+ "max" => 80,
1981
+ "length" => true
851
1982
  }
852
1983
  }
853
1984
  }
@@ -937,15 +2068,33 @@ module RunApi
937
2068
  }
938
2069
  }
939
2070
  },
2071
+ "style-expansions" => {
2072
+ "models" => [],
2073
+ "fields_by_model" => {
2074
+ "_" => {
2075
+ "description" => {
2076
+ "required" => true
2077
+ }
2078
+ }
2079
+ }
2080
+ },
940
2081
  "text-to-music" => {
941
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
2082
+ "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5", "suno-v6", "suno-v6-mini", "suno-v6-wild"],
942
2083
  "fields_by_model" => {
943
2084
  "suno-v4" => {
2085
+ "audio_weight" => {
2086
+ "min" => 0,
2087
+ "max" => 1
2088
+ },
944
2089
  "duration_seconds" => {
945
2090
  "min" => 10,
946
2091
  "max" => 360,
947
2092
  "type" => "integer"
948
2093
  },
2094
+ "lyrics" => {
2095
+ "max" => 5000,
2096
+ "length" => true
2097
+ },
949
2098
  "model" => {
950
2099
  "required" => true
951
2100
  },
@@ -953,7 +2102,19 @@ module RunApi
953
2102
  "enum" => ["style", "voice"]
954
2103
  },
955
2104
  "prompt" => {
956
- "max" => 3000,
2105
+ "max" => 5000,
2106
+ "length" => true
2107
+ },
2108
+ "style" => {
2109
+ "max" => 1000,
2110
+ "length" => true
2111
+ },
2112
+ "style_weight" => {
2113
+ "min" => 0,
2114
+ "max" => 1
2115
+ },
2116
+ "title" => {
2117
+ "max" => 80,
957
2118
  "length" => true
958
2119
  },
959
2120
  "vocal_gender" => {
@@ -962,14 +2123,26 @@ module RunApi
962
2123
  "vocal_mode" => {
963
2124
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
964
2125
  "required" => true
2126
+ },
2127
+ "weirdness_constraint" => {
2128
+ "min" => 0,
2129
+ "max" => 1
965
2130
  }
966
2131
  },
967
2132
  "suno-v4.5" => {
2133
+ "audio_weight" => {
2134
+ "min" => 0,
2135
+ "max" => 1
2136
+ },
968
2137
  "duration_seconds" => {
969
2138
  "min" => 10,
970
2139
  "max" => 360,
971
2140
  "type" => "integer"
972
2141
  },
2142
+ "lyrics" => {
2143
+ "max" => 5000,
2144
+ "length" => true
2145
+ },
973
2146
  "model" => {
974
2147
  "required" => true
975
2148
  },
@@ -977,7 +2150,19 @@ module RunApi
977
2150
  "enum" => ["style", "voice"]
978
2151
  },
979
2152
  "prompt" => {
980
- "max" => 3000,
2153
+ "max" => 5000,
2154
+ "length" => true
2155
+ },
2156
+ "style" => {
2157
+ "max" => 1000,
2158
+ "length" => true
2159
+ },
2160
+ "style_weight" => {
2161
+ "min" => 0,
2162
+ "max" => 1
2163
+ },
2164
+ "title" => {
2165
+ "max" => 80,
981
2166
  "length" => true
982
2167
  },
983
2168
  "vocal_gender" => {
@@ -986,14 +2171,26 @@ module RunApi
986
2171
  "vocal_mode" => {
987
2172
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
988
2173
  "required" => true
2174
+ },
2175
+ "weirdness_constraint" => {
2176
+ "min" => 0,
2177
+ "max" => 1
989
2178
  }
990
2179
  },
991
2180
  "suno-v4.5-all" => {
2181
+ "audio_weight" => {
2182
+ "min" => 0,
2183
+ "max" => 1
2184
+ },
992
2185
  "duration_seconds" => {
993
2186
  "min" => 10,
994
2187
  "max" => 360,
995
2188
  "type" => "integer"
996
2189
  },
2190
+ "lyrics" => {
2191
+ "max" => 5000,
2192
+ "length" => true
2193
+ },
997
2194
  "model" => {
998
2195
  "required" => true
999
2196
  },
@@ -1001,7 +2198,19 @@ module RunApi
1001
2198
  "enum" => ["style", "voice"]
1002
2199
  },
1003
2200
  "prompt" => {
1004
- "max" => 3000,
2201
+ "max" => 5000,
2202
+ "length" => true
2203
+ },
2204
+ "style" => {
2205
+ "max" => 1000,
2206
+ "length" => true
2207
+ },
2208
+ "style_weight" => {
2209
+ "min" => 0,
2210
+ "max" => 1
2211
+ },
2212
+ "title" => {
2213
+ "max" => 80,
1005
2214
  "length" => true
1006
2215
  },
1007
2216
  "vocal_gender" => {
@@ -1010,14 +2219,26 @@ module RunApi
1010
2219
  "vocal_mode" => {
1011
2220
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1012
2221
  "required" => true
2222
+ },
2223
+ "weirdness_constraint" => {
2224
+ "min" => 0,
2225
+ "max" => 1
1013
2226
  }
1014
2227
  },
1015
2228
  "suno-v4.5-plus" => {
2229
+ "audio_weight" => {
2230
+ "min" => 0,
2231
+ "max" => 1
2232
+ },
1016
2233
  "duration_seconds" => {
1017
2234
  "min" => 10,
1018
2235
  "max" => 360,
1019
2236
  "type" => "integer"
1020
2237
  },
2238
+ "lyrics" => {
2239
+ "max" => 5000,
2240
+ "length" => true
2241
+ },
1021
2242
  "model" => {
1022
2243
  "required" => true
1023
2244
  },
@@ -1025,7 +2246,19 @@ module RunApi
1025
2246
  "enum" => ["style", "voice"]
1026
2247
  },
1027
2248
  "prompt" => {
1028
- "max" => 3000,
2249
+ "max" => 5000,
2250
+ "length" => true
2251
+ },
2252
+ "style" => {
2253
+ "max" => 1000,
2254
+ "length" => true
2255
+ },
2256
+ "style_weight" => {
2257
+ "min" => 0,
2258
+ "max" => 1
2259
+ },
2260
+ "title" => {
2261
+ "max" => 80,
1029
2262
  "length" => true
1030
2263
  },
1031
2264
  "vocal_gender" => {
@@ -1034,14 +2267,26 @@ module RunApi
1034
2267
  "vocal_mode" => {
1035
2268
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1036
2269
  "required" => true
2270
+ },
2271
+ "weirdness_constraint" => {
2272
+ "min" => 0,
2273
+ "max" => 1
1037
2274
  }
1038
2275
  },
1039
2276
  "suno-v5" => {
2277
+ "audio_weight" => {
2278
+ "min" => 0,
2279
+ "max" => 1
2280
+ },
1040
2281
  "duration_seconds" => {
1041
2282
  "min" => 10,
1042
2283
  "max" => 360,
1043
2284
  "type" => "integer"
1044
2285
  },
2286
+ "lyrics" => {
2287
+ "max" => 5000,
2288
+ "length" => true
2289
+ },
1045
2290
  "model" => {
1046
2291
  "required" => true
1047
2292
  },
@@ -1049,7 +2294,19 @@ module RunApi
1049
2294
  "enum" => ["style", "voice"]
1050
2295
  },
1051
2296
  "prompt" => {
1052
- "max" => 3000,
2297
+ "max" => 5000,
2298
+ "length" => true
2299
+ },
2300
+ "style" => {
2301
+ "max" => 1000,
2302
+ "length" => true
2303
+ },
2304
+ "style_weight" => {
2305
+ "min" => 0,
2306
+ "max" => 1
2307
+ },
2308
+ "title" => {
2309
+ "max" => 80,
1053
2310
  "length" => true
1054
2311
  },
1055
2312
  "vocal_gender" => {
@@ -1058,14 +2315,170 @@ module RunApi
1058
2315
  "vocal_mode" => {
1059
2316
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1060
2317
  "required" => true
2318
+ },
2319
+ "weirdness_constraint" => {
2320
+ "min" => 0,
2321
+ "max" => 1
1061
2322
  }
1062
2323
  },
1063
2324
  "suno-v5.5" => {
2325
+ "audio_weight" => {
2326
+ "min" => 0,
2327
+ "max" => 1
2328
+ },
2329
+ "duration_seconds" => {
2330
+ "min" => 10,
2331
+ "max" => 360,
2332
+ "type" => "integer"
2333
+ },
2334
+ "lyrics" => {
2335
+ "max" => 5000,
2336
+ "length" => true
2337
+ },
2338
+ "model" => {
2339
+ "required" => true
2340
+ },
2341
+ "persona_type" => {
2342
+ "enum" => ["style", "voice"]
2343
+ },
2344
+ "prompt" => {
2345
+ "max" => 5000,
2346
+ "length" => true
2347
+ },
2348
+ "style" => {
2349
+ "max" => 1000,
2350
+ "length" => true
2351
+ },
2352
+ "style_weight" => {
2353
+ "min" => 0,
2354
+ "max" => 1
2355
+ },
2356
+ "title" => {
2357
+ "max" => 80,
2358
+ "length" => true
2359
+ },
2360
+ "vocal_gender" => {
2361
+ "enum" => ["male", "female"]
2362
+ },
2363
+ "vocal_mode" => {
2364
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2365
+ "required" => true
2366
+ },
2367
+ "weirdness_constraint" => {
2368
+ "min" => 0,
2369
+ "max" => 1
2370
+ }
2371
+ },
2372
+ "suno-v6" => {
2373
+ "audio_weight" => {
2374
+ "min" => 0,
2375
+ "max" => 1
2376
+ },
2377
+ "duration_seconds" => {
2378
+ "min" => 10,
2379
+ "max" => 360,
2380
+ "type" => "integer"
2381
+ },
2382
+ "lyrics" => {
2383
+ "max" => 5000,
2384
+ "length" => true
2385
+ },
2386
+ "model" => {
2387
+ "required" => true
2388
+ },
2389
+ "persona_type" => {
2390
+ "enum" => ["style", "voice"]
2391
+ },
2392
+ "prompt" => {
2393
+ "max" => 5000,
2394
+ "length" => true
2395
+ },
2396
+ "style" => {
2397
+ "max" => 1000,
2398
+ "length" => true
2399
+ },
2400
+ "style_weight" => {
2401
+ "min" => 0,
2402
+ "max" => 1
2403
+ },
2404
+ "title" => {
2405
+ "max" => 80,
2406
+ "length" => true
2407
+ },
2408
+ "vocal_gender" => {
2409
+ "enum" => ["male", "female"]
2410
+ },
2411
+ "vocal_mode" => {
2412
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2413
+ "required" => true
2414
+ },
2415
+ "weirdness_constraint" => {
2416
+ "min" => 0,
2417
+ "max" => 1
2418
+ }
2419
+ },
2420
+ "suno-v6-mini" => {
2421
+ "audio_weight" => {
2422
+ "min" => 0,
2423
+ "max" => 1
2424
+ },
2425
+ "duration_seconds" => {
2426
+ "min" => 10,
2427
+ "max" => 360,
2428
+ "type" => "integer"
2429
+ },
2430
+ "lyrics" => {
2431
+ "max" => 5000,
2432
+ "length" => true
2433
+ },
2434
+ "model" => {
2435
+ "required" => true
2436
+ },
2437
+ "persona_type" => {
2438
+ "enum" => ["style", "voice"]
2439
+ },
2440
+ "prompt" => {
2441
+ "max" => 5000,
2442
+ "length" => true
2443
+ },
2444
+ "style" => {
2445
+ "max" => 1000,
2446
+ "length" => true
2447
+ },
2448
+ "style_weight" => {
2449
+ "min" => 0,
2450
+ "max" => 1
2451
+ },
2452
+ "title" => {
2453
+ "max" => 80,
2454
+ "length" => true
2455
+ },
2456
+ "vocal_gender" => {
2457
+ "enum" => ["male", "female"]
2458
+ },
2459
+ "vocal_mode" => {
2460
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2461
+ "required" => true
2462
+ },
2463
+ "weirdness_constraint" => {
2464
+ "min" => 0,
2465
+ "max" => 1
2466
+ }
2467
+ },
2468
+ "suno-v6-wild" => {
2469
+ "audio_weight" => {
2470
+ "min" => 0,
2471
+ "max" => 1
2472
+ },
1064
2473
  "duration_seconds" => {
1065
2474
  "min" => 10,
1066
2475
  "max" => 360,
1067
2476
  "type" => "integer"
1068
2477
  },
2478
+ "lyrics" => {
2479
+ "max" => 5000,
2480
+ "length" => true
2481
+ },
1069
2482
  "model" => {
1070
2483
  "required" => true
1071
2484
  },
@@ -1073,7 +2486,19 @@ module RunApi
1073
2486
  "enum" => ["style", "voice"]
1074
2487
  },
1075
2488
  "prompt" => {
1076
- "max" => 3000,
2489
+ "max" => 5000,
2490
+ "length" => true
2491
+ },
2492
+ "style" => {
2493
+ "max" => 1000,
2494
+ "length" => true
2495
+ },
2496
+ "style_weight" => {
2497
+ "min" => 0,
2498
+ "max" => 1
2499
+ },
2500
+ "title" => {
2501
+ "max" => 80,
1077
2502
  "length" => true
1078
2503
  },
1079
2504
  "vocal_gender" => {
@@ -1082,6 +2507,10 @@ module RunApi
1082
2507
  "vocal_mode" => {
1083
2508
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1084
2509
  "required" => true
2510
+ },
2511
+ "weirdness_constraint" => {
2512
+ "min" => 0,
2513
+ "max" => 1
1085
2514
  }
1086
2515
  }
1087
2516
  },
@@ -1128,6 +2557,13 @@ module RunApi
1128
2557
  "model" => "suno-v5"
1129
2558
  },
1130
2559
  "forbidden" => ["duration_seconds"]
2560
+ }, {
2561
+ "when" => {
2562
+ "voice_id" => {
2563
+ "present" => true
2564
+ }
2565
+ },
2566
+ "forbidden" => ["persona_id", "persona_type"]
1131
2567
  }]
1132
2568
  },
1133
2569
  "text-to-sound" => {
@@ -1163,6 +2599,16 @@ module RunApi
1163
2599
  }
1164
2600
  }
1165
2601
  },
2602
+ "timestamped-lyrics" => {
2603
+ "models" => [],
2604
+ "fields_by_model" => {
2605
+ "_" => {
2606
+ "source_audio_id" => {
2607
+ "required" => true
2608
+ }
2609
+ }
2610
+ }
2611
+ },
1166
2612
  "visualize-music" => {
1167
2613
  "models" => [],
1168
2614
  "fields_by_model" => {
@@ -1196,6 +2642,16 @@ module RunApi
1196
2642
  }
1197
2643
  }
1198
2644
  }
2645
+ },
2646
+ "voices" => {
2647
+ "models" => [],
2648
+ "fields_by_model" => {
2649
+ "_" => {
2650
+ "source_audio_url" => {
2651
+ "required" => true
2652
+ }
2653
+ }
2654
+ }
1199
2655
  }
1200
2656
  }.freeze
1201
2657
  end