Class: RunApi::Luma::Client
- Inherits:
-
Core::Client
- Object
- Core::Client
- RunApi::Luma::Client
- Defined in:
- lib/runapi/luma/client.rb
Overview
Luma prompt-guided video modification API client. Applies visual edits to an existing video – changing style, adjusting atmosphere, or adding effects – while preserving the source motion.
Instance Attribute Summary collapse
-
#modify_video ⇒ Resources::ModifyVideo
readonly
Prompt-guided video editing that preserves source motion.
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.
19 20 21 22 |
# File 'lib/runapi/luma/client.rb', line 19 def initialize(api_key: nil, **) super @modify_video = Resources::ModifyVideo.new(http) end |
Instance Attribute Details
#modify_video ⇒ Resources::ModifyVideo (readonly)
Returns Prompt-guided video editing that preserves source motion.
17 18 19 |
# File 'lib/runapi/luma/client.rb', line 17 def modify_video @modify_video end |