runapi-suno 0.4.2 → 0.4.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/runapi/suno/contract_gen.rb +762 -22
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3aa319fedbc8fb415384cb29593dd7579e17f1dc802e70522493e0da560269ee
4
- data.tar.gz: 175bf453f819b25e48f0683a38fba3959bd4f88a5222609bb767cf42b6095e47
3
+ metadata.gz: 30d7d9afe0a6d8e98049c1e9803a080f85f4ada0d2c27105951680bb4680b409
4
+ data.tar.gz: 9ef70031187097d2ce133dfe398da7dc051ff0e341e6cc60979249d90d97e92d
5
5
  SHA512:
6
- metadata.gz: 51f747cef3bfefb132c53e2a0d3f940733c086d8b41742c05ffc65db6d1a04776d20d9230d620a19c90501ef6a5f013d3d9900d4583f2257190fe5c727142bd5
7
- data.tar.gz: 3577e88070f321db89a658de5784e142c3d1bde15c8ce1aad515cbc6c26776e5dccbcdb118b726cea74afcbbda432779af2fddd0c888979bb8c6777011109d18
6
+ metadata.gz: a46ced2f7ca32d7eb6014babf8a517cda31a48afe2b2a1deffc8b6394d51ba454d50bd46a53eb24dc390bc33b7611813a408484302abd5a7ab0d5eed44b48f0d
7
+ data.tar.gz: 234d18cb57ce7839c7fb211503b54e343fa20bc3696791c257fff920e3ced0b7ebd1227ff07571c91e4192f02442818a278ea7546afe3849afc0c51d2fd4bfec
@@ -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,28 @@ 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
203
287
  }
204
288
  }
205
289
  }
@@ -254,12 +338,36 @@ module RunApi
254
338
  "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
255
339
  "fields_by_model" => {
256
340
  "suno-v4" => {
341
+ "audio_weight" => {
342
+ "min" => 0,
343
+ "max" => 1
344
+ },
345
+ "lyrics" => {
346
+ "max" => 5000,
347
+ "length" => true
348
+ },
257
349
  "model" => {
258
350
  "required" => true
259
351
  },
260
352
  "persona_type" => {
261
353
  "enum" => ["style", "voice"]
262
354
  },
355
+ "prompt" => {
356
+ "max" => 5000,
357
+ "length" => true
358
+ },
359
+ "style" => {
360
+ "max" => 1000,
361
+ "length" => true
362
+ },
363
+ "style_weight" => {
364
+ "min" => 0,
365
+ "max" => 1
366
+ },
367
+ "title" => {
368
+ "max" => 80,
369
+ "length" => true
370
+ },
263
371
  "upload_url" => {
264
372
  "required" => true
265
373
  },
@@ -269,15 +377,43 @@ module RunApi
269
377
  "vocal_mode" => {
270
378
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
271
379
  "required" => true
380
+ },
381
+ "weirdness_constraint" => {
382
+ "min" => 0,
383
+ "max" => 1
272
384
  }
273
385
  },
274
386
  "suno-v4.5" => {
387
+ "audio_weight" => {
388
+ "min" => 0,
389
+ "max" => 1
390
+ },
391
+ "lyrics" => {
392
+ "max" => 5000,
393
+ "length" => true
394
+ },
275
395
  "model" => {
276
396
  "required" => true
277
397
  },
278
398
  "persona_type" => {
279
399
  "enum" => ["style", "voice"]
280
400
  },
401
+ "prompt" => {
402
+ "max" => 5000,
403
+ "length" => true
404
+ },
405
+ "style" => {
406
+ "max" => 1000,
407
+ "length" => true
408
+ },
409
+ "style_weight" => {
410
+ "min" => 0,
411
+ "max" => 1
412
+ },
413
+ "title" => {
414
+ "max" => 80,
415
+ "length" => true
416
+ },
281
417
  "upload_url" => {
282
418
  "required" => true
283
419
  },
@@ -287,15 +423,43 @@ module RunApi
287
423
  "vocal_mode" => {
288
424
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
289
425
  "required" => true
426
+ },
427
+ "weirdness_constraint" => {
428
+ "min" => 0,
429
+ "max" => 1
290
430
  }
291
431
  },
292
432
  "suno-v4.5-all" => {
433
+ "audio_weight" => {
434
+ "min" => 0,
435
+ "max" => 1
436
+ },
437
+ "lyrics" => {
438
+ "max" => 5000,
439
+ "length" => true
440
+ },
293
441
  "model" => {
294
442
  "required" => true
295
443
  },
296
444
  "persona_type" => {
297
445
  "enum" => ["style", "voice"]
298
446
  },
447
+ "prompt" => {
448
+ "max" => 5000,
449
+ "length" => true
450
+ },
451
+ "style" => {
452
+ "max" => 1000,
453
+ "length" => true
454
+ },
455
+ "style_weight" => {
456
+ "min" => 0,
457
+ "max" => 1
458
+ },
459
+ "title" => {
460
+ "max" => 80,
461
+ "length" => true
462
+ },
299
463
  "upload_url" => {
300
464
  "required" => true
301
465
  },
@@ -305,15 +469,43 @@ module RunApi
305
469
  "vocal_mode" => {
306
470
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
307
471
  "required" => true
472
+ },
473
+ "weirdness_constraint" => {
474
+ "min" => 0,
475
+ "max" => 1
308
476
  }
309
477
  },
310
478
  "suno-v4.5-plus" => {
479
+ "audio_weight" => {
480
+ "min" => 0,
481
+ "max" => 1
482
+ },
483
+ "lyrics" => {
484
+ "max" => 5000,
485
+ "length" => true
486
+ },
311
487
  "model" => {
312
488
  "required" => true
313
489
  },
314
490
  "persona_type" => {
315
491
  "enum" => ["style", "voice"]
316
492
  },
493
+ "prompt" => {
494
+ "max" => 5000,
495
+ "length" => true
496
+ },
497
+ "style" => {
498
+ "max" => 1000,
499
+ "length" => true
500
+ },
501
+ "style_weight" => {
502
+ "min" => 0,
503
+ "max" => 1
504
+ },
505
+ "title" => {
506
+ "max" => 80,
507
+ "length" => true
508
+ },
317
509
  "upload_url" => {
318
510
  "required" => true
319
511
  },
@@ -323,15 +515,43 @@ module RunApi
323
515
  "vocal_mode" => {
324
516
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
325
517
  "required" => true
518
+ },
519
+ "weirdness_constraint" => {
520
+ "min" => 0,
521
+ "max" => 1
326
522
  }
327
523
  },
328
524
  "suno-v5" => {
525
+ "audio_weight" => {
526
+ "min" => 0,
527
+ "max" => 1
528
+ },
529
+ "lyrics" => {
530
+ "max" => 5000,
531
+ "length" => true
532
+ },
329
533
  "model" => {
330
534
  "required" => true
331
535
  },
332
536
  "persona_type" => {
333
537
  "enum" => ["style", "voice"]
334
538
  },
539
+ "prompt" => {
540
+ "max" => 5000,
541
+ "length" => true
542
+ },
543
+ "style" => {
544
+ "max" => 1000,
545
+ "length" => true
546
+ },
547
+ "style_weight" => {
548
+ "min" => 0,
549
+ "max" => 1
550
+ },
551
+ "title" => {
552
+ "max" => 80,
553
+ "length" => true
554
+ },
335
555
  "upload_url" => {
336
556
  "required" => true
337
557
  },
@@ -341,15 +561,43 @@ module RunApi
341
561
  "vocal_mode" => {
342
562
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
343
563
  "required" => true
564
+ },
565
+ "weirdness_constraint" => {
566
+ "min" => 0,
567
+ "max" => 1
344
568
  }
345
569
  },
346
570
  "suno-v5.5" => {
571
+ "audio_weight" => {
572
+ "min" => 0,
573
+ "max" => 1
574
+ },
575
+ "lyrics" => {
576
+ "max" => 5000,
577
+ "length" => true
578
+ },
347
579
  "model" => {
348
580
  "required" => true
349
581
  },
350
582
  "persona_type" => {
351
583
  "enum" => ["style", "voice"]
352
584
  },
585
+ "prompt" => {
586
+ "max" => 5000,
587
+ "length" => true
588
+ },
589
+ "style" => {
590
+ "max" => 1000,
591
+ "length" => true
592
+ },
593
+ "style_weight" => {
594
+ "min" => 0,
595
+ "max" => 1
596
+ },
597
+ "title" => {
598
+ "max" => 80,
599
+ "length" => true
600
+ },
353
601
  "upload_url" => {
354
602
  "required" => true
355
603
  },
@@ -359,6 +607,10 @@ module RunApi
359
607
  "vocal_mode" => {
360
608
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
361
609
  "required" => true
610
+ },
611
+ "weirdness_constraint" => {
612
+ "min" => 0,
613
+ "max" => 1
362
614
  }
363
615
  }
364
616
  },
@@ -386,12 +638,36 @@ module RunApi
386
638
  "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
387
639
  "fields_by_model" => {
388
640
  "suno-v4" => {
641
+ "audio_weight" => {
642
+ "min" => 0,
643
+ "max" => 1
644
+ },
645
+ "lyrics" => {
646
+ "max" => 5000,
647
+ "length" => true
648
+ },
389
649
  "model" => {
390
650
  "required" => true
391
651
  },
392
652
  "persona_type" => {
393
653
  "enum" => ["style", "voice"]
394
654
  },
655
+ "prompt" => {
656
+ "max" => 5000,
657
+ "length" => true
658
+ },
659
+ "style" => {
660
+ "max" => 1000,
661
+ "length" => true
662
+ },
663
+ "style_weight" => {
664
+ "min" => 0,
665
+ "max" => 1
666
+ },
667
+ "title" => {
668
+ "max" => 80,
669
+ "length" => true
670
+ },
395
671
  "upload_url_list" => {
396
672
  "required" => true,
397
673
  "min_items" => 2,
@@ -403,15 +679,43 @@ module RunApi
403
679
  "vocal_mode" => {
404
680
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
405
681
  "required" => true
682
+ },
683
+ "weirdness_constraint" => {
684
+ "min" => 0,
685
+ "max" => 1
406
686
  }
407
687
  },
408
688
  "suno-v4.5" => {
689
+ "audio_weight" => {
690
+ "min" => 0,
691
+ "max" => 1
692
+ },
693
+ "lyrics" => {
694
+ "max" => 5000,
695
+ "length" => true
696
+ },
409
697
  "model" => {
410
698
  "required" => true
411
699
  },
412
700
  "persona_type" => {
413
701
  "enum" => ["style", "voice"]
414
702
  },
703
+ "prompt" => {
704
+ "max" => 5000,
705
+ "length" => true
706
+ },
707
+ "style" => {
708
+ "max" => 1000,
709
+ "length" => true
710
+ },
711
+ "style_weight" => {
712
+ "min" => 0,
713
+ "max" => 1
714
+ },
715
+ "title" => {
716
+ "max" => 80,
717
+ "length" => true
718
+ },
415
719
  "upload_url_list" => {
416
720
  "required" => true,
417
721
  "min_items" => 2,
@@ -423,15 +727,43 @@ module RunApi
423
727
  "vocal_mode" => {
424
728
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
425
729
  "required" => true
730
+ },
731
+ "weirdness_constraint" => {
732
+ "min" => 0,
733
+ "max" => 1
426
734
  }
427
735
  },
428
736
  "suno-v4.5-all" => {
737
+ "audio_weight" => {
738
+ "min" => 0,
739
+ "max" => 1
740
+ },
741
+ "lyrics" => {
742
+ "max" => 5000,
743
+ "length" => true
744
+ },
429
745
  "model" => {
430
746
  "required" => true
431
747
  },
432
748
  "persona_type" => {
433
749
  "enum" => ["style", "voice"]
434
750
  },
751
+ "prompt" => {
752
+ "max" => 5000,
753
+ "length" => true
754
+ },
755
+ "style" => {
756
+ "max" => 1000,
757
+ "length" => true
758
+ },
759
+ "style_weight" => {
760
+ "min" => 0,
761
+ "max" => 1
762
+ },
763
+ "title" => {
764
+ "max" => 80,
765
+ "length" => true
766
+ },
435
767
  "upload_url_list" => {
436
768
  "required" => true,
437
769
  "min_items" => 2,
@@ -443,15 +775,43 @@ module RunApi
443
775
  "vocal_mode" => {
444
776
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
445
777
  "required" => true
778
+ },
779
+ "weirdness_constraint" => {
780
+ "min" => 0,
781
+ "max" => 1
446
782
  }
447
783
  },
448
784
  "suno-v4.5-plus" => {
785
+ "audio_weight" => {
786
+ "min" => 0,
787
+ "max" => 1
788
+ },
789
+ "lyrics" => {
790
+ "max" => 5000,
791
+ "length" => true
792
+ },
449
793
  "model" => {
450
794
  "required" => true
451
795
  },
452
796
  "persona_type" => {
453
797
  "enum" => ["style", "voice"]
454
798
  },
799
+ "prompt" => {
800
+ "max" => 5000,
801
+ "length" => true
802
+ },
803
+ "style" => {
804
+ "max" => 1000,
805
+ "length" => true
806
+ },
807
+ "style_weight" => {
808
+ "min" => 0,
809
+ "max" => 1
810
+ },
811
+ "title" => {
812
+ "max" => 80,
813
+ "length" => true
814
+ },
455
815
  "upload_url_list" => {
456
816
  "required" => true,
457
817
  "min_items" => 2,
@@ -463,15 +823,43 @@ module RunApi
463
823
  "vocal_mode" => {
464
824
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
465
825
  "required" => true
826
+ },
827
+ "weirdness_constraint" => {
828
+ "min" => 0,
829
+ "max" => 1
466
830
  }
467
831
  },
468
832
  "suno-v5" => {
833
+ "audio_weight" => {
834
+ "min" => 0,
835
+ "max" => 1
836
+ },
837
+ "lyrics" => {
838
+ "max" => 5000,
839
+ "length" => true
840
+ },
469
841
  "model" => {
470
842
  "required" => true
471
843
  },
472
844
  "persona_type" => {
473
845
  "enum" => ["style", "voice"]
474
846
  },
847
+ "prompt" => {
848
+ "max" => 5000,
849
+ "length" => true
850
+ },
851
+ "style" => {
852
+ "max" => 1000,
853
+ "length" => true
854
+ },
855
+ "style_weight" => {
856
+ "min" => 0,
857
+ "max" => 1
858
+ },
859
+ "title" => {
860
+ "max" => 80,
861
+ "length" => true
862
+ },
475
863
  "upload_url_list" => {
476
864
  "required" => true,
477
865
  "min_items" => 2,
@@ -483,15 +871,43 @@ module RunApi
483
871
  "vocal_mode" => {
484
872
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
485
873
  "required" => true
874
+ },
875
+ "weirdness_constraint" => {
876
+ "min" => 0,
877
+ "max" => 1
486
878
  }
487
879
  },
488
880
  "suno-v5.5" => {
881
+ "audio_weight" => {
882
+ "min" => 0,
883
+ "max" => 1
884
+ },
885
+ "lyrics" => {
886
+ "max" => 5000,
887
+ "length" => true
888
+ },
489
889
  "model" => {
490
890
  "required" => true
491
891
  },
492
892
  "persona_type" => {
493
893
  "enum" => ["style", "voice"]
494
894
  },
895
+ "prompt" => {
896
+ "max" => 5000,
897
+ "length" => true
898
+ },
899
+ "style" => {
900
+ "max" => 1000,
901
+ "length" => true
902
+ },
903
+ "style_weight" => {
904
+ "min" => 0,
905
+ "max" => 1
906
+ },
907
+ "title" => {
908
+ "max" => 80,
909
+ "length" => true
910
+ },
495
911
  "upload_url_list" => {
496
912
  "required" => true,
497
913
  "min_items" => 2,
@@ -503,6 +919,10 @@ module RunApi
503
919
  "vocal_mode" => {
504
920
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
505
921
  "required" => true
922
+ },
923
+ "weirdness_constraint" => {
924
+ "min" => 0,
925
+ "max" => 1
506
926
  }
507
927
  }
508
928
  },
@@ -530,6 +950,14 @@ module RunApi
530
950
  "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
531
951
  "fields_by_model" => {
532
952
  "suno-v4" => {
953
+ "audio_weight" => {
954
+ "min" => 0,
955
+ "max" => 1
956
+ },
957
+ "lyrics" => {
958
+ "max" => 5000,
959
+ "length" => true
960
+ },
533
961
  "model" => {
534
962
  "required" => true
535
963
  },
@@ -540,11 +968,39 @@ module RunApi
540
968
  "persona_type" => {
541
969
  "enum" => ["style", "voice"]
542
970
  },
971
+ "prompt" => {
972
+ "max" => 5000,
973
+ "length" => true
974
+ },
975
+ "style" => {
976
+ "max" => 1000,
977
+ "length" => true
978
+ },
979
+ "style_weight" => {
980
+ "min" => 0,
981
+ "max" => 1
982
+ },
983
+ "title" => {
984
+ "max" => 80,
985
+ "length" => true
986
+ },
543
987
  "vocal_gender" => {
544
988
  "enum" => ["male", "female"]
989
+ },
990
+ "weirdness_constraint" => {
991
+ "min" => 0,
992
+ "max" => 1
545
993
  }
546
994
  },
547
995
  "suno-v4.5" => {
996
+ "audio_weight" => {
997
+ "min" => 0,
998
+ "max" => 1
999
+ },
1000
+ "lyrics" => {
1001
+ "max" => 5000,
1002
+ "length" => true
1003
+ },
548
1004
  "model" => {
549
1005
  "required" => true
550
1006
  },
@@ -555,11 +1011,39 @@ module RunApi
555
1011
  "persona_type" => {
556
1012
  "enum" => ["style", "voice"]
557
1013
  },
1014
+ "prompt" => {
1015
+ "max" => 5000,
1016
+ "length" => true
1017
+ },
1018
+ "style" => {
1019
+ "max" => 1000,
1020
+ "length" => true
1021
+ },
1022
+ "style_weight" => {
1023
+ "min" => 0,
1024
+ "max" => 1
1025
+ },
1026
+ "title" => {
1027
+ "max" => 80,
1028
+ "length" => true
1029
+ },
558
1030
  "vocal_gender" => {
559
1031
  "enum" => ["male", "female"]
1032
+ },
1033
+ "weirdness_constraint" => {
1034
+ "min" => 0,
1035
+ "max" => 1
560
1036
  }
561
1037
  },
562
1038
  "suno-v4.5-all" => {
1039
+ "audio_weight" => {
1040
+ "min" => 0,
1041
+ "max" => 1
1042
+ },
1043
+ "lyrics" => {
1044
+ "max" => 5000,
1045
+ "length" => true
1046
+ },
563
1047
  "model" => {
564
1048
  "required" => true
565
1049
  },
@@ -570,11 +1054,39 @@ module RunApi
570
1054
  "persona_type" => {
571
1055
  "enum" => ["style", "voice"]
572
1056
  },
1057
+ "prompt" => {
1058
+ "max" => 5000,
1059
+ "length" => true
1060
+ },
1061
+ "style" => {
1062
+ "max" => 1000,
1063
+ "length" => true
1064
+ },
1065
+ "style_weight" => {
1066
+ "min" => 0,
1067
+ "max" => 1
1068
+ },
1069
+ "title" => {
1070
+ "max" => 80,
1071
+ "length" => true
1072
+ },
573
1073
  "vocal_gender" => {
574
1074
  "enum" => ["male", "female"]
1075
+ },
1076
+ "weirdness_constraint" => {
1077
+ "min" => 0,
1078
+ "max" => 1
575
1079
  }
576
1080
  },
577
1081
  "suno-v4.5-plus" => {
1082
+ "audio_weight" => {
1083
+ "min" => 0,
1084
+ "max" => 1
1085
+ },
1086
+ "lyrics" => {
1087
+ "max" => 5000,
1088
+ "length" => true
1089
+ },
578
1090
  "model" => {
579
1091
  "required" => true
580
1092
  },
@@ -585,11 +1097,39 @@ module RunApi
585
1097
  "persona_type" => {
586
1098
  "enum" => ["style", "voice"]
587
1099
  },
1100
+ "prompt" => {
1101
+ "max" => 5000,
1102
+ "length" => true
1103
+ },
1104
+ "style" => {
1105
+ "max" => 1000,
1106
+ "length" => true
1107
+ },
1108
+ "style_weight" => {
1109
+ "min" => 0,
1110
+ "max" => 1
1111
+ },
1112
+ "title" => {
1113
+ "max" => 80,
1114
+ "length" => true
1115
+ },
588
1116
  "vocal_gender" => {
589
1117
  "enum" => ["male", "female"]
1118
+ },
1119
+ "weirdness_constraint" => {
1120
+ "min" => 0,
1121
+ "max" => 1
590
1122
  }
591
1123
  },
592
1124
  "suno-v5" => {
1125
+ "audio_weight" => {
1126
+ "min" => 0,
1127
+ "max" => 1
1128
+ },
1129
+ "lyrics" => {
1130
+ "max" => 5000,
1131
+ "length" => true
1132
+ },
593
1133
  "model" => {
594
1134
  "required" => true
595
1135
  },
@@ -600,11 +1140,39 @@ module RunApi
600
1140
  "persona_type" => {
601
1141
  "enum" => ["style", "voice"]
602
1142
  },
1143
+ "prompt" => {
1144
+ "max" => 5000,
1145
+ "length" => true
1146
+ },
1147
+ "style" => {
1148
+ "max" => 1000,
1149
+ "length" => true
1150
+ },
1151
+ "style_weight" => {
1152
+ "min" => 0,
1153
+ "max" => 1
1154
+ },
1155
+ "title" => {
1156
+ "max" => 80,
1157
+ "length" => true
1158
+ },
603
1159
  "vocal_gender" => {
604
1160
  "enum" => ["male", "female"]
1161
+ },
1162
+ "weirdness_constraint" => {
1163
+ "min" => 0,
1164
+ "max" => 1
605
1165
  }
606
1166
  },
607
1167
  "suno-v5.5" => {
1168
+ "audio_weight" => {
1169
+ "min" => 0,
1170
+ "max" => 1
1171
+ },
1172
+ "lyrics" => {
1173
+ "max" => 5000,
1174
+ "length" => true
1175
+ },
608
1176
  "model" => {
609
1177
  "required" => true
610
1178
  },
@@ -615,8 +1183,28 @@ module RunApi
615
1183
  "persona_type" => {
616
1184
  "enum" => ["style", "voice"]
617
1185
  },
1186
+ "prompt" => {
1187
+ "max" => 5000,
1188
+ "length" => true
1189
+ },
1190
+ "style" => {
1191
+ "max" => 1000,
1192
+ "length" => true
1193
+ },
1194
+ "style_weight" => {
1195
+ "min" => 0,
1196
+ "max" => 1
1197
+ },
1198
+ "title" => {
1199
+ "max" => 80,
1200
+ "length" => true
1201
+ },
618
1202
  "vocal_gender" => {
619
1203
  "enum" => ["male", "female"]
1204
+ },
1205
+ "weirdness_constraint" => {
1206
+ "min" => 0,
1207
+ "max" => 1
620
1208
  }
621
1209
  }
622
1210
  }
@@ -829,7 +1417,9 @@ module RunApi
829
1417
  "fields_by_model" => {
830
1418
  "_" => {
831
1419
  "full_lyrics" => {
832
- "required" => true
1420
+ "required" => true,
1421
+ "max" => 5000,
1422
+ "length" => true
833
1423
  },
834
1424
  "infill_end_time" => {
835
1425
  "required" => true
@@ -838,16 +1428,22 @@ module RunApi
838
1428
  "required" => true
839
1429
  },
840
1430
  "lyrics" => {
841
- "required" => true
1431
+ "required" => true,
1432
+ "max" => 5000,
1433
+ "length" => true
842
1434
  },
843
1435
  "model" => {
844
1436
  "enum" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"]
845
1437
  },
846
1438
  "tags" => {
847
- "required" => true
1439
+ "required" => true,
1440
+ "max" => 1000,
1441
+ "length" => true
848
1442
  },
849
1443
  "title" => {
850
- "required" => true
1444
+ "required" => true,
1445
+ "max" => 80,
1446
+ "length" => true
851
1447
  }
852
1448
  }
853
1449
  }
@@ -941,11 +1537,19 @@ module RunApi
941
1537
  "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-all", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
942
1538
  "fields_by_model" => {
943
1539
  "suno-v4" => {
1540
+ "audio_weight" => {
1541
+ "min" => 0,
1542
+ "max" => 1
1543
+ },
944
1544
  "duration_seconds" => {
945
1545
  "min" => 10,
946
1546
  "max" => 360,
947
1547
  "type" => "integer"
948
1548
  },
1549
+ "lyrics" => {
1550
+ "max" => 5000,
1551
+ "length" => true
1552
+ },
949
1553
  "model" => {
950
1554
  "required" => true
951
1555
  },
@@ -953,7 +1557,19 @@ module RunApi
953
1557
  "enum" => ["style", "voice"]
954
1558
  },
955
1559
  "prompt" => {
956
- "max" => 3000,
1560
+ "max" => 5000,
1561
+ "length" => true
1562
+ },
1563
+ "style" => {
1564
+ "max" => 1000,
1565
+ "length" => true
1566
+ },
1567
+ "style_weight" => {
1568
+ "min" => 0,
1569
+ "max" => 1
1570
+ },
1571
+ "title" => {
1572
+ "max" => 80,
957
1573
  "length" => true
958
1574
  },
959
1575
  "vocal_gender" => {
@@ -962,14 +1578,26 @@ module RunApi
962
1578
  "vocal_mode" => {
963
1579
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
964
1580
  "required" => true
1581
+ },
1582
+ "weirdness_constraint" => {
1583
+ "min" => 0,
1584
+ "max" => 1
965
1585
  }
966
1586
  },
967
1587
  "suno-v4.5" => {
1588
+ "audio_weight" => {
1589
+ "min" => 0,
1590
+ "max" => 1
1591
+ },
968
1592
  "duration_seconds" => {
969
1593
  "min" => 10,
970
1594
  "max" => 360,
971
1595
  "type" => "integer"
972
1596
  },
1597
+ "lyrics" => {
1598
+ "max" => 5000,
1599
+ "length" => true
1600
+ },
973
1601
  "model" => {
974
1602
  "required" => true
975
1603
  },
@@ -977,7 +1605,19 @@ module RunApi
977
1605
  "enum" => ["style", "voice"]
978
1606
  },
979
1607
  "prompt" => {
980
- "max" => 3000,
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,
981
1621
  "length" => true
982
1622
  },
983
1623
  "vocal_gender" => {
@@ -986,14 +1626,26 @@ module RunApi
986
1626
  "vocal_mode" => {
987
1627
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
988
1628
  "required" => true
1629
+ },
1630
+ "weirdness_constraint" => {
1631
+ "min" => 0,
1632
+ "max" => 1
989
1633
  }
990
1634
  },
991
1635
  "suno-v4.5-all" => {
1636
+ "audio_weight" => {
1637
+ "min" => 0,
1638
+ "max" => 1
1639
+ },
992
1640
  "duration_seconds" => {
993
1641
  "min" => 10,
994
1642
  "max" => 360,
995
1643
  "type" => "integer"
996
1644
  },
1645
+ "lyrics" => {
1646
+ "max" => 5000,
1647
+ "length" => true
1648
+ },
997
1649
  "model" => {
998
1650
  "required" => true
999
1651
  },
@@ -1001,7 +1653,19 @@ module RunApi
1001
1653
  "enum" => ["style", "voice"]
1002
1654
  },
1003
1655
  "prompt" => {
1004
- "max" => 3000,
1656
+ "max" => 5000,
1657
+ "length" => true
1658
+ },
1659
+ "style" => {
1660
+ "max" => 1000,
1661
+ "length" => true
1662
+ },
1663
+ "style_weight" => {
1664
+ "min" => 0,
1665
+ "max" => 1
1666
+ },
1667
+ "title" => {
1668
+ "max" => 80,
1005
1669
  "length" => true
1006
1670
  },
1007
1671
  "vocal_gender" => {
@@ -1010,14 +1674,26 @@ module RunApi
1010
1674
  "vocal_mode" => {
1011
1675
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1012
1676
  "required" => true
1677
+ },
1678
+ "weirdness_constraint" => {
1679
+ "min" => 0,
1680
+ "max" => 1
1013
1681
  }
1014
1682
  },
1015
1683
  "suno-v4.5-plus" => {
1684
+ "audio_weight" => {
1685
+ "min" => 0,
1686
+ "max" => 1
1687
+ },
1016
1688
  "duration_seconds" => {
1017
1689
  "min" => 10,
1018
1690
  "max" => 360,
1019
1691
  "type" => "integer"
1020
1692
  },
1693
+ "lyrics" => {
1694
+ "max" => 5000,
1695
+ "length" => true
1696
+ },
1021
1697
  "model" => {
1022
1698
  "required" => true
1023
1699
  },
@@ -1025,7 +1701,19 @@ module RunApi
1025
1701
  "enum" => ["style", "voice"]
1026
1702
  },
1027
1703
  "prompt" => {
1028
- "max" => 3000,
1704
+ "max" => 5000,
1705
+ "length" => true
1706
+ },
1707
+ "style" => {
1708
+ "max" => 1000,
1709
+ "length" => true
1710
+ },
1711
+ "style_weight" => {
1712
+ "min" => 0,
1713
+ "max" => 1
1714
+ },
1715
+ "title" => {
1716
+ "max" => 80,
1029
1717
  "length" => true
1030
1718
  },
1031
1719
  "vocal_gender" => {
@@ -1034,14 +1722,26 @@ module RunApi
1034
1722
  "vocal_mode" => {
1035
1723
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1036
1724
  "required" => true
1725
+ },
1726
+ "weirdness_constraint" => {
1727
+ "min" => 0,
1728
+ "max" => 1
1037
1729
  }
1038
1730
  },
1039
1731
  "suno-v5" => {
1732
+ "audio_weight" => {
1733
+ "min" => 0,
1734
+ "max" => 1
1735
+ },
1040
1736
  "duration_seconds" => {
1041
1737
  "min" => 10,
1042
1738
  "max" => 360,
1043
1739
  "type" => "integer"
1044
1740
  },
1741
+ "lyrics" => {
1742
+ "max" => 5000,
1743
+ "length" => true
1744
+ },
1045
1745
  "model" => {
1046
1746
  "required" => true
1047
1747
  },
@@ -1049,7 +1749,19 @@ module RunApi
1049
1749
  "enum" => ["style", "voice"]
1050
1750
  },
1051
1751
  "prompt" => {
1052
- "max" => 3000,
1752
+ "max" => 5000,
1753
+ "length" => true
1754
+ },
1755
+ "style" => {
1756
+ "max" => 1000,
1757
+ "length" => true
1758
+ },
1759
+ "style_weight" => {
1760
+ "min" => 0,
1761
+ "max" => 1
1762
+ },
1763
+ "title" => {
1764
+ "max" => 80,
1053
1765
  "length" => true
1054
1766
  },
1055
1767
  "vocal_gender" => {
@@ -1058,14 +1770,26 @@ module RunApi
1058
1770
  "vocal_mode" => {
1059
1771
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1060
1772
  "required" => true
1773
+ },
1774
+ "weirdness_constraint" => {
1775
+ "min" => 0,
1776
+ "max" => 1
1061
1777
  }
1062
1778
  },
1063
1779
  "suno-v5.5" => {
1780
+ "audio_weight" => {
1781
+ "min" => 0,
1782
+ "max" => 1
1783
+ },
1064
1784
  "duration_seconds" => {
1065
1785
  "min" => 10,
1066
1786
  "max" => 360,
1067
1787
  "type" => "integer"
1068
1788
  },
1789
+ "lyrics" => {
1790
+ "max" => 5000,
1791
+ "length" => true
1792
+ },
1069
1793
  "model" => {
1070
1794
  "required" => true
1071
1795
  },
@@ -1073,7 +1797,19 @@ module RunApi
1073
1797
  "enum" => ["style", "voice"]
1074
1798
  },
1075
1799
  "prompt" => {
1076
- "max" => 3000,
1800
+ "max" => 5000,
1801
+ "length" => true
1802
+ },
1803
+ "style" => {
1804
+ "max" => 1000,
1805
+ "length" => true
1806
+ },
1807
+ "style_weight" => {
1808
+ "min" => 0,
1809
+ "max" => 1
1810
+ },
1811
+ "title" => {
1812
+ "max" => 80,
1077
1813
  "length" => true
1078
1814
  },
1079
1815
  "vocal_gender" => {
@@ -1082,6 +1818,10 @@ module RunApi
1082
1818
  "vocal_mode" => {
1083
1819
  "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1084
1820
  "required" => true
1821
+ },
1822
+ "weirdness_constraint" => {
1823
+ "min" => 0,
1824
+ "max" => 1
1085
1825
  }
1086
1826
  }
1087
1827
  },
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runapi-suno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - RunAPI
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.4.0
18
+ version: 0.5.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 0.4.0
25
+ version: 0.5.0
26
26
  description: The Suno Ruby SDK is the language-specific package for Suno on RunAPI.
27
27
  Use this package for song generation, lyrics, vocals, extension, and audio transformation
28
28
  workflows when your application needs request bodies, task status lookup, and consistent
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 4.0.10
96
+ rubygems_version: 4.0.17
97
97
  specification_version: 4
98
98
  summary: Suno API Ruby SDK for RunAPI
99
99
  test_files: []