Module: RunApi::Veo31::Types
- Defined in:
- lib/runapi/veo_3_1/types.rb
Overview
Type definitions and constants for Veo 3.1 video generation.
Defined Under Namespace
Classes: AsyncTaskResponse, CompletedExtendVideoResponse, CompletedTextToVideoResponse, CompletedUpscaleVideoResponse, ExtendVideoResponse, Source, TextToVideoResponse, UpscaleVideoResponse, Video
Constant Summary collapse
- MODELS =
Model variants: veo-3.1 (full quality, higher fidelity) and veo-3.1-fast (low latency).
%w[veo-3.1 veo-3.1-fast].freeze
- OUTPUT_RESOLUTIONS =
Upscale target resolutions: 1080p (1920x1080) or 4k (3840x2160, higher detail and cost).
%w[1080p 4k].freeze
- INPUT_MODES =
Generation input modes: text (default), first_and_last_frames (frame images), or reference (1-3 reference images, fast model only, 16:9 only).
%w[text first_and_last_frames reference].freeze
- ASPECT_RATIOS =
Video aspect ratios: 16:9 landscape, 9:16 portrait, auto (crop based on input dimensions).
%w[16:9 9:16 auto].freeze
- DURATIONS =
Allowed video durations in seconds.
[4, 6, 8].freeze