struct
AI::Google::ResponseImageConfig
- AI::Google::ResponseImageConfig
- Struct
- Value
- Object
Overview
Image configuration for response generation (used in language model provider options).
Included Modules
- JSON::Serializable
Defined in:
ai/google/google_generative_ai_options.crConstructors
- .new(pull : JSON::PullParser)
- .new(aspect_ratio : String | Nil = nil, image_size : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#aspect_ratio : String | Nil
Aspect ratio for generated images.
-
#image_size : String | Nil
Image size: 1K, 2K, 4K.