runapi-fish-audio 0.3.0 → 0.4.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 338a7a17f016160f10748a7c40dc93b241b466d91f0adbc0b7e4b89b3dffecc8
|
|
4
|
+
data.tar.gz: 1b0596f4c5ce10dd461aa6a66c9f3f6f2b6240cddfec759b9d023b73139c74f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c98193786625a49bc77d6ae88ee539dc5400f3fa322f961d320e4b9cec122793e3e7a938f52ca3ada9afd1e13b94d54e59c1baa80196a31c6028f9c2971a4b67
|
|
7
|
+
data.tar.gz: 9f92c001d9edc71d927649ab9a7fbfd2ad5a95458f9964527aa8cb75b3e35fa65ea62a9b818f3c246eb69a92dd22e84da950d453f41269323df4f04ae1915165
|
|
@@ -17,7 +17,13 @@ module RunApi
|
|
|
17
17
|
def run(options: nil, **params)
|
|
18
18
|
params = compact_params(params)
|
|
19
19
|
validate_contract!(CONTRACT["create-voice"], params)
|
|
20
|
-
|
|
20
|
+
run_hybrid(ENDPOINT, body: params, options: options, response_class: RESPONSE_CLASS)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def subscribe(options: nil, **params)
|
|
24
|
+
params = compact_params(params)
|
|
25
|
+
validate_contract!(CONTRACT["create-voice"], params)
|
|
26
|
+
subscribe_hybrid(ENDPOINT, body: params, options: options, response_class: RESPONSE_CLASS)
|
|
21
27
|
end
|
|
22
28
|
end
|
|
23
29
|
end
|
|
@@ -18,7 +18,14 @@ module RunApi
|
|
|
18
18
|
params = compact_params(params)
|
|
19
19
|
validate_contract!(CONTRACT["text-to-speech"], params)
|
|
20
20
|
validate_references!(params[:references])
|
|
21
|
-
|
|
21
|
+
run_hybrid(ENDPOINT, body: params, options: options, response_class: RESPONSE_CLASS)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def subscribe(options: nil, **params)
|
|
25
|
+
params = compact_params(params)
|
|
26
|
+
validate_contract!(CONTRACT["text-to-speech"], params)
|
|
27
|
+
validate_references!(params[:references])
|
|
28
|
+
subscribe_hybrid(ENDPOINT, body: params, options: options, response_class: RESPONSE_CLASS)
|
|
22
29
|
end
|
|
23
30
|
|
|
24
31
|
private
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runapi-fish-audio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.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.
|
|
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.
|
|
25
|
+
version: 0.5.0
|
|
26
26
|
description: Install `runapi-fish-audio` and create a `RunApi::FishAudio::Client`.
|
|
27
27
|
email:
|
|
28
28
|
- contact@runapi.ai
|
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
67
|
version: '0'
|
|
68
68
|
requirements: []
|
|
69
|
-
rubygems_version: 4.0.
|
|
69
|
+
rubygems_version: 4.0.17
|
|
70
70
|
specification_version: 4
|
|
71
71
|
summary: Fish Audio Ruby SDK for RunAPI
|
|
72
72
|
test_files: []
|