struct AI::Provider::ImageModel::ResultResponse

Overview

Response information for the image generation result.

Included Modules

Defined in:

ai/provider/image_model/image_model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(timestamp : Time, model_id : String, headers : Shared::Headers | Nil = nil) #

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

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

[View source]

Instance Method Detail

def headers : Shared::Headers | Nil #

Response headers.


[View source]
def model_id : String #

The ID of the response model that was used.


[View source]
def timestamp : Time #

Timestamp for the start of the generated response.


[View source]