runapi-happyhorse 0.2.8 → 0.2.9

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: e7d66e7f6bb1e4993244ffac318f0ea95a9a20d5b395588ed6f18d5a8a6dc7d3
4
- data.tar.gz: 8559c1d3ee40b323fdc03a84b72cef7c076729089f8e00e3ff2e4e3e33c86442
3
+ metadata.gz: 9765517954c9f9fe79d7ba9c6c2a6c062a73ca6a38824bfa8a2d49056b773685
4
+ data.tar.gz: be2c6693d4310aef8af18efc9b8140048e25524e386332cf15524adff66653a3
5
5
  SHA512:
6
- metadata.gz: 909f40ba4f68a5eb5f8fe5ceb6bf3ce42f2a30f05b1db001aa68b2da8f1e70f9aee8f79a427ec9db6adf3a24963b6ce5b92b142c2fda4c5f856f2a338132d166
7
- data.tar.gz: 3633c1b80aecfff1c4f75dc930db62705415f6febcb35b37ddb156bb5f29c97444c8bd1268d87b33f089381ffc5a9a2716e447a66f042ccf34dbca29f6aa75b8
6
+ metadata.gz: 4164d50c0e43ece7b2b7fb73f97c1751cf6b0144fd3b9ddf5594438d9552a089ab1a50d36476f0a424a547a0f5e4a06b99e7ec39631ca4e3fa599fe835b918f0
7
+ data.tar.gz: c33fa74baf858e78cca06341aa5a40b217dddfb80b7d7e308573e9d2d5f3613b3339aeec4500430a1998f82294c82bdfa22e495067f67593ea1e0197a37a3b43
@@ -26,8 +26,22 @@ module RunApi
26
26
  }
27
27
  },
28
28
  "image-to-video" => {
29
- "models" => ["happyhorse-image-to-video"],
29
+ "models" => ["happyhorse-1.0-i2v", "happyhorse-image-to-video"],
30
30
  "fields_by_model" => {
31
+ "happyhorse-1.0-i2v" => {
32
+ "duration_seconds" => {
33
+ "type" => "integer"
34
+ },
35
+ "first_frame_image_url" => {
36
+ "required" => true
37
+ },
38
+ "output_resolution" => {
39
+ "enum" => ["720p", "1080p"]
40
+ },
41
+ "seed" => {
42
+ "type" => "integer"
43
+ }
44
+ },
31
45
  "happyhorse-image-to-video" => {
32
46
  "duration_seconds" => {
33
47
  "type" => "integer"
@@ -45,8 +59,41 @@ module RunApi
45
59
  }
46
60
  },
47
61
  "text-to-video" => {
48
- "models" => ["happyhorse-character", "happyhorse-text-to-video"],
62
+ "models" => ["happyhorse-1.0-r2v", "happyhorse-1.0-t2v", "happyhorse-character", "happyhorse-text-to-video"],
49
63
  "fields_by_model" => {
64
+ "happyhorse-1.0-r2v" => {
65
+ "aspect_ratio" => {
66
+ "enum" => ["16:9", "9:16", "1:1", "4:3", "3:4"]
67
+ },
68
+ "duration_seconds" => {
69
+ "type" => "integer"
70
+ },
71
+ "output_resolution" => {
72
+ "enum" => ["720p", "1080p"]
73
+ },
74
+ "reference_image_urls" => {
75
+ "required" => true,
76
+ "min_items" => 1,
77
+ "max_items" => 9
78
+ },
79
+ "seed" => {
80
+ "type" => "integer"
81
+ }
82
+ },
83
+ "happyhorse-1.0-t2v" => {
84
+ "aspect_ratio" => {
85
+ "enum" => ["16:9", "9:16", "1:1", "4:3", "3:4"]
86
+ },
87
+ "duration_seconds" => {
88
+ "type" => "integer"
89
+ },
90
+ "output_resolution" => {
91
+ "enum" => ["720p", "1080p"]
92
+ },
93
+ "seed" => {
94
+ "type" => "integer"
95
+ }
96
+ },
50
97
  "happyhorse-character" => {
51
98
  "aspect_ratio" => {
52
99
  "enum" => ["16:9", "9:16", "1:1", "4:3", "3:4"]
@@ -6,6 +6,9 @@ module RunApi
6
6
  module Types
7
7
  # Character-consistent model; requires 1-9 reference_image_urls.
8
8
  CHARACTER_MODEL = "happyhorse-character"
9
+ HAPPYHORSE_1_0_T2V_MODEL = "happyhorse-1.0-t2v"
10
+ HAPPYHORSE_1_0_R2V_MODEL = "happyhorse-1.0-r2v"
11
+ HAPPYHORSE_1_0_I2V_MODEL = "happyhorse-1.0-i2v"
9
12
  # Duration range in seconds (3-15). Defaults to 5.
10
13
  DURATION_RANGE = (3..15)
11
14
  # Reproducibility seed range.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runapi-happyhorse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
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.2.14
18
+ version: 0.3.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.2.14
25
+ version: 0.3.0
26
26
  description: The HappyHorse Ruby SDK is the language-specific package for HappyHorse
27
27
  on RunAPI. Use this package for video generation, animation, and video editing workflows
28
28
  when your application needs request bodies, task status lookup, and consistent RunAPI
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  requirements: []
71
- rubygems_version: 4.0.10
71
+ rubygems_version: 4.0.17
72
72
  specification_version: 4
73
73
  summary: HappyHorse API Ruby SDK for RunAPI
74
74
  test_files: []