OpenRouter::ImageConfig
Inherits JSON::Serializable < Struct < Value < Object
Configuration for image generation requests.
Used with CompletionRequest#image_config when requesting image output
from models that support the image modality.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Aspect ratio of the generated image, e.g. "1:1", "16:9", "21:9"