runapi-topaz 0.2.8 → 0.2.10
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/README.md +4 -4
- data/lib/runapi/topaz/contract_gen.rb +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bfc01ee359d69e7c450dec3abd58dffcc690265b191c87b62e729ba1c96a9e2
|
|
4
|
+
data.tar.gz: c6206c85b7ce04269d2c6b4776c965b0125ea039f4a1df8823cb2e9c4da4b664
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cea10a92150e0537dbe5320330b8689050533eb5a7ae59214c17802e8af5eea3f15eecaed085f3161c938784ea4d69959a2824249cacb6034fd79914032b9816
|
|
7
|
+
data.tar.gz: 69a1907e1a7533a83454e366686a1aae2abdcf0b3395c662870fb8ebcd609d97c8fcdc2e022c9ea6b320e751bbe13948d79ecc3ff15ba43d3ffc73d2afe1e033
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The Topaz Ruby SDK is the language-specific package for Topaz on RunAPI. Use this package for image upscale, video upscale, restoration, and production cleanup workflows when your application needs request bodies, task status lookup, and consistent RunAPI errors in Ruby.
|
|
4
4
|
|
|
5
|
-
This README is the Ruby package guide inside the public `topaz-sdk` repository. For the repository overview, start at `../README.md`; for model details, use https://runapi.ai/models/topaz; for API reference, use https://runapi.ai/docs
|
|
5
|
+
This README is the Ruby package guide inside the public `topaz-sdk` repository. For the repository overview, start at `../README.md`; for model details, use https://runapi.ai/models/topaz; for API reference, use https://runapi.ai/docs/api/topaz/upscale-image; for SDK docs, use https://runapi.ai/docs/resources/sdks.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ require "runapi/topaz"
|
|
|
17
17
|
|
|
18
18
|
client = RunApi::Topaz::Client.new
|
|
19
19
|
task = client.upscale_image.create(
|
|
20
|
-
# Pass the Topaz JSON request body from https://runapi.ai/docs
|
|
20
|
+
# Pass the Topaz JSON request body from https://runapi.ai/docs/api/topaz/upscale-image.
|
|
21
21
|
)
|
|
22
22
|
status = client.upscale_image.get(task.id)
|
|
23
23
|
```
|
|
@@ -33,8 +33,8 @@ Use Ruby keyword arguments and the `RunApi::Topaz` error classes when building u
|
|
|
33
33
|
## Links
|
|
34
34
|
|
|
35
35
|
- Model page: https://runapi.ai/models/topaz
|
|
36
|
-
- SDK docs: https://runapi.ai/docs
|
|
37
|
-
- Product docs: https://runapi.ai/docs
|
|
36
|
+
- SDK docs: https://runapi.ai/docs/resources/sdks
|
|
37
|
+
- Product docs: https://runapi.ai/docs/api/topaz/upscale-image
|
|
38
38
|
- Pricing and rate limits: https://runapi.ai/models/topaz/upscale-image
|
|
39
39
|
- Provider comparison: https://runapi.ai/providers/topaz
|
|
40
40
|
- Full catalog: https://runapi.ai/models
|
|
@@ -7,6 +7,9 @@ module RunApi
|
|
|
7
7
|
"models" => ["topaz-upscale-image"],
|
|
8
8
|
"fields_by_model" => {
|
|
9
9
|
"topaz-upscale-image" => {
|
|
10
|
+
"model" => {
|
|
11
|
+
"required" => true
|
|
12
|
+
},
|
|
10
13
|
"source_image_url" => {
|
|
11
14
|
"required" => true
|
|
12
15
|
},
|
|
@@ -22,6 +25,9 @@ module RunApi
|
|
|
22
25
|
"models" => ["topaz-upscale-video"],
|
|
23
26
|
"fields_by_model" => {
|
|
24
27
|
"topaz-upscale-video" => {
|
|
28
|
+
"model" => {
|
|
29
|
+
"required" => true
|
|
30
|
+
},
|
|
25
31
|
"source_video_url" => {
|
|
26
32
|
"required" => true
|
|
27
33
|
},
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runapi-topaz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.10
|
|
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.4.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.4.0
|
|
26
26
|
description: The Topaz Ruby SDK is the language-specific package for Topaz on RunAPI.
|
|
27
27
|
Use this package for image upscale, video upscale, restoration, and production cleanup
|
|
28
28
|
workflows when your application needs request bodies, task status lookup, and consistent
|
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
requirements: []
|
|
70
|
-
rubygems_version: 4.0.
|
|
70
|
+
rubygems_version: 4.0.10
|
|
71
71
|
specification_version: 4
|
|
72
72
|
summary: Topaz Ruby SDK for RunAPI
|
|
73
73
|
test_files: []
|