struct AI::OpenAI::OpenAIImageData

Overview

Individual image data in response.

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(b64_json : String, revised_prompt : String | Nil = nil) #

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

[View source]

Instance Method Detail

def b64_json : String #

[View source]
def revised_prompt : String | Nil #

[View source]