runapi-topaz 0.2.9 → 0.2.11

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: 44b1b350809e1a4c68b284874bde0a6c97b6a54f556e954cb9fddfd85c0c69ff
4
- data.tar.gz: 2190d31fd1f49d6703b09684c5ece244957f836efbe43cdd6f0c5eb2f67b1667
3
+ metadata.gz: e00495a12237b46e6ae75533fc4cd96a887ae98e410983e40eb4c47fc7f1f7ea
4
+ data.tar.gz: ef5bf1a2407f0c254599493537be542c461822a5d46196ab640204ba1f1173e7
5
5
  SHA512:
6
- metadata.gz: a83d5a19c126e61eccc160afa552ef005a01493204992759ac86579192262233ad86b572f3139af11112ef1fe36789745c2742436f383cf074c8fad0661dbc60
7
- data.tar.gz: b18c0cdbdd7b320f463a805fb7c01d0ac9896ba507feb327f97187256928a849a72f79210bfcdf5db7b8ab7cca21294bf35e2628adc8f31e11199bf84c165993
6
+ metadata.gz: 949e7b44575f27327b5ff96011231413f9586080af5ac526bcf64997c31ad7ee2db5d6e666a9682966f00edf31e0c1b794ddf1e670118621aba4923ad707769e
7
+ data.tar.gz: 4d79893271e84d5a525c8dfea1df059baa29c359134a1f4594192aa4d06ffece45cfe95047576de4388523eca2e385c3b92087ce52ad130bd74b9024c34add9d
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#topaz; for SDK docs, use https://runapi.ai/docs#sdk-topaz.
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#topaz.
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#sdk-topaz
37
- - Product docs: https://runapi.ai/docs#topaz
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
@@ -13,7 +13,7 @@ module RunApi
13
13
  # )
14
14
  # puts result.images.first.url
15
15
  class Client < RunApi::Core::Client
16
- # @return [Resources::UpscaleImage] AI-powered image upscaling (1x, 2x, 4x, 8x).
16
+ # @return [Resources::UpscaleImage] AI-powered image upscaling (1x, 2x, 4x).
17
17
  attr_reader :upscale_image
18
18
  # @return [Resources::UpscaleVideo] AI-powered video upscaling (1x, 2x, 4x).
19
19
  attr_reader :upscale_video
@@ -14,7 +14,7 @@ module RunApi
14
14
  "required" => true
15
15
  },
16
16
  "upscale_factor" => {
17
- "enum" => [1, 2, 4, 8],
17
+ "enum" => [1, 2, 4],
18
18
  "required" => true,
19
19
  "type" => "integer"
20
20
  }
@@ -4,7 +4,7 @@ module RunApi
4
4
  module Topaz
5
5
  module Resources
6
6
  # AI-powered image upscaling resource.
7
- # Supports upscale factors of 1x, 2x, 4x, and 8x.
7
+ # Supports upscale factors of 1x, 2x, and 4x.
8
8
  class UpscaleImage
9
9
  include RunApi::Core::ResourceHelpers
10
10
 
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.9
4
+ version: 0.2.11
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.0
18
+ version: 0.4.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.3.0
25
+ version: 0.4.1
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