Module: RunApi::GeminiOmni::Types
- Defined in:
- lib/runapi/gemini_omni/types.rb
Overview
Type definitions and constants for the Gemini Omni API.
Defined Under Namespace
Classes: Audio, Character, CompletedTextToVideoResponse, CreateAudioResponse, CreateCharacterResponse, Image, TextToVideoResponse, Video
Constant Summary collapse
- AUDIO_VOICES =
The 30 preset voice identities, each with distinct pitch, cadence, and personality.
%w[ achernar achird algenib algieba alnilam aoede autonoe callirrhoe charon despina enceladus erinome fenrir gacrux iapetus kore laomedeia leda orus puck pulcherrima rasalgethi sadachbia sadaltager schedar sulafat umbriel vindemiatrix zephyr zubenelgenubi ].freeze
- DURATIONS =
Allowed video durations in seconds. Longer durations consume more credits.
[4, 6, 8, 10].freeze
- ASPECT_RATIOS =
Output aspect ratios: landscape (16:9) or portrait (9:16).
%w[16:9 9:16].freeze
- OUTPUT_RESOLUTIONS =
Output resolutions – higher values produce sharper video at higher cost.
%w[720p 1080p 4k].freeze
- SEED_RANGE =
Valid seed range for reproducible generation.
(0..2_147_483_647)