runapi-suno 0.5.0 → 0.6.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/runapi/suno/resources/add_instrumental.rb +0 -7
  3. data/lib/runapi/suno/resources/add_samples.rb +0 -4
  4. data/lib/runapi/suno/resources/add_vocals.rb +0 -7
  5. data/lib/runapi/suno/resources/audio_action.rb +0 -1
  6. data/lib/runapi/suno/resources/audio_exports.rb +0 -7
  7. data/lib/runapi/suno/resources/blend_lyrics.rb +0 -1
  8. data/lib/runapi/suno/resources/boost_style.rb +0 -7
  9. data/lib/runapi/suno/resources/check_voice.rb +0 -7
  10. data/lib/runapi/suno/resources/convert_audio.rb +0 -7
  11. data/lib/runapi/suno/resources/cover_audio.rb +0 -7
  12. data/lib/runapi/suno/resources/create_mashup.rb +0 -7
  13. data/lib/runapi/suno/resources/extend_music.rb +0 -7
  14. data/lib/runapi/suno/resources/generate_artwork.rb +0 -7
  15. data/lib/runapi/suno/resources/generate_lyrics.rb +0 -7
  16. data/lib/runapi/suno/resources/generate_midi.rb +0 -7
  17. data/lib/runapi/suno/resources/generate_persona.rb +0 -7
  18. data/lib/runapi/suno/resources/generate_voice.rb +0 -7
  19. data/lib/runapi/suno/resources/get_timestamped_lyrics.rb +0 -7
  20. data/lib/runapi/suno/resources/music_from_sample.rb +0 -7
  21. data/lib/runapi/suno/resources/music_visualizations.rb +0 -7
  22. data/lib/runapi/suno/resources/personas.rb +0 -9
  23. data/lib/runapi/suno/resources/regenerate_validation_phrase.rb +0 -7
  24. data/lib/runapi/suno/resources/replace_section.rb +0 -7
  25. data/lib/runapi/suno/resources/separate_audio_stems.rb +0 -7
  26. data/lib/runapi/suno/resources/style_expansions.rb +0 -7
  27. data/lib/runapi/suno/resources/text_to_music.rb +0 -7
  28. data/lib/runapi/suno/resources/text_to_sound.rb +0 -7
  29. data/lib/runapi/suno/resources/timestamped_lyrics.rb +0 -7
  30. data/lib/runapi/suno/resources/visualize_music.rb +0 -7
  31. data/lib/runapi/suno/resources/voice_to_validation_phrase.rb +0 -7
  32. data/lib/runapi/suno/resources/voices.rb +0 -7
  33. data/lib/runapi/suno.rb +0 -2
  34. metadata +3 -5
  35. data/lib/runapi/suno/contract_gen.rb +0 -2673
  36. data/lib/runapi/suno/validators.rb +0 -232
@@ -1,2673 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module RunApi
4
- module Suno
5
- CONTRACT = {
6
- "add-instrumental" => {
7
- "models" => ["suno-v4.5-plus", "suno-v5", "suno-v5.5"],
8
- "fields_by_model" => {
9
- "suno-v4.5-plus" => {
10
- "audio_weight" => {
11
- "min" => 0,
12
- "max" => 1
13
- },
14
- "model" => {
15
- "required" => true
16
- },
17
- "negative_tags" => {
18
- "required" => true
19
- },
20
- "style_weight" => {
21
- "min" => 0,
22
- "max" => 1
23
- },
24
- "tags" => {
25
- "required" => true,
26
- "max" => 1000,
27
- "length" => true
28
- },
29
- "title" => {
30
- "required" => true,
31
- "max" => 80,
32
- "length" => true
33
- },
34
- "upload_url" => {
35
- "required" => true
36
- },
37
- "vocal_gender" => {
38
- "enum" => ["male", "female"]
39
- },
40
- "weirdness_constraint" => {
41
- "min" => 0,
42
- "max" => 1
43
- }
44
- },
45
- "suno-v5" => {
46
- "audio_weight" => {
47
- "min" => 0,
48
- "max" => 1
49
- },
50
- "model" => {
51
- "required" => true
52
- },
53
- "negative_tags" => {
54
- "required" => true
55
- },
56
- "style_weight" => {
57
- "min" => 0,
58
- "max" => 1
59
- },
60
- "tags" => {
61
- "required" => true,
62
- "max" => 1000,
63
- "length" => true
64
- },
65
- "title" => {
66
- "required" => true,
67
- "max" => 80,
68
- "length" => true
69
- },
70
- "upload_url" => {
71
- "required" => true
72
- },
73
- "vocal_gender" => {
74
- "enum" => ["male", "female"]
75
- },
76
- "weirdness_constraint" => {
77
- "min" => 0,
78
- "max" => 1
79
- }
80
- },
81
- "suno-v5.5" => {
82
- "audio_weight" => {
83
- "min" => 0,
84
- "max" => 1
85
- },
86
- "model" => {
87
- "required" => true
88
- },
89
- "negative_tags" => {
90
- "required" => true
91
- },
92
- "style_weight" => {
93
- "min" => 0,
94
- "max" => 1
95
- },
96
- "tags" => {
97
- "required" => true,
98
- "max" => 1000,
99
- "length" => true
100
- },
101
- "title" => {
102
- "required" => true,
103
- "max" => 80,
104
- "length" => true
105
- },
106
- "upload_url" => {
107
- "required" => true
108
- },
109
- "vocal_gender" => {
110
- "enum" => ["male", "female"]
111
- },
112
- "weirdness_constraint" => {
113
- "min" => 0,
114
- "max" => 1
115
- }
116
- }
117
- }
118
- },
119
- "add-samples" => {
120
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
121
- "fields_by_model" => {
122
- "suno-v4" => {
123
- "audio_url" => {
124
- "required" => true
125
- },
126
- "end_seconds" => {
127
- "required" => true,
128
- "min" => 0
129
- },
130
- "model" => {
131
- "required" => true
132
- },
133
- "start_seconds" => {
134
- "required" => true,
135
- "min" => 0
136
- }
137
- },
138
- "suno-v4.5" => {
139
- "audio_url" => {
140
- "required" => true
141
- },
142
- "end_seconds" => {
143
- "required" => true,
144
- "min" => 0
145
- },
146
- "model" => {
147
- "required" => true
148
- },
149
- "start_seconds" => {
150
- "required" => true,
151
- "min" => 0
152
- }
153
- },
154
- "suno-v4.5-plus" => {
155
- "audio_url" => {
156
- "required" => true
157
- },
158
- "end_seconds" => {
159
- "required" => true,
160
- "min" => 0
161
- },
162
- "model" => {
163
- "required" => true
164
- },
165
- "start_seconds" => {
166
- "required" => true,
167
- "min" => 0
168
- }
169
- },
170
- "suno-v5" => {
171
- "audio_url" => {
172
- "required" => true
173
- },
174
- "end_seconds" => {
175
- "required" => true,
176
- "min" => 0
177
- },
178
- "model" => {
179
- "required" => true
180
- },
181
- "start_seconds" => {
182
- "required" => true,
183
- "min" => 0
184
- }
185
- },
186
- "suno-v5.5" => {
187
- "audio_url" => {
188
- "required" => true
189
- },
190
- "end_seconds" => {
191
- "required" => true,
192
- "min" => 0
193
- },
194
- "model" => {
195
- "required" => true
196
- },
197
- "start_seconds" => {
198
- "required" => true,
199
- "min" => 0
200
- }
201
- }
202
- }
203
- },
204
- "add-vocals" => {
205
- "models" => ["suno-v4.5-plus", "suno-v5"],
206
- "fields_by_model" => {
207
- "suno-v4.5-plus" => {
208
- "audio_weight" => {
209
- "min" => 0,
210
- "max" => 1
211
- },
212
- "lyrics" => {
213
- "required" => true,
214
- "max" => 5000,
215
- "length" => true
216
- },
217
- "model" => {
218
- "required" => true
219
- },
220
- "negative_tags" => {
221
- "required" => true
222
- },
223
- "style" => {
224
- "required" => true,
225
- "max" => 1000,
226
- "length" => true
227
- },
228
- "style_weight" => {
229
- "min" => 0,
230
- "max" => 1
231
- },
232
- "title" => {
233
- "required" => true,
234
- "max" => 80,
235
- "length" => true
236
- },
237
- "upload_url" => {
238
- "required" => true
239
- },
240
- "vocal_gender" => {
241
- "enum" => ["male", "female"]
242
- },
243
- "weirdness_constraint" => {
244
- "min" => 0,
245
- "max" => 1
246
- }
247
- },
248
- "suno-v5" => {
249
- "audio_weight" => {
250
- "min" => 0,
251
- "max" => 1
252
- },
253
- "lyrics" => {
254
- "required" => true,
255
- "max" => 5000,
256
- "length" => true
257
- },
258
- "model" => {
259
- "required" => true
260
- },
261
- "negative_tags" => {
262
- "required" => true
263
- },
264
- "style" => {
265
- "required" => true,
266
- "max" => 1000,
267
- "length" => true
268
- },
269
- "style_weight" => {
270
- "min" => 0,
271
- "max" => 1
272
- },
273
- "title" => {
274
- "required" => true,
275
- "max" => 80,
276
- "length" => true
277
- },
278
- "upload_url" => {
279
- "required" => true
280
- },
281
- "vocal_gender" => {
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
297
- }
298
- }
299
- }
300
- },
301
- "blend-lyrics" => {
302
- "models" => [],
303
- "fields_by_model" => {
304
- "_" => {
305
- "lyrics_a" => {
306
- "required" => true
307
- },
308
- "lyrics_b" => {
309
- "required" => true
310
- }
311
- }
312
- }
313
- },
314
- "boost-style" => {
315
- "models" => [],
316
- "fields_by_model" => {
317
- "_" => {
318
- "description" => {
319
- "required" => true
320
- }
321
- }
322
- }
323
- },
324
- "check-voice" => {
325
- "models" => [],
326
- "fields_by_model" => {
327
- "_" => {
328
- "task_id" => {
329
- "required" => true
330
- }
331
- }
332
- }
333
- },
334
- "convert-audio" => {
335
- "models" => [],
336
- "fields_by_model" => {
337
- "_" => {
338
- "audio_id" => {
339
- "required" => true
340
- },
341
- "task_id" => {
342
- "required" => true
343
- }
344
- }
345
- }
346
- },
347
- "cover-audio" => {
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"],
349
- "fields_by_model" => {
350
- "suno-v4" => {
351
- "audio_weight" => {
352
- "min" => 0,
353
- "max" => 1
354
- },
355
- "lyrics" => {
356
- "max" => 5000,
357
- "length" => true
358
- },
359
- "model" => {
360
- "required" => true
361
- },
362
- "persona_type" => {
363
- "enum" => ["style", "voice"]
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
- },
381
- "upload_url" => {
382
- "required" => true
383
- },
384
- "vocal_gender" => {
385
- "enum" => ["male", "female"]
386
- },
387
- "vocal_mode" => {
388
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
389
- "required" => true
390
- },
391
- "weirdness_constraint" => {
392
- "min" => 0,
393
- "max" => 1
394
- }
395
- },
396
- "suno-v4.5" => {
397
- "audio_weight" => {
398
- "min" => 0,
399
- "max" => 1
400
- },
401
- "lyrics" => {
402
- "max" => 5000,
403
- "length" => true
404
- },
405
- "model" => {
406
- "required" => true
407
- },
408
- "persona_type" => {
409
- "enum" => ["style", "voice"]
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
- },
427
- "upload_url" => {
428
- "required" => true
429
- },
430
- "vocal_gender" => {
431
- "enum" => ["male", "female"]
432
- },
433
- "vocal_mode" => {
434
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
435
- "required" => true
436
- },
437
- "weirdness_constraint" => {
438
- "min" => 0,
439
- "max" => 1
440
- }
441
- },
442
- "suno-v4.5-all" => {
443
- "audio_weight" => {
444
- "min" => 0,
445
- "max" => 1
446
- },
447
- "lyrics" => {
448
- "max" => 5000,
449
- "length" => true
450
- },
451
- "model" => {
452
- "required" => true
453
- },
454
- "persona_type" => {
455
- "enum" => ["style", "voice"]
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
- },
473
- "upload_url" => {
474
- "required" => true
475
- },
476
- "vocal_gender" => {
477
- "enum" => ["male", "female"]
478
- },
479
- "vocal_mode" => {
480
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
481
- "required" => true
482
- },
483
- "weirdness_constraint" => {
484
- "min" => 0,
485
- "max" => 1
486
- }
487
- },
488
- "suno-v4.5-plus" => {
489
- "audio_weight" => {
490
- "min" => 0,
491
- "max" => 1
492
- },
493
- "lyrics" => {
494
- "max" => 5000,
495
- "length" => true
496
- },
497
- "model" => {
498
- "required" => true
499
- },
500
- "persona_type" => {
501
- "enum" => ["style", "voice"]
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
- },
519
- "upload_url" => {
520
- "required" => true
521
- },
522
- "vocal_gender" => {
523
- "enum" => ["male", "female"]
524
- },
525
- "vocal_mode" => {
526
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
527
- "required" => true
528
- },
529
- "weirdness_constraint" => {
530
- "min" => 0,
531
- "max" => 1
532
- }
533
- },
534
- "suno-v5" => {
535
- "audio_weight" => {
536
- "min" => 0,
537
- "max" => 1
538
- },
539
- "lyrics" => {
540
- "max" => 5000,
541
- "length" => true
542
- },
543
- "model" => {
544
- "required" => true
545
- },
546
- "persona_type" => {
547
- "enum" => ["style", "voice"]
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
- },
565
- "upload_url" => {
566
- "required" => true
567
- },
568
- "vocal_gender" => {
569
- "enum" => ["male", "female"]
570
- },
571
- "vocal_mode" => {
572
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
573
- "required" => true
574
- },
575
- "weirdness_constraint" => {
576
- "min" => 0,
577
- "max" => 1
578
- }
579
- },
580
- "suno-v5.5" => {
581
- "audio_weight" => {
582
- "min" => 0,
583
- "max" => 1
584
- },
585
- "lyrics" => {
586
- "max" => 5000,
587
- "length" => true
588
- },
589
- "model" => {
590
- "required" => true
591
- },
592
- "persona_type" => {
593
- "enum" => ["style", "voice"]
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
- },
611
- "upload_url" => {
612
- "required" => true
613
- },
614
- "vocal_gender" => {
615
- "enum" => ["male", "female"]
616
- },
617
- "vocal_mode" => {
618
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
619
- "required" => true
620
- },
621
- "weirdness_constraint" => {
622
- "min" => 0,
623
- "max" => 1
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
- }
763
- }
764
- },
765
- "rules" => [{
766
- "when" => {
767
- "vocal_mode" => "auto_lyrics"
768
- },
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
- },
989
- "model" => {
990
- "required" => true
991
- },
992
- "persona_type" => {
993
- "enum" => ["style", "voice"]
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
- },
1011
- "upload_url_list" => {
1012
- "required" => true,
1013
- "min_items" => 2,
1014
- "max_items" => 2
1015
- },
1016
- "vocal_gender" => {
1017
- "enum" => ["male", "female"]
1018
- },
1019
- "vocal_mode" => {
1020
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1021
- "required" => true
1022
- },
1023
- "weirdness_constraint" => {
1024
- "min" => 0,
1025
- "max" => 1
1026
- }
1027
- },
1028
- "suno-v5.5" => {
1029
- "audio_weight" => {
1030
- "min" => 0,
1031
- "max" => 1
1032
- },
1033
- "lyrics" => {
1034
- "max" => 5000,
1035
- "length" => true
1036
- },
1037
- "model" => {
1038
- "required" => true
1039
- },
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
1202
- },
1203
- "upload_url_list" => {
1204
- "required" => true,
1205
- "min_items" => 2,
1206
- "max_items" => 2
1207
- },
1208
- "vocal_gender" => {
1209
- "enum" => ["male", "female"]
1210
- },
1211
- "vocal_mode" => {
1212
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
1213
- "required" => true
1214
- },
1215
- "weirdness_constraint" => {
1216
- "min" => 0,
1217
- "max" => 1
1218
- }
1219
- }
1220
- },
1221
- "rules" => [{
1222
- "when" => {
1223
- "vocal_mode" => "auto_lyrics"
1224
- },
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" => {
1245
- "audio_weight" => {
1246
- "min" => 0,
1247
- "max" => 1
1248
- },
1249
- "lyrics" => {
1250
- "max" => 5000,
1251
- "length" => true
1252
- },
1253
- "model" => {
1254
- "required" => true
1255
- },
1256
- "parameter_mode" => {
1257
- "enum" => ["source", "custom"],
1258
- "required" => true
1259
- },
1260
- "persona_type" => {
1261
- "enum" => ["style", "voice"]
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
- },
1279
- "vocal_gender" => {
1280
- "enum" => ["male", "female"]
1281
- },
1282
- "weirdness_constraint" => {
1283
- "min" => 0,
1284
- "max" => 1
1285
- }
1286
- },
1287
- "suno-v4.5" => {
1288
- "audio_weight" => {
1289
- "min" => 0,
1290
- "max" => 1
1291
- },
1292
- "lyrics" => {
1293
- "max" => 5000,
1294
- "length" => true
1295
- },
1296
- "model" => {
1297
- "required" => true
1298
- },
1299
- "parameter_mode" => {
1300
- "enum" => ["source", "custom"],
1301
- "required" => true
1302
- },
1303
- "persona_type" => {
1304
- "enum" => ["style", "voice"]
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
- },
1322
- "vocal_gender" => {
1323
- "enum" => ["male", "female"]
1324
- },
1325
- "weirdness_constraint" => {
1326
- "min" => 0,
1327
- "max" => 1
1328
- }
1329
- },
1330
- "suno-v4.5-all" => {
1331
- "audio_weight" => {
1332
- "min" => 0,
1333
- "max" => 1
1334
- },
1335
- "lyrics" => {
1336
- "max" => 5000,
1337
- "length" => true
1338
- },
1339
- "model" => {
1340
- "required" => true
1341
- },
1342
- "parameter_mode" => {
1343
- "enum" => ["source", "custom"],
1344
- "required" => true
1345
- },
1346
- "persona_type" => {
1347
- "enum" => ["style", "voice"]
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
- },
1365
- "vocal_gender" => {
1366
- "enum" => ["male", "female"]
1367
- },
1368
- "weirdness_constraint" => {
1369
- "min" => 0,
1370
- "max" => 1
1371
- }
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" => {
1638
- "required" => true
1639
- }
1640
- }
1641
- }
1642
- },
1643
- "generate-lyrics" => {
1644
- "models" => [],
1645
- "fields_by_model" => {
1646
- "_" => {
1647
- "prompt" => {
1648
- "required" => true
1649
- }
1650
- }
1651
- }
1652
- },
1653
- "generate-midi" => {
1654
- "models" => [],
1655
- "fields_by_model" => {
1656
- "_" => {
1657
- "task_id" => {
1658
- "required" => true
1659
- }
1660
- }
1661
- }
1662
- },
1663
- "generate-persona" => {
1664
- "models" => [],
1665
- "fields_by_model" => {
1666
- "_" => {
1667
- "audio_id" => {
1668
- "required" => true
1669
- },
1670
- "description" => {
1671
- "required" => true
1672
- },
1673
- "name" => {
1674
- "required" => true
1675
- },
1676
- "task_id" => {
1677
- "required" => true
1678
- }
1679
- }
1680
- }
1681
- },
1682
- "generate-voice" => {
1683
- "models" => [],
1684
- "fields_by_model" => {
1685
- "_" => {
1686
- "singer_skill_level" => {
1687
- "enum" => ["beginner", "intermediate", "advanced", "professional"]
1688
- },
1689
- "task_id" => {
1690
- "required" => true
1691
- },
1692
- "verify_url" => {
1693
- "required" => true
1694
- }
1695
- }
1696
- }
1697
- },
1698
- "get-timestamped-lyrics" => {
1699
- "models" => [],
1700
- "fields_by_model" => {
1701
- "_" => {
1702
- "audio_id" => {
1703
- "required" => true
1704
- },
1705
- "task_id" => {
1706
- "required" => true
1707
- }
1708
- }
1709
- }
1710
- },
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" => {
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" => {
1838
- "required" => true,
1839
- "min" => 0
1840
- },
1841
- "model" => {
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
1876
- }
1877
- }
1878
- }
1879
- },
1880
- "regenerate-validation-phrase" => {
1881
- "models" => [],
1882
- "fields_by_model" => {
1883
- "_" => {
1884
- "task_id" => {
1885
- "required" => true
1886
- }
1887
- }
1888
- }
1889
- },
1890
- "remaster-audio" => {
1891
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
1892
- "fields_by_model" => {
1893
- "suno-v4" => {
1894
- "audio_id" => {
1895
- "required" => true
1896
- },
1897
- "model" => {
1898
- "required" => true
1899
- },
1900
- "source_task_id" => {
1901
- "required" => true
1902
- },
1903
- "variation_category" => {
1904
- "enum" => ["subtle", "normal", "high"]
1905
- }
1906
- },
1907
- "suno-v4.5" => {
1908
- "audio_id" => {
1909
- "required" => true
1910
- },
1911
- "model" => {
1912
- "required" => true
1913
- },
1914
- "source_task_id" => {
1915
- "required" => true
1916
- },
1917
- "variation_category" => {
1918
- "enum" => ["subtle", "normal", "high"]
1919
- }
1920
- },
1921
- "suno-v4.5-plus" => {
1922
- "audio_id" => {
1923
- "required" => true
1924
- },
1925
- "model" => {
1926
- "required" => true
1927
- },
1928
- "source_task_id" => {
1929
- "required" => true
1930
- },
1931
- "variation_category" => {
1932
- "enum" => ["subtle", "normal", "high"]
1933
- }
1934
- },
1935
- "suno-v5" => {
1936
- "audio_id" => {
1937
- "required" => true
1938
- },
1939
- "model" => {
1940
- "required" => true
1941
- },
1942
- "source_task_id" => {
1943
- "required" => true
1944
- },
1945
- "variation_category" => {
1946
- "enum" => ["subtle", "normal", "high"]
1947
- }
1948
- },
1949
- "suno-v5.5" => {
1950
- "audio_id" => {
1951
- "required" => true
1952
- },
1953
- "model" => {
1954
- "required" => true
1955
- },
1956
- "source_task_id" => {
1957
- "required" => true
1958
- },
1959
- "variation_category" => {
1960
- "enum" => ["subtle", "normal", "high"]
1961
- }
1962
- }
1963
- }
1964
- },
1965
- "replace-section" => {
1966
- "models" => [],
1967
- "fields_by_model" => {
1968
- "_" => {
1969
- "full_lyrics" => {
1970
- "required" => true,
1971
- "max" => 5000,
1972
- "length" => true
1973
- },
1974
- "infill_end_time" => {
1975
- "required" => true
1976
- },
1977
- "infill_start_time" => {
1978
- "required" => true
1979
- },
1980
- "lyrics" => {
1981
- "required" => true,
1982
- "max" => 5000,
1983
- "length" => true
1984
- },
1985
- "model" => {
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"]
1987
- },
1988
- "tags" => {
1989
- "required" => true,
1990
- "max" => 1000,
1991
- "length" => true
1992
- },
1993
- "title" => {
1994
- "required" => true,
1995
- "max" => 80,
1996
- "length" => true
1997
- }
1998
- }
1999
- }
2000
- },
2001
- "separate-audio-stems" => {
2002
- "models" => [],
2003
- "fields_by_model" => {
2004
- "_" => {
2005
- "audio_id" => {
2006
- "required" => true
2007
- },
2008
- "stem_name" => {
2009
- "enum" => ["Lead Vocal", "Drum Kit", "Kick", "Snare", "Risers", "Bass", "Backing Vocals", "Piano", "Electric Guitar", "Percussion", "String Section", "Synth", "Acoustic Guitar", "Sound Effects", "Synth Pad", "Synth Bass", "Guitar", "Brass Section", "Organ", "Electronic Drum Kit", "Lead Electric Guitar", "Synth Keys", "Rhythm Electric Guitar", "Electric Piano", "Upright Bass", "Keyboards", "Distorted Electric Guitar", "Synth Strings", "Synth Lead", "Woodwinds", "Rhythm Acoustic Guitar", "Flute", "Harp", "Tambourine", "Trumpet", "Arpeggiator", "Accordion", "Fiddle", "Pedal Steel Guitar", "Synth Voice", "Violin", "Digital Piano", "Synth Brass", "Mandolin", "Choir", "Banjo", "Bells", "Clarinet", "Tenor Saxophone", "Trombone", "Shaker", "French Horn", "Glockenspiel", "Electric Bass", "Cello", "Timpani", "Harmonica", "Marimba", "Vibraphone", "Lap Steel Guitar", "Saxophone", "Orchestra", "Horns", "Cymbals", "Hand Clap", "Oboe", "Celesta", "Congas", "Drone", "Alto Saxophone", "Double Bass", "Ukulele", "Harpsichord", "Baritone Saxophone", "Xylophone", "Tuba", "Bass Guitar", "Whistle", "Lead Guitar", "Rhodes", "808", "Bongos", "Bassoon", "Cowbell", "Viola", "Sitar", "Steel Drums", "Piccolo", "Theremin", "Bagpipes", "Hi-Hat", "Music Box", "Melodica", "Tabla", "Koto", "Djembe", "Taiko", "Didgeridoo"]
2010
- },
2011
- "task_id" => {
2012
- "required" => true
2013
- },
2014
- "type" => {
2015
- "enum" => ["separate_vocal", "split_stem", "split_stem_advanced"]
2016
- }
2017
- }
2018
- },
2019
- "rules" => [{
2020
- "when" => {
2021
- "type" => "split_stem_advanced"
2022
- },
2023
- "required" => ["stem_name"]
2024
- }]
2025
- },
2026
- "stitch-audio" => {
2027
- "models" => ["suno-v4", "suno-v4.5", "suno-v4.5-plus", "suno-v5", "suno-v5.5"],
2028
- "fields_by_model" => {
2029
- "suno-v4" => {
2030
- "audio_id" => {
2031
- "required" => true
2032
- },
2033
- "model" => {
2034
- "required" => true
2035
- },
2036
- "source_task_id" => {
2037
- "required" => true
2038
- }
2039
- },
2040
- "suno-v4.5" => {
2041
- "audio_id" => {
2042
- "required" => true
2043
- },
2044
- "model" => {
2045
- "required" => true
2046
- },
2047
- "source_task_id" => {
2048
- "required" => true
2049
- }
2050
- },
2051
- "suno-v4.5-plus" => {
2052
- "audio_id" => {
2053
- "required" => true
2054
- },
2055
- "model" => {
2056
- "required" => true
2057
- },
2058
- "source_task_id" => {
2059
- "required" => true
2060
- }
2061
- },
2062
- "suno-v5" => {
2063
- "audio_id" => {
2064
- "required" => true
2065
- },
2066
- "model" => {
2067
- "required" => true
2068
- },
2069
- "source_task_id" => {
2070
- "required" => true
2071
- }
2072
- },
2073
- "suno-v5.5" => {
2074
- "audio_id" => {
2075
- "required" => true
2076
- },
2077
- "model" => {
2078
- "required" => true
2079
- },
2080
- "source_task_id" => {
2081
- "required" => true
2082
- }
2083
- }
2084
- }
2085
- },
2086
- "style-expansions" => {
2087
- "models" => [],
2088
- "fields_by_model" => {
2089
- "_" => {
2090
- "description" => {
2091
- "required" => true
2092
- }
2093
- }
2094
- }
2095
- },
2096
- "text-to-music" => {
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"],
2098
- "fields_by_model" => {
2099
- "suno-v4" => {
2100
- "audio_weight" => {
2101
- "min" => 0,
2102
- "max" => 1
2103
- },
2104
- "duration_seconds" => {
2105
- "min" => 10,
2106
- "max" => 360,
2107
- "type" => "integer"
2108
- },
2109
- "lyrics" => {
2110
- "max" => 5000,
2111
- "length" => true
2112
- },
2113
- "model" => {
2114
- "required" => true
2115
- },
2116
- "persona_type" => {
2117
- "enum" => ["style", "voice"]
2118
- },
2119
- "prompt" => {
2120
- "max" => 5000,
2121
- "length" => true
2122
- },
2123
- "style" => {
2124
- "max" => 1000,
2125
- "length" => true
2126
- },
2127
- "style_weight" => {
2128
- "min" => 0,
2129
- "max" => 1
2130
- },
2131
- "title" => {
2132
- "max" => 80,
2133
- "length" => true
2134
- },
2135
- "vocal_gender" => {
2136
- "enum" => ["male", "female"]
2137
- },
2138
- "vocal_mode" => {
2139
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2140
- "required" => true
2141
- },
2142
- "weirdness_constraint" => {
2143
- "min" => 0,
2144
- "max" => 1
2145
- }
2146
- },
2147
- "suno-v4.5" => {
2148
- "audio_weight" => {
2149
- "min" => 0,
2150
- "max" => 1
2151
- },
2152
- "duration_seconds" => {
2153
- "min" => 10,
2154
- "max" => 360,
2155
- "type" => "integer"
2156
- },
2157
- "lyrics" => {
2158
- "max" => 5000,
2159
- "length" => true
2160
- },
2161
- "model" => {
2162
- "required" => true
2163
- },
2164
- "persona_type" => {
2165
- "enum" => ["style", "voice"]
2166
- },
2167
- "prompt" => {
2168
- "max" => 5000,
2169
- "length" => true
2170
- },
2171
- "style" => {
2172
- "max" => 1000,
2173
- "length" => true
2174
- },
2175
- "style_weight" => {
2176
- "min" => 0,
2177
- "max" => 1
2178
- },
2179
- "title" => {
2180
- "max" => 80,
2181
- "length" => true
2182
- },
2183
- "vocal_gender" => {
2184
- "enum" => ["male", "female"]
2185
- },
2186
- "vocal_mode" => {
2187
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2188
- "required" => true
2189
- },
2190
- "weirdness_constraint" => {
2191
- "min" => 0,
2192
- "max" => 1
2193
- }
2194
- },
2195
- "suno-v4.5-all" => {
2196
- "audio_weight" => {
2197
- "min" => 0,
2198
- "max" => 1
2199
- },
2200
- "duration_seconds" => {
2201
- "min" => 10,
2202
- "max" => 360,
2203
- "type" => "integer"
2204
- },
2205
- "lyrics" => {
2206
- "max" => 5000,
2207
- "length" => true
2208
- },
2209
- "model" => {
2210
- "required" => true
2211
- },
2212
- "persona_type" => {
2213
- "enum" => ["style", "voice"]
2214
- },
2215
- "prompt" => {
2216
- "max" => 5000,
2217
- "length" => true
2218
- },
2219
- "style" => {
2220
- "max" => 1000,
2221
- "length" => true
2222
- },
2223
- "style_weight" => {
2224
- "min" => 0,
2225
- "max" => 1
2226
- },
2227
- "title" => {
2228
- "max" => 80,
2229
- "length" => true
2230
- },
2231
- "vocal_gender" => {
2232
- "enum" => ["male", "female"]
2233
- },
2234
- "vocal_mode" => {
2235
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2236
- "required" => true
2237
- },
2238
- "weirdness_constraint" => {
2239
- "min" => 0,
2240
- "max" => 1
2241
- }
2242
- },
2243
- "suno-v4.5-plus" => {
2244
- "audio_weight" => {
2245
- "min" => 0,
2246
- "max" => 1
2247
- },
2248
- "duration_seconds" => {
2249
- "min" => 10,
2250
- "max" => 360,
2251
- "type" => "integer"
2252
- },
2253
- "lyrics" => {
2254
- "max" => 5000,
2255
- "length" => true
2256
- },
2257
- "model" => {
2258
- "required" => true
2259
- },
2260
- "persona_type" => {
2261
- "enum" => ["style", "voice"]
2262
- },
2263
- "prompt" => {
2264
- "max" => 5000,
2265
- "length" => true
2266
- },
2267
- "style" => {
2268
- "max" => 1000,
2269
- "length" => true
2270
- },
2271
- "style_weight" => {
2272
- "min" => 0,
2273
- "max" => 1
2274
- },
2275
- "title" => {
2276
- "max" => 80,
2277
- "length" => true
2278
- },
2279
- "vocal_gender" => {
2280
- "enum" => ["male", "female"]
2281
- },
2282
- "vocal_mode" => {
2283
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2284
- "required" => true
2285
- },
2286
- "weirdness_constraint" => {
2287
- "min" => 0,
2288
- "max" => 1
2289
- }
2290
- },
2291
- "suno-v5" => {
2292
- "audio_weight" => {
2293
- "min" => 0,
2294
- "max" => 1
2295
- },
2296
- "duration_seconds" => {
2297
- "min" => 10,
2298
- "max" => 360,
2299
- "type" => "integer"
2300
- },
2301
- "lyrics" => {
2302
- "max" => 5000,
2303
- "length" => true
2304
- },
2305
- "model" => {
2306
- "required" => true
2307
- },
2308
- "persona_type" => {
2309
- "enum" => ["style", "voice"]
2310
- },
2311
- "prompt" => {
2312
- "max" => 5000,
2313
- "length" => true
2314
- },
2315
- "style" => {
2316
- "max" => 1000,
2317
- "length" => true
2318
- },
2319
- "style_weight" => {
2320
- "min" => 0,
2321
- "max" => 1
2322
- },
2323
- "title" => {
2324
- "max" => 80,
2325
- "length" => true
2326
- },
2327
- "vocal_gender" => {
2328
- "enum" => ["male", "female"]
2329
- },
2330
- "vocal_mode" => {
2331
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2332
- "required" => true
2333
- },
2334
- "weirdness_constraint" => {
2335
- "min" => 0,
2336
- "max" => 1
2337
- }
2338
- },
2339
- "suno-v5.5" => {
2340
- "audio_weight" => {
2341
- "min" => 0,
2342
- "max" => 1
2343
- },
2344
- "duration_seconds" => {
2345
- "min" => 10,
2346
- "max" => 360,
2347
- "type" => "integer"
2348
- },
2349
- "lyrics" => {
2350
- "max" => 5000,
2351
- "length" => true
2352
- },
2353
- "model" => {
2354
- "required" => true
2355
- },
2356
- "persona_type" => {
2357
- "enum" => ["style", "voice"]
2358
- },
2359
- "prompt" => {
2360
- "max" => 5000,
2361
- "length" => true
2362
- },
2363
- "style" => {
2364
- "max" => 1000,
2365
- "length" => true
2366
- },
2367
- "style_weight" => {
2368
- "min" => 0,
2369
- "max" => 1
2370
- },
2371
- "title" => {
2372
- "max" => 80,
2373
- "length" => true
2374
- },
2375
- "vocal_gender" => {
2376
- "enum" => ["male", "female"]
2377
- },
2378
- "vocal_mode" => {
2379
- "enum" => ["auto_lyrics", "exact_lyrics", "instrumental"],
2380
- "required" => true
2381
- },
2382
- "weirdness_constraint" => {
2383
- "min" => 0,
2384
- "max" => 1
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
- }
2530
- }
2531
- },
2532
- "rules" => [{
2533
- "when" => {
2534
- "vocal_mode" => "auto_lyrics"
2535
- },
2536
- "required" => ["prompt"],
2537
- "forbidden" => ["lyrics", "style", "title", "negative_tags", "vocal_gender", "duration_seconds"]
2538
- }, {
2539
- "when" => {
2540
- "vocal_mode" => "exact_lyrics"
2541
- },
2542
- "required" => ["lyrics", "style", "title"],
2543
- "forbidden" => ["prompt"]
2544
- }, {
2545
- "when" => {
2546
- "vocal_mode" => "instrumental"
2547
- },
2548
- "required" => ["style", "title"],
2549
- "forbidden" => ["prompt", "lyrics", "vocal_gender"]
2550
- }, {
2551
- "when" => {
2552
- "model" => "suno-v4"
2553
- },
2554
- "forbidden" => ["duration_seconds"]
2555
- }, {
2556
- "when" => {
2557
- "model" => "suno-v4.5"
2558
- },
2559
- "forbidden" => ["duration_seconds"]
2560
- }, {
2561
- "when" => {
2562
- "model" => "suno-v4.5-all"
2563
- },
2564
- "forbidden" => ["duration_seconds"]
2565
- }, {
2566
- "when" => {
2567
- "model" => "suno-v4.5-plus"
2568
- },
2569
- "forbidden" => ["duration_seconds"]
2570
- }, {
2571
- "when" => {
2572
- "model" => "suno-v5"
2573
- },
2574
- "forbidden" => ["duration_seconds"]
2575
- }, {
2576
- "when" => {
2577
- "voice_id" => {
2578
- "present" => true
2579
- }
2580
- },
2581
- "forbidden" => ["persona_id", "persona_type"]
2582
- }]
2583
- },
2584
- "text-to-sound" => {
2585
- "models" => ["suno-v5", "suno-v5.5"],
2586
- "fields_by_model" => {
2587
- "suno-v5" => {
2588
- "model" => {
2589
- "required" => true
2590
- },
2591
- "prompt" => {
2592
- "required" => true
2593
- },
2594
- "sound_key" => {
2595
- "enum" => ["Cm", "C#m", "Dm", "D#m", "Em", "Fm", "F#m", "Gm", "G#m", "Am", "A#m", "Bm", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"]
2596
- },
2597
- "sound_tempo" => {
2598
- "type" => "integer"
2599
- }
2600
- },
2601
- "suno-v5.5" => {
2602
- "model" => {
2603
- "required" => true
2604
- },
2605
- "prompt" => {
2606
- "required" => true
2607
- },
2608
- "sound_key" => {
2609
- "enum" => ["Cm", "C#m", "Dm", "D#m", "Em", "Fm", "F#m", "Gm", "G#m", "Am", "A#m", "Bm", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"]
2610
- },
2611
- "sound_tempo" => {
2612
- "type" => "integer"
2613
- }
2614
- }
2615
- }
2616
- },
2617
- "timestamped-lyrics" => {
2618
- "models" => [],
2619
- "fields_by_model" => {
2620
- "_" => {
2621
- "source_audio_id" => {
2622
- "required" => true
2623
- }
2624
- }
2625
- }
2626
- },
2627
- "visualize-music" => {
2628
- "models" => [],
2629
- "fields_by_model" => {
2630
- "_" => {
2631
- "audio_id" => {
2632
- "required" => true
2633
- },
2634
- "task_id" => {
2635
- "required" => true
2636
- }
2637
- }
2638
- }
2639
- },
2640
- "voice-to-validation-phrase" => {
2641
- "models" => [],
2642
- "fields_by_model" => {
2643
- "_" => {
2644
- "language" => {
2645
- "enum" => ["en", "zh", "es", "fr", "pt", "de", "ja", "ko", "hi", "ru"]
2646
- },
2647
- "vocal_end_seconds" => {
2648
- "required" => true,
2649
- "type" => "integer"
2650
- },
2651
- "vocal_start_seconds" => {
2652
- "required" => true,
2653
- "type" => "integer"
2654
- },
2655
- "voice_url" => {
2656
- "required" => true
2657
- }
2658
- }
2659
- }
2660
- },
2661
- "voices" => {
2662
- "models" => [],
2663
- "fields_by_model" => {
2664
- "_" => {
2665
- "source_audio_url" => {
2666
- "required" => true
2667
- }
2668
- }
2669
- }
2670
- }
2671
- }.freeze
2672
- end
2673
- end