AI::OpenAI::OpenAIImageMetadata
Inherits JSON::Serializable < Struct < Value < Object
Per-image metadata for provider metadata.
Constructors
new(pull : JSON::PullParser)
Sourcenew(revised_prompt : String | Nil = nil, created : Int64 | Nil = nil, size : String | Nil = nil, quality : String | Nil = nil, background : String | Nil = nil, output_format : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
background
Sourcecreated
Sourceoutput_format
Sourcequality
Sourcerevised_prompt
Sourcesize
Source