runapi-suno 0.4.4 → 0.5.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.
- checksums.yaml +4 -4
- data/lib/runapi/suno/contract_gen.rb +15 -0
- data/lib/runapi/suno/types/resource_responses.rb +0 -9
- data/lib/runapi/suno/types.rb +0 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6fb98e89f2c57dd205c2b3e078e0a51443c9a623718e23d915e765920b5a2a3
|
|
4
|
+
data.tar.gz: 61792decc79cad8ef12fc13566f1c5f6189993bce216dcd41bc05d911fc6dae2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bad45bd9fe50de9b83d16cb0a75c43545337a3b907affea73b6d9ad1b2f3f817e4df63f62a2753384a8e2454019e5f1b3b40cf24b760342208e0a72ee651d9b
|
|
7
|
+
data.tar.gz: 46fdd42bd879e367457dcb1157961d0b04e51524970dc7e5c337b0058e891258990986d53467a88f661321401cec72238e696daee52f9dc237ace75cdbc04fa5
|
|
@@ -1899,6 +1899,9 @@ module RunApi
|
|
|
1899
1899
|
},
|
|
1900
1900
|
"source_task_id" => {
|
|
1901
1901
|
"required" => true
|
|
1902
|
+
},
|
|
1903
|
+
"variation_category" => {
|
|
1904
|
+
"enum" => ["subtle", "normal", "high"]
|
|
1902
1905
|
}
|
|
1903
1906
|
},
|
|
1904
1907
|
"suno-v4.5" => {
|
|
@@ -1910,6 +1913,9 @@ module RunApi
|
|
|
1910
1913
|
},
|
|
1911
1914
|
"source_task_id" => {
|
|
1912
1915
|
"required" => true
|
|
1916
|
+
},
|
|
1917
|
+
"variation_category" => {
|
|
1918
|
+
"enum" => ["subtle", "normal", "high"]
|
|
1913
1919
|
}
|
|
1914
1920
|
},
|
|
1915
1921
|
"suno-v4.5-plus" => {
|
|
@@ -1921,6 +1927,9 @@ module RunApi
|
|
|
1921
1927
|
},
|
|
1922
1928
|
"source_task_id" => {
|
|
1923
1929
|
"required" => true
|
|
1930
|
+
},
|
|
1931
|
+
"variation_category" => {
|
|
1932
|
+
"enum" => ["subtle", "normal", "high"]
|
|
1924
1933
|
}
|
|
1925
1934
|
},
|
|
1926
1935
|
"suno-v5" => {
|
|
@@ -1932,6 +1941,9 @@ module RunApi
|
|
|
1932
1941
|
},
|
|
1933
1942
|
"source_task_id" => {
|
|
1934
1943
|
"required" => true
|
|
1944
|
+
},
|
|
1945
|
+
"variation_category" => {
|
|
1946
|
+
"enum" => ["subtle", "normal", "high"]
|
|
1935
1947
|
}
|
|
1936
1948
|
},
|
|
1937
1949
|
"suno-v5.5" => {
|
|
@@ -1943,6 +1955,9 @@ module RunApi
|
|
|
1943
1955
|
},
|
|
1944
1956
|
"source_task_id" => {
|
|
1945
1957
|
"required" => true
|
|
1958
|
+
},
|
|
1959
|
+
"variation_category" => {
|
|
1960
|
+
"enum" => ["subtle", "normal", "high"]
|
|
1946
1961
|
}
|
|
1947
1962
|
}
|
|
1948
1963
|
}
|
|
@@ -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
|
data/lib/runapi/suno/types.rb
CHANGED
|
@@ -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
|
+
version: 0.5.0
|
|
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.
|
|
18
|
+
version: 0.5.1
|
|
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.
|
|
25
|
+
version: 0.5.1
|
|
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
|