runapi-suno 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dd793483d6ace66eaf84f7f4e28a88642782e620169c4c7a442a71f36e6f9a4
4
- data.tar.gz: a50038bc7efa5ff36f1f490eb1630c0d094dbce6ad13469ed765451aa710c2d1
3
+ metadata.gz: 630d71197a7fcf7095fcb931f3abc7f7850c6885529182f95e628ce656328547
4
+ data.tar.gz: 48f37a1cfcc2a1a9e84301bfb33f0456fd66b1ea05222ceb2667f5bb234cda13
5
5
  SHA512:
6
- metadata.gz: 460bb0e80a4d86ec69eab534b8d28e9a257186f860c2cc92afb5a910a34082bbdf408fc5e07829a5bc6c2334cbe4daf9a3d7f334937a2ea12d044f6f40542f0d
7
- data.tar.gz: dba87b509ef5f8a088176775925c720852c277c18d76009be43a490de2bd0ece54611381d462b3697cb6db298d1919f1cba54c3f0be24e20ce65b8ec313986ba
6
+ metadata.gz: 2193600b0a619cd7915399d71cbc9ef709bea0ab06f5c35ebbb0d9b740c30eaf3ec45e5ec96053579ed184faa14e4f36113a66ea7cd28af8a038ae160db8c742
7
+ data.tar.gz: 3431976bfe70f5410c6e04b06b2ee6fcf09cae4fa45986eed5488b0155e7f14cf977431b0751b0dcdaef939edd38964410ba4156525a4f66f41929182afdfda0
@@ -887,6 +887,8 @@ module RunApi
887
887
  "fields_by_model" => {
888
888
  "suno-v4" => {
889
889
  "duration_seconds" => {
890
+ "min" => 10,
891
+ "max" => 360,
890
892
  "type" => "integer"
891
893
  },
892
894
  "model" => {
@@ -905,6 +907,8 @@ module RunApi
905
907
  },
906
908
  "suno-v4.5" => {
907
909
  "duration_seconds" => {
910
+ "min" => 10,
911
+ "max" => 360,
908
912
  "type" => "integer"
909
913
  },
910
914
  "model" => {
@@ -923,6 +927,8 @@ module RunApi
923
927
  },
924
928
  "suno-v4.5-all" => {
925
929
  "duration_seconds" => {
930
+ "min" => 10,
931
+ "max" => 360,
926
932
  "type" => "integer"
927
933
  },
928
934
  "model" => {
@@ -941,6 +947,8 @@ module RunApi
941
947
  },
942
948
  "suno-v4.5-plus" => {
943
949
  "duration_seconds" => {
950
+ "min" => 10,
951
+ "max" => 360,
944
952
  "type" => "integer"
945
953
  },
946
954
  "model" => {
@@ -959,6 +967,8 @@ module RunApi
959
967
  },
960
968
  "suno-v5" => {
961
969
  "duration_seconds" => {
970
+ "min" => 10,
971
+ "max" => 360,
962
972
  "type" => "integer"
963
973
  },
964
974
  "model" => {
@@ -977,6 +987,8 @@ module RunApi
977
987
  },
978
988
  "suno-v5.5" => {
979
989
  "duration_seconds" => {
990
+ "min" => 10,
991
+ "max" => 360,
980
992
  "type" => "integer"
981
993
  },
982
994
  "model" => {
@@ -999,7 +1011,7 @@ module RunApi
999
1011
  "vocal_mode" => "auto_lyrics"
1000
1012
  },
1001
1013
  "required" => ["prompt"],
1002
- "forbidden" => ["lyrics", "style", "title"]
1014
+ "forbidden" => ["lyrics", "style", "title", "negative_tags", "vocal_gender", "duration_seconds"]
1003
1015
  }, {
1004
1016
  "when" => {
1005
1017
  "vocal_mode" => "exact_lyrics"
@@ -1011,7 +1023,32 @@ module RunApi
1011
1023
  "vocal_mode" => "instrumental"
1012
1024
  },
1013
1025
  "required" => ["style", "title"],
1014
- "forbidden" => ["prompt", "lyrics"]
1026
+ "forbidden" => ["prompt", "lyrics", "vocal_gender"]
1027
+ }, {
1028
+ "when" => {
1029
+ "model" => "suno-v4"
1030
+ },
1031
+ "forbidden" => ["duration_seconds"]
1032
+ }, {
1033
+ "when" => {
1034
+ "model" => "suno-v4.5"
1035
+ },
1036
+ "forbidden" => ["duration_seconds"]
1037
+ }, {
1038
+ "when" => {
1039
+ "model" => "suno-v4.5-all"
1040
+ },
1041
+ "forbidden" => ["duration_seconds"]
1042
+ }, {
1043
+ "when" => {
1044
+ "model" => "suno-v4.5-plus"
1045
+ },
1046
+ "forbidden" => ["duration_seconds"]
1047
+ }, {
1048
+ "when" => {
1049
+ "model" => "suno-v5"
1050
+ },
1051
+ "forbidden" => ["duration_seconds"]
1015
1052
  }]
1016
1053
  },
1017
1054
  "text-to-sound" => {
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.3.3
4
+ version: 0.3.4
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.3.2
18
+ version: 0.3.3
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.3.2
25
+ version: 0.3.3
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
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 4.0.10
95
+ rubygems_version: 4.0.17
96
96
  specification_version: 4
97
97
  summary: Suno API Ruby SDK for RunAPI
98
98
  test_files: []