Module: RunApi::GrokImagine::Types

Defined in:
lib/runapi/grok_imagine/types.rb

Defined Under Namespace

Classes: AsyncTaskResponse, CompletedImageTaskResponse, CompletedVideoTaskResponse, ImageTaskResponse, MediaUrl, VideoTaskResponse

Constant Summary collapse

TEXT_TO_VIDEO_MODEL =
"grok-imagine-text-to-video"
IMAGE_TO_VIDEO_MODEL =
"grok-imagine-image-to-video"
TEXT_TO_IMAGE_MODEL =
"grok-imagine-text-to-image"
IMAGE_TO_IMAGE_MODEL =
"grok-imagine-image-to-image"
ASPECT_RATIOS =
%w[2:3 3:2 1:1 16:9 9:16].freeze
MODES =
%w[fun normal spicy].freeze
RESOLUTIONS =
%w[480p 720p].freeze
DURATION_RANGE =
(6..30)
EXTEND_TIMES =
%w[6 10].freeze
INDEX_RANGE =
(0..5)