runapi-suno 0.4.4 → 0.5.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1fbe17f168ddf978051af3be4d49a7ad1ce0ae95b6903f92cf40277d8771f4f
4
- data.tar.gz: 80f08f5a1d296513b84bce42c29781e0efb44ec2de235b708b919365682435ec
3
+ metadata.gz: 441d7e599ba7a9b1d3b2082d25c29354d65969a141ccd86a226dd45adf491586
4
+ data.tar.gz: ba5300fad79eaacfbc2f410879393f7f89f222464f8951eedb5c2c69b4582627
5
5
  SHA512:
6
- metadata.gz: 938a240e1dbad0c4e911e85e5a3a4db19e14c77a2b4a2157204b12135b96a66c2fbd9986b3c3d202569df4a9dffc5f3b84c299511f1a2b0d6500731577ec8fcd
7
- data.tar.gz: e5ada7c00932a3bc81d06ee0a4f9602a5cc3fd9a758422d2661480d75d1fb9a44c630b446ab6bd7b702467ba177d3797fa1c12acc5e5477fb84359fdc4b612dd
6
+ metadata.gz: 8da511903f9c5df5c35e84fba5bbeb80f4d4bee40c54a663f74d5334c3bd4c9696be155a19366f0a577438377cbeec3ecac503a0174e8ce91a80f40ef112565c
7
+ data.tar.gz: 43982e5a3d5791b1b0f3dd3bf41cb8b74026c8daa6ed02100df17d19f7603261cb343e161e5edb0ffb96b6171f442fb6df0275856de107bb3de22b15dbf8846c
@@ -15,7 +15,9 @@ module RunApi
15
15
  "required" => true
16
16
  },
17
17
  "negative_tags" => {
18
- "required" => true
18
+ "required" => true,
19
+ "max" => 200,
20
+ "length" => true
19
21
  },
20
22
  "style_weight" => {
21
23
  "min" => 0,
@@ -51,7 +53,9 @@ module RunApi
51
53
  "required" => true
52
54
  },
53
55
  "negative_tags" => {
54
- "required" => true
56
+ "required" => true,
57
+ "max" => 200,
58
+ "length" => true
55
59
  },
56
60
  "style_weight" => {
57
61
  "min" => 0,
@@ -87,7 +91,9 @@ module RunApi
87
91
  "required" => true
88
92
  },
89
93
  "negative_tags" => {
90
- "required" => true
94
+ "required" => true,
95
+ "max" => 200,
96
+ "length" => true
91
97
  },
92
98
  "style_weight" => {
93
99
  "min" => 0,
@@ -218,7 +224,9 @@ module RunApi
218
224
  "required" => true
219
225
  },
220
226
  "negative_tags" => {
221
- "required" => true
227
+ "required" => true,
228
+ "max" => 200,
229
+ "length" => true
222
230
  },
223
231
  "style" => {
224
232
  "required" => true,
@@ -259,7 +267,9 @@ module RunApi
259
267
  "required" => true
260
268
  },
261
269
  "negative_tags" => {
262
- "required" => true
270
+ "required" => true,
271
+ "max" => 200,
272
+ "length" => true
263
273
  },
264
274
  "style" => {
265
275
  "required" => true,
@@ -359,6 +369,10 @@ module RunApi
359
369
  "model" => {
360
370
  "required" => true
361
371
  },
372
+ "negative_tags" => {
373
+ "max" => 200,
374
+ "length" => true
375
+ },
362
376
  "persona_type" => {
363
377
  "enum" => ["style", "voice"]
364
378
  },
@@ -405,6 +419,10 @@ module RunApi
405
419
  "model" => {
406
420
  "required" => true
407
421
  },
422
+ "negative_tags" => {
423
+ "max" => 200,
424
+ "length" => true
425
+ },
408
426
  "persona_type" => {
409
427
  "enum" => ["style", "voice"]
410
428
  },
@@ -451,6 +469,10 @@ module RunApi
451
469
  "model" => {
452
470
  "required" => true
453
471
  },
472
+ "negative_tags" => {
473
+ "max" => 200,
474
+ "length" => true
475
+ },
454
476
  "persona_type" => {
455
477
  "enum" => ["style", "voice"]
456
478
  },
@@ -497,6 +519,10 @@ module RunApi
497
519
  "model" => {
498
520
  "required" => true
499
521
  },
522
+ "negative_tags" => {
523
+ "max" => 200,
524
+ "length" => true
525
+ },
500
526
  "persona_type" => {
501
527
  "enum" => ["style", "voice"]
502
528
  },
@@ -543,6 +569,10 @@ module RunApi
543
569
  "model" => {
544
570
  "required" => true
545
571
  },
572
+ "negative_tags" => {
573
+ "max" => 200,
574
+ "length" => true
575
+ },
546
576
  "persona_type" => {
547
577
  "enum" => ["style", "voice"]
548
578
  },
@@ -589,6 +619,10 @@ module RunApi
589
619
  "model" => {
590
620
  "required" => true
591
621
  },
622
+ "negative_tags" => {
623
+ "max" => 200,
624
+ "length" => true
625
+ },
592
626
  "persona_type" => {
593
627
  "enum" => ["style", "voice"]
594
628
  },
@@ -635,6 +669,10 @@ module RunApi
635
669
  "model" => {
636
670
  "required" => true
637
671
  },
672
+ "negative_tags" => {
673
+ "max" => 200,
674
+ "length" => true
675
+ },
638
676
  "persona_type" => {
639
677
  "enum" => ["style", "voice"]
640
678
  },
@@ -681,6 +719,10 @@ module RunApi
681
719
  "model" => {
682
720
  "required" => true
683
721
  },
722
+ "negative_tags" => {
723
+ "max" => 200,
724
+ "length" => true
725
+ },
684
726
  "persona_type" => {
685
727
  "enum" => ["style", "voice"]
686
728
  },
@@ -727,6 +769,10 @@ module RunApi
727
769
  "model" => {
728
770
  "required" => true
729
771
  },
772
+ "negative_tags" => {
773
+ "max" => 200,
774
+ "length" => true
775
+ },
730
776
  "persona_type" => {
731
777
  "enum" => ["style", "voice"]
732
778
  },
@@ -1253,6 +1299,10 @@ module RunApi
1253
1299
  "model" => {
1254
1300
  "required" => true
1255
1301
  },
1302
+ "negative_tags" => {
1303
+ "max" => 200,
1304
+ "length" => true
1305
+ },
1256
1306
  "parameter_mode" => {
1257
1307
  "enum" => ["source", "custom"],
1258
1308
  "required" => true
@@ -1296,6 +1346,10 @@ module RunApi
1296
1346
  "model" => {
1297
1347
  "required" => true
1298
1348
  },
1349
+ "negative_tags" => {
1350
+ "max" => 200,
1351
+ "length" => true
1352
+ },
1299
1353
  "parameter_mode" => {
1300
1354
  "enum" => ["source", "custom"],
1301
1355
  "required" => true
@@ -1339,6 +1393,10 @@ module RunApi
1339
1393
  "model" => {
1340
1394
  "required" => true
1341
1395
  },
1396
+ "negative_tags" => {
1397
+ "max" => 200,
1398
+ "length" => true
1399
+ },
1342
1400
  "parameter_mode" => {
1343
1401
  "enum" => ["source", "custom"],
1344
1402
  "required" => true
@@ -1382,6 +1440,10 @@ module RunApi
1382
1440
  "model" => {
1383
1441
  "required" => true
1384
1442
  },
1443
+ "negative_tags" => {
1444
+ "max" => 200,
1445
+ "length" => true
1446
+ },
1385
1447
  "parameter_mode" => {
1386
1448
  "enum" => ["source", "custom"],
1387
1449
  "required" => true
@@ -1425,6 +1487,10 @@ module RunApi
1425
1487
  "model" => {
1426
1488
  "required" => true
1427
1489
  },
1490
+ "negative_tags" => {
1491
+ "max" => 200,
1492
+ "length" => true
1493
+ },
1428
1494
  "parameter_mode" => {
1429
1495
  "enum" => ["source", "custom"],
1430
1496
  "required" => true
@@ -1468,6 +1534,10 @@ module RunApi
1468
1534
  "model" => {
1469
1535
  "required" => true
1470
1536
  },
1537
+ "negative_tags" => {
1538
+ "max" => 200,
1539
+ "length" => true
1540
+ },
1471
1541
  "parameter_mode" => {
1472
1542
  "enum" => ["source", "custom"],
1473
1543
  "required" => true
@@ -1511,6 +1581,10 @@ module RunApi
1511
1581
  "model" => {
1512
1582
  "required" => true
1513
1583
  },
1584
+ "negative_tags" => {
1585
+ "max" => 200,
1586
+ "length" => true
1587
+ },
1514
1588
  "parameter_mode" => {
1515
1589
  "enum" => ["source", "custom"],
1516
1590
  "required" => true
@@ -1554,6 +1628,10 @@ module RunApi
1554
1628
  "model" => {
1555
1629
  "required" => true
1556
1630
  },
1631
+ "negative_tags" => {
1632
+ "max" => 200,
1633
+ "length" => true
1634
+ },
1557
1635
  "parameter_mode" => {
1558
1636
  "enum" => ["source", "custom"],
1559
1637
  "required" => true
@@ -1597,6 +1675,10 @@ module RunApi
1597
1675
  "model" => {
1598
1676
  "required" => true
1599
1677
  },
1678
+ "negative_tags" => {
1679
+ "max" => 200,
1680
+ "length" => true
1681
+ },
1600
1682
  "parameter_mode" => {
1601
1683
  "enum" => ["source", "custom"],
1602
1684
  "required" => true
@@ -1645,7 +1727,9 @@ module RunApi
1645
1727
  "fields_by_model" => {
1646
1728
  "_" => {
1647
1729
  "prompt" => {
1648
- "required" => true
1730
+ "required" => true,
1731
+ "max" => 200,
1732
+ "length" => true
1649
1733
  }
1650
1734
  }
1651
1735
  }
@@ -1899,6 +1983,9 @@ module RunApi
1899
1983
  },
1900
1984
  "source_task_id" => {
1901
1985
  "required" => true
1986
+ },
1987
+ "variation_category" => {
1988
+ "enum" => ["subtle", "normal", "high"]
1902
1989
  }
1903
1990
  },
1904
1991
  "suno-v4.5" => {
@@ -1910,6 +1997,9 @@ module RunApi
1910
1997
  },
1911
1998
  "source_task_id" => {
1912
1999
  "required" => true
2000
+ },
2001
+ "variation_category" => {
2002
+ "enum" => ["subtle", "normal", "high"]
1913
2003
  }
1914
2004
  },
1915
2005
  "suno-v4.5-plus" => {
@@ -1921,6 +2011,9 @@ module RunApi
1921
2011
  },
1922
2012
  "source_task_id" => {
1923
2013
  "required" => true
2014
+ },
2015
+ "variation_category" => {
2016
+ "enum" => ["subtle", "normal", "high"]
1924
2017
  }
1925
2018
  },
1926
2019
  "suno-v5" => {
@@ -1932,6 +2025,9 @@ module RunApi
1932
2025
  },
1933
2026
  "source_task_id" => {
1934
2027
  "required" => true
2028
+ },
2029
+ "variation_category" => {
2030
+ "enum" => ["subtle", "normal", "high"]
1935
2031
  }
1936
2032
  },
1937
2033
  "suno-v5.5" => {
@@ -1943,6 +2039,9 @@ module RunApi
1943
2039
  },
1944
2040
  "source_task_id" => {
1945
2041
  "required" => true
2042
+ },
2043
+ "variation_category" => {
2044
+ "enum" => ["subtle", "normal", "high"]
1946
2045
  }
1947
2046
  }
1948
2047
  }
@@ -1970,6 +2069,10 @@ module RunApi
1970
2069
  "model" => {
1971
2070
  "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"]
1972
2071
  },
2072
+ "negative_tags" => {
2073
+ "max" => 200,
2074
+ "length" => true
2075
+ },
1973
2076
  "tags" => {
1974
2077
  "required" => true,
1975
2078
  "max" => 1000,
@@ -2098,6 +2201,10 @@ module RunApi
2098
2201
  "model" => {
2099
2202
  "required" => true
2100
2203
  },
2204
+ "negative_tags" => {
2205
+ "max" => 200,
2206
+ "length" => true
2207
+ },
2101
2208
  "persona_type" => {
2102
2209
  "enum" => ["style", "voice"]
2103
2210
  },
@@ -2146,6 +2253,10 @@ module RunApi
2146
2253
  "model" => {
2147
2254
  "required" => true
2148
2255
  },
2256
+ "negative_tags" => {
2257
+ "max" => 200,
2258
+ "length" => true
2259
+ },
2149
2260
  "persona_type" => {
2150
2261
  "enum" => ["style", "voice"]
2151
2262
  },
@@ -2194,6 +2305,10 @@ module RunApi
2194
2305
  "model" => {
2195
2306
  "required" => true
2196
2307
  },
2308
+ "negative_tags" => {
2309
+ "max" => 200,
2310
+ "length" => true
2311
+ },
2197
2312
  "persona_type" => {
2198
2313
  "enum" => ["style", "voice"]
2199
2314
  },
@@ -2242,6 +2357,10 @@ module RunApi
2242
2357
  "model" => {
2243
2358
  "required" => true
2244
2359
  },
2360
+ "negative_tags" => {
2361
+ "max" => 200,
2362
+ "length" => true
2363
+ },
2245
2364
  "persona_type" => {
2246
2365
  "enum" => ["style", "voice"]
2247
2366
  },
@@ -2290,6 +2409,10 @@ module RunApi
2290
2409
  "model" => {
2291
2410
  "required" => true
2292
2411
  },
2412
+ "negative_tags" => {
2413
+ "max" => 200,
2414
+ "length" => true
2415
+ },
2293
2416
  "persona_type" => {
2294
2417
  "enum" => ["style", "voice"]
2295
2418
  },
@@ -2338,6 +2461,10 @@ module RunApi
2338
2461
  "model" => {
2339
2462
  "required" => true
2340
2463
  },
2464
+ "negative_tags" => {
2465
+ "max" => 200,
2466
+ "length" => true
2467
+ },
2341
2468
  "persona_type" => {
2342
2469
  "enum" => ["style", "voice"]
2343
2470
  },
@@ -2386,6 +2513,10 @@ module RunApi
2386
2513
  "model" => {
2387
2514
  "required" => true
2388
2515
  },
2516
+ "negative_tags" => {
2517
+ "max" => 200,
2518
+ "length" => true
2519
+ },
2389
2520
  "persona_type" => {
2390
2521
  "enum" => ["style", "voice"]
2391
2522
  },
@@ -2434,6 +2565,10 @@ module RunApi
2434
2565
  "model" => {
2435
2566
  "required" => true
2436
2567
  },
2568
+ "negative_tags" => {
2569
+ "max" => 200,
2570
+ "length" => true
2571
+ },
2437
2572
  "persona_type" => {
2438
2573
  "enum" => ["style", "voice"]
2439
2574
  },
@@ -2482,6 +2617,10 @@ module RunApi
2482
2617
  "model" => {
2483
2618
  "required" => true
2484
2619
  },
2620
+ "negative_tags" => {
2621
+ "max" => 200,
2622
+ "length" => true
2623
+ },
2485
2624
  "persona_type" => {
2486
2625
  "enum" => ["style", "voice"]
2487
2626
  },
@@ -10,10 +10,6 @@ module RunApi
10
10
  ALL = [AVAILABLE, FAILED].freeze
11
11
  end
12
12
 
13
- # Billing envelope for a resource lookup. Resource provenance remains opaque.
14
- class ResourceBilling < RunApi::Core::BaseModel
15
- end
16
-
17
13
  class PersonaResource < RunApi::Core::BaseModel
18
14
  required :id, String
19
15
  optional :name, String
@@ -30,12 +26,10 @@ module RunApi
30
26
  optional :id, String
31
27
  optional :status, String
32
28
  optional :error, String
33
- optional :billing, RunApi::Core::TaskBillingFacts
34
29
  end
35
30
 
36
31
  class VoiceCreationResponse < RunApi::Core::BaseModel
37
32
  required :voice, -> { VoiceResource }
38
- optional :billing, RunApi::Core::TaskBillingFacts
39
33
  end
40
34
 
41
35
  class TimestampedLyricsResponse < RunApi::Core::BaseModel
@@ -43,19 +37,16 @@ module RunApi
43
37
  optional :waveform_data, [Numeric]
44
38
  optional :hoct_cer, Numeric
45
39
  optional :is_streamed
46
- optional :billing, RunApi::Core::TaskBillingFacts
47
40
  end
48
41
 
49
42
  class PersonaResourceResponse < RunApi::Core::BaseModel
50
43
  required :persona, -> { PersonaResource }
51
44
  required :status, String, enum: -> { ResourceStatus::ALL }
52
- required :billing, ResourceBilling
53
45
  end
54
46
 
55
47
  class VoiceResourceResponse < RunApi::Core::BaseModel
56
48
  required :voice, -> { VoiceResource }
57
49
  required :status, String, enum: -> { ResourceStatus::ALL }
58
- required :billing, ResourceBilling
59
50
  end
60
51
 
61
52
  class AudioExportResponse < AsyncTaskResponse
@@ -204,7 +204,6 @@ module RunApi
204
204
  optional :waveform_data, [Numeric]
205
205
  optional :hoot_cer, Numeric
206
206
  optional :is_streamed
207
- optional :billing, RunApi::Core::TaskBillingFacts
208
207
  end
209
208
 
210
209
  # Result of a section replacement task.
@@ -217,14 +216,12 @@ module RunApi
217
216
  class GeneratePersonaResponse < RunApi::Core::BaseModel
218
217
  required :persona, -> { Persona }
219
218
  optional :error, String
220
- optional :billing, RunApi::Core::TaskBillingFacts
221
219
  end
222
220
 
223
221
  # Synchronous result of style tag generation. +style+ contains the generated tags string.
224
222
  class BoostStyleResponse < RunApi::Core::BaseModel
225
223
  optional :style, String
226
224
  optional :error, String
227
- optional :billing, RunApi::Core::TaskBillingFacts
228
225
  end
229
226
 
230
227
  # Result of a mashup task.
@@ -249,7 +246,6 @@ module RunApi
249
246
  class CheckVoiceResponse < RunApi::Core::BaseModel
250
247
  optional :is_available
251
248
  optional :error, String
252
- optional :billing, RunApi::Core::TaskBillingFacts
253
249
  end
254
250
  end
255
251
  end
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.4
4
+ version: 0.5.1
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.5.0
18
+ version: 0.5.2
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.5.0
25
+ version: 0.5.2
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