class

OpenAI::ModerationImageURLInputImageUrl

Inherits JSON::Serializable < Reference < Object

Contains either an image URL or a data URL for a base64 encoded image.

Constructors

new(url : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

url

Either a URL of the image or the base64 encoded image data.

Source
url=(url : String)

Either a URL of the image or the base64 encoded image data.

Source