Class: RunApi::Runway::Client
- Inherits:
-
Core::Client
- Object
- Core::Client
- RunApi::Runway::Client
- Defined in:
- lib/runapi/runway/client.rb
Overview
Runway Gen-4 video generation API client.
Instance Attribute Summary collapse
-
#extend_video ⇒ Resources::ExtendVideo
readonly
Extend-video operations.
-
#text_to_video ⇒ Resources::TextToVideo
readonly
Text-to-video and image-to-video operations.
Instance Method Summary collapse
-
#initialize(api_key: nil, **options) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(api_key: nil, **options) ⇒ Client
Returns a new instance of Client.
20 21 22 23 24 |
# File 'lib/runapi/runway/client.rb', line 20 def initialize(api_key: nil, **) super @text_to_video = Resources::TextToVideo.new(http) @extend_video = Resources::ExtendVideo.new(http) end |
Instance Attribute Details
#extend_video ⇒ Resources::ExtendVideo (readonly)
Returns Extend-video operations.
18 19 20 |
# File 'lib/runapi/runway/client.rb', line 18 def extend_video @extend_video end |
#text_to_video ⇒ Resources::TextToVideo (readonly)
Returns Text-to-video and image-to-video operations.
16 17 18 |
# File 'lib/runapi/runway/client.rb', line 16 def text_to_video @text_to_video end |