struct

AI::Provider::ImageModel::ResultResponse

Inherits JSON::Serializable < Struct < Value < Object

Response information for the image generation result.

Constructors

new(timestamp : Time, model_id : String, headers : Shared::Headers | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

headers

Response headers.

Source
model_id

The ID of the response model that was used.

Source
timestamp

Timestamp for the start of the generated response.

Source