struct AI::OpenAI::OpenAIImageMetadata

Overview

Per-image metadata for provider metadata.

Included Modules

Defined in:

ai/openai/image/openai_image_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def background : String | Nil #

[View source]
def created : Int64 | Nil #

[View source]
def output_format : String | Nil #

[View source]
def quality : String | Nil #

[View source]
def revised_prompt : String | Nil #

[View source]
def size : String | Nil #

[View source]