runapi-runway-aleph 0.2.10 → 0.3.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: 3c4a4180e6544b6efbb3ac33e9611baeb57667cfce1be6188d32f05d43017d95
4
- data.tar.gz: 3ef600ee4c47d573299dd7676c6d87dfe6bd65439572a27ee76e6f9c9b12bbe7
3
+ metadata.gz: 6be912c9a57951cabd31e8720f22b8dd27a24455e2b170bcecd3cefd20228eda
4
+ data.tar.gz: c7c83d547eea4059351271d5480f7455672217f2902d679cd5faa5d7eb84644c
5
5
  SHA512:
6
- metadata.gz: b88a8281d7ca9f72fd6c63e5bca10cc80cebce69145f6a7b104172d0a6dd5bc4f4a22c26f14e2910fe5ea7981ad15efecd57ed0e155e6fd0055b826c3e9e9167
7
- data.tar.gz: f19f29dd4c0426015578cff2264606850d671437a1c503082783f96150c15e73cd2ce7e6df6f2a41b76106a6b3888b94620c9c3540a422ac9597c544e8039231
6
+ metadata.gz: 287017b72c286fbadf36147bb6f4e2d263ce8bf53683582932e8f4c4c4c3c4b5b4f3fcf0e901de13b0bccc1708b3be0b10699e7d5b245e9e06bb48411119fb8b
7
+ data.tar.gz: e65d363304a4ee403581ad7bef57482d4b90808662fff3991e357826178f64da7debfe6048febaa7924aa1cb7d229ace9b6772cc0fe208997dc556148678a61e
@@ -32,7 +32,6 @@ module RunApi
32
32
  # @return [RunApi::RunwayAleph::Types::TaskCreateResponse] task creation result with id
33
33
  def create(options: nil, **params)
34
34
  params = compact_params(params)
35
- validate_contract!(CONTRACT["edit-video"], params.merge(model: MODEL))
36
35
  request(:post, ENDPOINT, body: params, options: options)
37
36
  end
38
37
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  require "runapi/core"
4
4
  require_relative "runway_aleph/types"
5
- require_relative "runway_aleph/contract_gen"
6
5
  require_relative "runway_aleph/resources/edit_video"
7
6
  require_relative "runway_aleph/client"
8
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runapi-runway-aleph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - RunAPI
@@ -15,20 +15,20 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.5.0
18
+ version: 0.6.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.5.0
25
+ version: 0.6.0
26
26
  description: The Runway Aleph Ruby SDK is the language-specific package for Runway
27
27
  Aleph on RunAPI. Use this package for video generation, animation, and video editing
28
28
  workflows when your application needs request bodies, task status lookup, and consistent
29
29
  RunAPI errors in Ruby.
30
30
  email:
31
- - support@runapi.ai
31
+ - contact@runapi.ai
32
32
  executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files:
@@ -39,7 +39,6 @@ files:
39
39
  - lib/runapi-runway_aleph.rb
40
40
  - lib/runapi/runway_aleph.rb
41
41
  - lib/runapi/runway_aleph/client.rb
42
- - lib/runapi/runway_aleph/contract_gen.rb
43
42
  - lib/runapi/runway_aleph/resources/edit_video.rb
44
43
  - lib/runapi/runway_aleph/types.rb
45
44
  homepage: https://runapi.ai/models/runway-aleph
@@ -66,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0'
68
67
  requirements: []
69
- rubygems_version: 4.0.17
68
+ rubygems_version: 4.0.10
70
69
  specification_version: 4
71
70
  summary: Runway Aleph Ruby SDK for RunAPI
72
71
  test_files: []
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module RunApi
4
- module RunwayAleph
5
- CONTRACT = {
6
- "edit-video" => {
7
- "models" => ["runway-aleph"],
8
- "fields_by_model" => {
9
- "runway-aleph" => {
10
- "aspect_ratio" => {
11
- "enum" => ["16:9", "9:16", "4:3", "3:4", "1:1", "21:9"]
12
- },
13
- "prompt" => {
14
- "required" => true
15
- },
16
- "seed" => {
17
- "type" => "integer"
18
- },
19
- "source_video_url" => {
20
- "required" => true
21
- }
22
- }
23
- }
24
- }
25
- }.freeze
26
- end
27
- end