Anthropic::ImageTransformations
Inherits JSON::Serializable < Struct < Value < Object
Transformations the server applies to an image before the model observes it. Omitted keys keep their default behavior.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
oversized_image
What the server does when the image exceeds the model's maximum size:
"downsize" (default) scales it down silently, "error" rejects the
request with a 400 naming the offending dimensions.