runapi-suno 0.4.3 → 0.5.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.
@@ -288,6 +288,16 @@ module RunApi
288
288
  }
289
289
  }
290
290
  },
291
+ "audio-exports" => {
292
+ "models" => [],
293
+ "fields_by_model" => {
294
+ "_" => {
295
+ "source_audio_id" => {
296
+ "required" => true
297
+ }
298
+ }
299
+ }
300
+ },
291
301
  "blend-lyrics" => {
292
302
  "models" => [],
293
303
  "fields_by_model" => {
@@ -335,7 +345,7 @@ module RunApi
335
345
  }
336
346
  },
337
347
  "cover-audio" => {
338
- "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"],
339
349
  "fields_by_model" => {
340
350
  "suno-v4" => {
341
351
  "audio_weight" => {
@@ -612,6 +622,144 @@ module RunApi
612
622
  "min" => 0,
613
623
  "max" => 1
614
624
  }
625
+ },
626
+ "suno-v6" => {
627
+ "audio_weight" => {
628
+ "min" => 0,
629
+ "max" => 1
630
+ },
631
+ "lyrics" => {
632
+ "max" => 5000,
633
+ "length" => true
634
+ },
635
+ "model" => {
636
+ "required" => true
637
+ },
638
+ "persona_type" => {
639
+ "enum" => ["style", "voice"]
640
+ },
641
+ "prompt" => {
642
+ "max" => 5000,
643
+ "length" => true
644
+ },
645
+ "style" => {
646
+ "max" => 1000,
647
+ "length" => true
648
+ },
649
+ "style_weight" => {
650
+ "min" => 0,
651
+ "max" => 1
652
+ },
653
+ "title" => {
654
+ "max" => 80,
655
+ "length" => true
656
+ },
657
+ "upload_url" => {
658
+ "required" => true
659
+ },
660
+ "vocal_gender" => {
661
+ "enum" => ["male", "female"]
662
+ },
663
+ "vocal_mode" => {
664
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
665
+ "required" => true
666
+ },
667
+ "weirdness_constraint" => {
668
+ "min" => 0,
669
+ "max" => 1
670
+ }
671
+ },
672
+ "suno-v6-mini" => {
673
+ "audio_weight" => {
674
+ "min" => 0,
675
+ "max" => 1
676
+ },
677
+ "lyrics" => {
678
+ "max" => 5000,
679
+ "length" => true
680
+ },
681
+ "model" => {
682
+ "required" => true
683
+ },
684
+ "persona_type" => {
685
+ "enum" => ["style", "voice"]
686
+ },
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
705
+ },
706
+ "vocal_gender" => {
707
+ "enum" => ["male", "female"]
708
+ },
709
+ "vocal_mode" => {
710
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
711
+ "required" => true
712
+ },
713
+ "weirdness_constraint" => {
714
+ "min" => 0,
715
+ "max" => 1
716
+ }
717
+ },
718
+ "suno-v6-wild" => {
719
+ "audio_weight" => {
720
+ "min" => 0,
721
+ "max" => 1
722
+ },
723
+ "lyrics" => {
724
+ "max" => 5000,
725
+ "length" => true
726
+ },
727
+ "model" => {
728
+ "required" => true
729
+ },
730
+ "persona_type" => {
731
+ "enum" => ["style", "voice"]
732
+ },
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
751
+ },
752
+ "vocal_gender" => {
753
+ "enum" => ["male", "female"]
754
+ },
755
+ "vocal_mode" => {
756
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
757
+ "required" => true
758
+ },
759
+ "weirdness_constraint" => {
760
+ "min" => 0,
761
+ "max" => 1
762
+ }
615
763
  }
616
764
  },
617
765
  "rules" => [{
@@ -635,7 +783,7 @@ module RunApi
635
783
  }]
636
784
  },
637
785
  "create-mashup" => {
638
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
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"],
639
787
  "fields_by_model" => {
640
788
  "suno-v4" => {
641
789
  "audio_weight" => {
@@ -924,32 +1072,8 @@ module RunApi
924
1072
  "min" => 0,
925
1073
  "max" => 1
926
1074
  }
927
- }
928
- },
929
- "rules" => [{
930
- "when" => {
931
- "vocal_mode" => "auto_lyrics"
932
- },
933
- "required" => ["prompt"],
934
- "forbidden" => ["lyrics", "style", "title"]
935
- }, {
936
- "when" => {
937
- "vocal_mode" => "exact_lyrics"
938
- },
939
- "required" => ["lyrics", "style", "title"],
940
- "forbidden" => ["prompt"]
941
- }, {
942
- "when" => {
943
- "vocal_mode" => "instrumental"
944
1075
  },
945
- "required" => ["style", "title"],
946
- "forbidden" => ["prompt", "lyrics"]
947
- }]
948
- },
949
- "extend-music" => {
950
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
951
- "fields_by_model" => {
952
- "suno-v4" => {
1076
+ "suno-v6" => {
953
1077
  "audio_weight" => {
954
1078
  "min" => 0,
955
1079
  "max" => 1
@@ -961,10 +1085,6 @@ module RunApi
961
1085
  "model" => {
962
1086
  "required" => true
963
1087
  },
964
- "parameter_mode" => {
965
- "enum" => ["source", "custom"],
966
- "required" => true
967
- },
968
1088
  "persona_type" => {
969
1089
  "enum" => ["style", "voice"]
970
1090
  },
@@ -984,15 +1104,24 @@ module RunApi
984
1104
  "max" => 80,
985
1105
  "length" => true
986
1106
  },
1107
+ "upload_url_list" => {
1108
+ "required" => true,
1109
+ "min_items" => 2,
1110
+ "max_items" => 2
1111
+ },
987
1112
  "vocal_gender" => {
988
1113
  "enum" => ["male", "female"]
989
1114
  },
1115
+ "vocal_mode" => {
1116
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1117
+ "required" => true
1118
+ },
990
1119
  "weirdness_constraint" => {
991
1120
  "min" => 0,
992
1121
  "max" => 1
993
1122
  }
994
1123
  },
995
- "suno-v4.5" => {
1124
+ "suno-v6-mini" => {
996
1125
  "audio_weight" => {
997
1126
  "min" => 0,
998
1127
  "max" => 1
@@ -1004,10 +1133,6 @@ module RunApi
1004
1133
  "model" => {
1005
1134
  "required" => true
1006
1135
  },
1007
- "parameter_mode" => {
1008
- "enum" => ["source", "custom"],
1009
- "required" => true
1010
- },
1011
1136
  "persona_type" => {
1012
1137
  "enum" => ["style", "voice"]
1013
1138
  },
@@ -1027,15 +1152,24 @@ module RunApi
1027
1152
  "max" => 80,
1028
1153
  "length" => true
1029
1154
  },
1155
+ "upload_url_list" => {
1156
+ "required" => true,
1157
+ "min_items" => 2,
1158
+ "max_items" => 2
1159
+ },
1030
1160
  "vocal_gender" => {
1031
1161
  "enum" => ["male", "female"]
1032
1162
  },
1163
+ "vocal_mode" => {
1164
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1165
+ "required" => true
1166
+ },
1033
1167
  "weirdness_constraint" => {
1034
1168
  "min" => 0,
1035
1169
  "max" => 1
1036
1170
  }
1037
1171
  },
1038
- "suno-v4.5-all" => {
1172
+ "suno-v6-wild" => {
1039
1173
  "audio_weight" => {
1040
1174
  "min" => 0,
1041
1175
  "max" => 1
@@ -1047,10 +1181,6 @@ module RunApi
1047
1181
  "model" => {
1048
1182
  "required" => true
1049
1183
  },
1050
- "parameter_mode" => {
1051
- "enum" => ["source", "custom"],
1052
- "required" => true
1053
- },
1054
1184
  "persona_type" => {
1055
1185
  "enum" => ["style", "voice"]
1056
1186
  },
@@ -1070,15 +1200,48 @@ module RunApi
1070
1200
  "max" => 80,
1071
1201
  "length" => true
1072
1202
  },
1203
+ "upload_url_list" => {
1204
+ "required" => true,
1205
+ "min_items" => 2,
1206
+ "max_items" => 2
1207
+ },
1073
1208
  "vocal_gender" => {
1074
1209
  "enum" => ["male", "female"]
1075
1210
  },
1211
+ "vocal_mode" => {
1212
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1213
+ "required" => true
1214
+ },
1076
1215
  "weirdness_constraint" => {
1077
1216
  "min" => 0,
1078
1217
  "max" => 1
1079
1218
  }
1219
+ }
1220
+ },
1221
+ "rules" => [{
1222
+ "when" => {
1223
+ "vocal_mode" => "auto_lyrics"
1080
1224
  },
1081
- "suno-v4.5-plus" => {
1225
+ "required" => ["prompt"],
1226
+ "forbidden" => ["lyrics", "style", "title"]
1227
+ }, {
1228
+ "when" => {
1229
+ "vocal_mode" => "exact_lyrics"
1230
+ },
1231
+ "required" => ["lyrics", "style", "title"],
1232
+ "forbidden" => ["prompt"]
1233
+ }, {
1234
+ "when" => {
1235
+ "vocal_mode" => "instrumental"
1236
+ },
1237
+ "required" => ["style", "title"],
1238
+ "forbidden" => ["prompt", "lyrics"]
1239
+ }]
1240
+ },
1241
+ "extend-music" => {
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"],
1243
+ "fields_by_model" => {
1244
+ "suno-v4" => {
1082
1245
  "audio_weight" => {
1083
1246
  "min" => 0,
1084
1247
  "max" => 1
@@ -1121,7 +1284,7 @@ module RunApi
1121
1284
  "max" => 1
1122
1285
  }
1123
1286
  },
1124
- "suno-v5" => {
1287
+ "suno-v4.5" => {
1125
1288
  "audio_weight" => {
1126
1289
  "min" => 0,
1127
1290
  "max" => 1
@@ -1164,7 +1327,7 @@ module RunApi
1164
1327
  "max" => 1
1165
1328
  }
1166
1329
  },
1167
- "suno-v5.5" => {
1330
+ "suno-v4.5-all" => {
1168
1331
  "audio_weight" => {
1169
1332
  "min" => 0,
1170
1333
  "max" => 1
@@ -1206,14 +1369,272 @@ module RunApi
1206
1369
  "min" => 0,
1207
1370
  "max" => 1
1208
1371
  }
1209
- }
1210
- }
1211
- },
1212
- "generate-artwork" => {
1213
- "models" => [],
1214
- "fields_by_model" => {
1215
- "_" => {
1216
- "task_id" => {
1372
+ },
1373
+ "suno-v4.5-plus" => {
1374
+ "audio_weight" => {
1375
+ "min" => 0,
1376
+ "max" => 1
1377
+ },
1378
+ "lyrics" => {
1379
+ "max" => 5000,
1380
+ "length" => true
1381
+ },
1382
+ "model" => {
1383
+ "required" => true
1384
+ },
1385
+ "parameter_mode" => {
1386
+ "enum" => ["source", "custom"],
1387
+ "required" => true
1388
+ },
1389
+ "persona_type" => {
1390
+ "enum" => ["style", "voice"]
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
+ },
1408
+ "vocal_gender" => {
1409
+ "enum" => ["male", "female"]
1410
+ },
1411
+ "weirdness_constraint" => {
1412
+ "min" => 0,
1413
+ "max" => 1
1414
+ }
1415
+ },
1416
+ "suno-v5" => {
1417
+ "audio_weight" => {
1418
+ "min" => 0,
1419
+ "max" => 1
1420
+ },
1421
+ "lyrics" => {
1422
+ "max" => 5000,
1423
+ "length" => true
1424
+ },
1425
+ "model" => {
1426
+ "required" => true
1427
+ },
1428
+ "parameter_mode" => {
1429
+ "enum" => ["source", "custom"],
1430
+ "required" => true
1431
+ },
1432
+ "persona_type" => {
1433
+ "enum" => ["style", "voice"]
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
+ },
1451
+ "vocal_gender" => {
1452
+ "enum" => ["male", "female"]
1453
+ },
1454
+ "weirdness_constraint" => {
1455
+ "min" => 0,
1456
+ "max" => 1
1457
+ }
1458
+ },
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
+ },
1597
+ "model" => {
1598
+ "required" => true
1599
+ },
1600
+ "parameter_mode" => {
1601
+ "enum" => ["source", "custom"],
1602
+ "required" => true
1603
+ },
1604
+ "persona_type" => {
1605
+ "enum" => ["style", "voice"]
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
+ },
1623
+ "vocal_gender" => {
1624
+ "enum" => ["male", "female"]
1625
+ },
1626
+ "weirdness_constraint" => {
1627
+ "min" => 0,
1628
+ "max" => 1
1629
+ }
1630
+ }
1631
+ }
1632
+ },
1633
+ "generate-artwork" => {
1634
+ "models" => [],
1635
+ "fields_by_model" => {
1636
+ "_" => {
1637
+ "task_id" => {
1217
1638
  "required" => true
1218
1639
  }
1219
1640
  }
@@ -1293,51 +1714,165 @@ module RunApi
1293
1714
  "suno-v4" => {
1294
1715
  "audio_urls" => {
1295
1716
  "required" => true,
1296
- "min_items" => 1,
1297
- "max_items" => 4
1717
+ "min_items" => 1,
1718
+ "max_items" => 4
1719
+ },
1720
+ "model" => {
1721
+ "required" => true
1722
+ }
1723
+ },
1724
+ "suno-v4.5" => {
1725
+ "audio_urls" => {
1726
+ "required" => true,
1727
+ "min_items" => 1,
1728
+ "max_items" => 4
1729
+ },
1730
+ "model" => {
1731
+ "required" => true
1732
+ }
1733
+ },
1734
+ "suno-v4.5-plus" => {
1735
+ "audio_urls" => {
1736
+ "required" => true,
1737
+ "min_items" => 1,
1738
+ "max_items" => 4
1739
+ },
1740
+ "model" => {
1741
+ "required" => true
1742
+ }
1743
+ },
1744
+ "suno-v5" => {
1745
+ "audio_urls" => {
1746
+ "required" => true,
1747
+ "min_items" => 1,
1748
+ "max_items" => 4
1749
+ },
1750
+ "model" => {
1751
+ "required" => true
1752
+ }
1753
+ },
1754
+ "suno-v5.5" => {
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
1298
1776
  },
1299
1777
  "model" => {
1300
1778
  "required" => true
1779
+ },
1780
+ "start_seconds" => {
1781
+ "required" => true,
1782
+ "min" => 0
1301
1783
  }
1302
1784
  },
1303
1785
  "suno-v4.5" => {
1304
- "audio_urls" => {
1786
+ "audio_url" => {
1787
+ "required" => true
1788
+ },
1789
+ "end_seconds" => {
1305
1790
  "required" => true,
1306
- "min_items" => 1,
1307
- "max_items" => 4
1791
+ "min" => 0
1308
1792
  },
1309
1793
  "model" => {
1310
1794
  "required" => true
1795
+ },
1796
+ "start_seconds" => {
1797
+ "required" => true,
1798
+ "min" => 0
1311
1799
  }
1312
1800
  },
1313
1801
  "suno-v4.5-plus" => {
1314
- "audio_urls" => {
1802
+ "audio_url" => {
1803
+ "required" => true
1804
+ },
1805
+ "end_seconds" => {
1315
1806
  "required" => true,
1316
- "min_items" => 1,
1317
- "max_items" => 4
1807
+ "min" => 0
1318
1808
  },
1319
1809
  "model" => {
1320
1810
  "required" => true
1811
+ },
1812
+ "start_seconds" => {
1813
+ "required" => true,
1814
+ "min" => 0
1321
1815
  }
1322
1816
  },
1323
1817
  "suno-v5" => {
1324
- "audio_urls" => {
1818
+ "audio_url" => {
1819
+ "required" => true
1820
+ },
1821
+ "end_seconds" => {
1325
1822
  "required" => true,
1326
- "min_items" => 1,
1327
- "max_items" => 4
1823
+ "min" => 0
1328
1824
  },
1329
1825
  "model" => {
1330
1826
  "required" => true
1827
+ },
1828
+ "start_seconds" => {
1829
+ "required" => true,
1830
+ "min" => 0
1331
1831
  }
1332
1832
  },
1333
1833
  "suno-v5.5" => {
1334
- "audio_urls" => {
1834
+ "audio_url" => {
1835
+ "required" => true
1836
+ },
1837
+ "end_seconds" => {
1335
1838
  "required" => true,
1336
- "min_items" => 1,
1337
- "max_items" => 4
1839
+ "min" => 0
1338
1840
  },
1339
1841
  "model" => {
1340
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
1341
1876
  }
1342
1877
  }
1343
1878
  }
@@ -1364,6 +1899,9 @@ module RunApi
1364
1899
  },
1365
1900
  "source_task_id" => {
1366
1901
  "required" => true
1902
+ },
1903
+ "variation_category" => {
1904
+ "enum" => ["subtle", "normal", "high"]
1367
1905
  }
1368
1906
  },
1369
1907
  "suno-v4.5" => {
@@ -1375,6 +1913,9 @@ module RunApi
1375
1913
  },
1376
1914
  "source_task_id" => {
1377
1915
  "required" => true
1916
+ },
1917
+ "variation_category" => {
1918
+ "enum" => ["subtle", "normal", "high"]
1378
1919
  }
1379
1920
  },
1380
1921
  "suno-v4.5-plus" => {
@@ -1386,6 +1927,9 @@ module RunApi
1386
1927
  },
1387
1928
  "source_task_id" => {
1388
1929
  "required" => true
1930
+ },
1931
+ "variation_category" => {
1932
+ "enum" => ["subtle", "normal", "high"]
1389
1933
  }
1390
1934
  },
1391
1935
  "suno-v5" => {
@@ -1397,6 +1941,9 @@ module RunApi
1397
1941
  },
1398
1942
  "source_task_id" => {
1399
1943
  "required" => true
1944
+ },
1945
+ "variation_category" => {
1946
+ "enum" => ["subtle", "normal", "high"]
1400
1947
  }
1401
1948
  },
1402
1949
  "suno-v5.5" => {
@@ -1408,6 +1955,9 @@ module RunApi
1408
1955
  },
1409
1956
  "source_task_id" => {
1410
1957
  "required" => true
1958
+ },
1959
+ "variation_category" => {
1960
+ "enum" => ["subtle", "normal", "high"]
1411
1961
  }
1412
1962
  }
1413
1963
  }
@@ -1433,7 +1983,7 @@ module RunApi
1433
1983
  "length" => true
1434
1984
  },
1435
1985
  "model" => {
1436
- "enum" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"]
1986
+ "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"]
1437
1987
  },
1438
1988
  "tags" => {
1439
1989
  "required" => true,
@@ -1533,8 +2083,18 @@ module RunApi
1533
2083
  }
1534
2084
  }
1535
2085
  },
2086
+ "style-expansions" => {
2087
+ "models" => [],
2088
+ "fields_by_model" => {
2089
+ "_" => {
2090
+ "description" => {
2091
+ "required" => true
2092
+ }
2093
+ }
2094
+ }
2095
+ },
1536
2096
  "text-to-music" => {
1537
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
2097
+ "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"],
1538
2098
  "fields_by_model" => {
1539
2099
  "suno-v4" => {
1540
2100
  "audio_weight" => {
@@ -1823,6 +2383,150 @@ module RunApi
1823
2383
  "min" => 0,
1824
2384
  "max" => 1
1825
2385
  }
2386
+ },
2387
+ "suno-v6" => {
2388
+ "audio_weight" => {
2389
+ "min" => 0,
2390
+ "max" => 1
2391
+ },
2392
+ "duration_seconds" => {
2393
+ "min" => 10,
2394
+ "max" => 360,
2395
+ "type" => "integer"
2396
+ },
2397
+ "lyrics" => {
2398
+ "max" => 5000,
2399
+ "length" => true
2400
+ },
2401
+ "model" => {
2402
+ "required" => true
2403
+ },
2404
+ "persona_type" => {
2405
+ "enum" => ["style", "voice"]
2406
+ },
2407
+ "prompt" => {
2408
+ "max" => 5000,
2409
+ "length" => true
2410
+ },
2411
+ "style" => {
2412
+ "max" => 1000,
2413
+ "length" => true
2414
+ },
2415
+ "style_weight" => {
2416
+ "min" => 0,
2417
+ "max" => 1
2418
+ },
2419
+ "title" => {
2420
+ "max" => 80,
2421
+ "length" => true
2422
+ },
2423
+ "vocal_gender" => {
2424
+ "enum" => ["male", "female"]
2425
+ },
2426
+ "vocal_mode" => {
2427
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2428
+ "required" => true
2429
+ },
2430
+ "weirdness_constraint" => {
2431
+ "min" => 0,
2432
+ "max" => 1
2433
+ }
2434
+ },
2435
+ "suno-v6-mini" => {
2436
+ "audio_weight" => {
2437
+ "min" => 0,
2438
+ "max" => 1
2439
+ },
2440
+ "duration_seconds" => {
2441
+ "min" => 10,
2442
+ "max" => 360,
2443
+ "type" => "integer"
2444
+ },
2445
+ "lyrics" => {
2446
+ "max" => 5000,
2447
+ "length" => true
2448
+ },
2449
+ "model" => {
2450
+ "required" => true
2451
+ },
2452
+ "persona_type" => {
2453
+ "enum" => ["style", "voice"]
2454
+ },
2455
+ "prompt" => {
2456
+ "max" => 5000,
2457
+ "length" => true
2458
+ },
2459
+ "style" => {
2460
+ "max" => 1000,
2461
+ "length" => true
2462
+ },
2463
+ "style_weight" => {
2464
+ "min" => 0,
2465
+ "max" => 1
2466
+ },
2467
+ "title" => {
2468
+ "max" => 80,
2469
+ "length" => true
2470
+ },
2471
+ "vocal_gender" => {
2472
+ "enum" => ["male", "female"]
2473
+ },
2474
+ "vocal_mode" => {
2475
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2476
+ "required" => true
2477
+ },
2478
+ "weirdness_constraint" => {
2479
+ "min" => 0,
2480
+ "max" => 1
2481
+ }
2482
+ },
2483
+ "suno-v6-wild" => {
2484
+ "audio_weight" => {
2485
+ "min" => 0,
2486
+ "max" => 1
2487
+ },
2488
+ "duration_seconds" => {
2489
+ "min" => 10,
2490
+ "max" => 360,
2491
+ "type" => "integer"
2492
+ },
2493
+ "lyrics" => {
2494
+ "max" => 5000,
2495
+ "length" => true
2496
+ },
2497
+ "model" => {
2498
+ "required" => true
2499
+ },
2500
+ "persona_type" => {
2501
+ "enum" => ["style", "voice"]
2502
+ },
2503
+ "prompt" => {
2504
+ "max" => 5000,
2505
+ "length" => true
2506
+ },
2507
+ "style" => {
2508
+ "max" => 1000,
2509
+ "length" => true
2510
+ },
2511
+ "style_weight" => {
2512
+ "min" => 0,
2513
+ "max" => 1
2514
+ },
2515
+ "title" => {
2516
+ "max" => 80,
2517
+ "length" => true
2518
+ },
2519
+ "vocal_gender" => {
2520
+ "enum" => ["male", "female"]
2521
+ },
2522
+ "vocal_mode" => {
2523
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2524
+ "required" => true
2525
+ },
2526
+ "weirdness_constraint" => {
2527
+ "min" => 0,
2528
+ "max" => 1
2529
+ }
1826
2530
  }
1827
2531
  },
1828
2532
  "rules" => [{
@@ -1868,6 +2572,13 @@ module RunApi
1868
2572
  "model" => "suno-v5"
1869
2573
  },
1870
2574
  "forbidden" => ["duration_seconds"]
2575
+ }, {
2576
+ "when" => {
2577
+ "voice_id" => {
2578
+ "present" => true
2579
+ }
2580
+ },
2581
+ "forbidden" => ["persona_id", "persona_type"]
1871
2582
  }]
1872
2583
  },
1873
2584
  "text-to-sound" => {
@@ -1903,6 +2614,16 @@ module RunApi
1903
2614
  }
1904
2615
  }
1905
2616
  },
2617
+ "timestamped-lyrics" => {
2618
+ "models" => [],
2619
+ "fields_by_model" => {
2620
+ "_" => {
2621
+ "source_audio_id" => {
2622
+ "required" => true
2623
+ }
2624
+ }
2625
+ }
2626
+ },
1906
2627
  "visualize-music" => {
1907
2628
  "models" => [],
1908
2629
  "fields_by_model" => {
@@ -1936,6 +2657,16 @@ module RunApi
1936
2657
  }
1937
2658
  }
1938
2659
  }
2660
+ },
2661
+ "voices" => {
2662
+ "models" => [],
2663
+ "fields_by_model" => {
2664
+ "_" => {
2665
+ "source_audio_url" => {
2666
+ "required" => true
2667
+ }
2668
+ }
2669
+ }
1939
2670
  }
1940
2671
  }.freeze
1941
2672
  end