struct

AI::OpenAI::OpenAIImageMetadata

Inherits JSON::Serializable < Struct < Value < Object

Per-image metadata for provider metadata.

Constructors

new(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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

background
Source
created
Source
output_format
Source
quality
Source
revised_prompt
Source
size
Source