runapi-suno 0.4.3 → 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.
@@ -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
  }
@@ -1287,57 +1708,171 @@ module RunApi
1287
1708
  }
1288
1709
  }
1289
1710
  },
1290
- "inspire-music" => {
1711
+ "inspire-music" => {
1712
+ "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
1713
+ "fields_by_model" => {
1714
+ "suno-v4" => {
1715
+ "audio_urls" => {
1716
+ "required" => true,
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" => {
1291
1767
  "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
1292
1768
  "fields_by_model" => {
1293
1769
  "suno-v4" => {
1294
- "audio_urls" => {
1770
+ "audio_url" => {
1771
+ "required" => true
1772
+ },
1773
+ "end_seconds" => {
1295
1774
  "required" => true,
1296
- "min_items" => 1,
1297
- "max_items" => 4
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
  }
@@ -1433,7 +1968,7 @@ module RunApi
1433
1968
  "length" => true
1434
1969
  },
1435
1970
  "model" => {
1436
- "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"]
1437
1972
  },
1438
1973
  "tags" => {
1439
1974
  "required" => true,
@@ -1533,8 +2068,18 @@ module RunApi
1533
2068
  }
1534
2069
  }
1535
2070
  },
2071
+ "style-expansions" => {
2072
+ "models" => [],
2073
+ "fields_by_model" => {
2074
+ "_" => {
2075
+ "description" => {
2076
+ "required" => true
2077
+ }
2078
+ }
2079
+ }
2080
+ },
1536
2081
  "text-to-music" => {
1537
- "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"],
1538
2083
  "fields_by_model" => {
1539
2084
  "suno-v4" => {
1540
2085
  "audio_weight" => {
@@ -1823,6 +2368,150 @@ module RunApi
1823
2368
  "min" => 0,
1824
2369
  "max" => 1
1825
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
+ },
2473
+ "duration_seconds" => {
2474
+ "min" => 10,
2475
+ "max" => 360,
2476
+ "type" => "integer"
2477
+ },
2478
+ "lyrics" => {
2479
+ "max" => 5000,
2480
+ "length" => true
2481
+ },
2482
+ "model" => {
2483
+ "required" => true
2484
+ },
2485
+ "persona_type" => {
2486
+ "enum" => ["style", "voice"]
2487
+ },
2488
+ "prompt" => {
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,
2502
+ "length" => true
2503
+ },
2504
+ "vocal_gender" => {
2505
+ "enum" => ["male", "female"]
2506
+ },
2507
+ "vocal_mode" => {
2508
+ "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2509
+ "required" => true
2510
+ },
2511
+ "weirdness_constraint" => {
2512
+ "min" => 0,
2513
+ "max" => 1
2514
+ }
1826
2515
  }
1827
2516
  },
1828
2517
  "rules" => [{
@@ -1868,6 +2557,13 @@ module RunApi
1868
2557
  "model" => "suno-v5"
1869
2558
  },
1870
2559
  "forbidden" => ["duration_seconds"]
2560
+ }, {
2561
+ "when" => {
2562
+ "voice_id" => {
2563
+ "present" => true
2564
+ }
2565
+ },
2566
+ "forbidden" => ["persona_id", "persona_type"]
1871
2567
  }]
1872
2568
  },
1873
2569
  "text-to-sound" => {
@@ -1903,6 +2599,16 @@ module RunApi
1903
2599
  }
1904
2600
  }
1905
2601
  },
2602
+ "timestamped-lyrics" => {
2603
+ "models" => [],
2604
+ "fields_by_model" => {
2605
+ "_" => {
2606
+ "source_audio_id" => {
2607
+ "required" => true
2608
+ }
2609
+ }
2610
+ }
2611
+ },
1906
2612
  "visualize-music" => {
1907
2613
  "models" => [],
1908
2614
  "fields_by_model" => {
@@ -1936,6 +2642,16 @@ module RunApi
1936
2642
  }
1937
2643
  }
1938
2644
  }
2645
+ },
2646
+ "voices" => {
2647
+ "models" => [],
2648
+ "fields_by_model" => {
2649
+ "_" => {
2650
+ "source_audio_url" => {
2651
+ "required" => true
2652
+ }
2653
+ }
2654
+ }
1939
2655
  }
1940
2656
  }.freeze
1941
2657
  end