Module: RunApi::Gpt4oImage::Types

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

Overview

GPT-4o Image type constants and response models. Supports pure generation, editing with source images, and inpainting with a mask.

Defined Under Namespace

Classes: Image, TextToImageResponse

Constant Summary collapse

MODELS =
%w[gpt-4o-image].freeze
ASPECT_RATIOS =

Required output aspect ratio.

%w[1:1 3:2 2:3].freeze
OUTPUT_COUNTS =

Batch sizes: 1, 2, or 4 images per request.

[1, 2, 4].freeze
CompletedTextToImageResponse =
TextToImageResponse