Module: RunApi::Flux2::Types

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

Defined Under Namespace

Classes: CompletedTextToImageResponse, Image, TextToImageResponse

Constant Summary collapse

MODELS =
%w[
  flux-2-pro-text-to-image flux-2-pro-image-to-image
  flux-2-flex-text-to-image flux-2-flex-image-to-image
].freeze
I2I_MODELS =
%w[flux-2-pro-image-to-image flux-2-flex-image-to-image].freeze
ASPECT_RATIOS =
%w[1:1 4:3 3:4 16:9 9:16 3:2 2:3].freeze
ASPECT_RATIOS_I2I =
%w[1:1 4:3 3:4 16:9 9:16 3:2 2:3 auto].freeze
RESOLUTIONS =
%w[1K 2K].freeze