OpenAI::ModerationImageURLInput
Inherits JSON::Serializable < Reference < Object
An object describing an image to classify.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ModerationImageURLInputType = ModerationImageURLInputType::ImageUrl, image_url : ModerationImageURLInputImageUrl = ModerationImageURLInputImageUrl.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
image_url=(image_url : ModerationImageURLInputImageUrl)
Contains either an image URL or a data URL for a base64 encoded image.