struct
AI::Provider::ImageModel::ResultResponse
- AI::Provider::ImageModel::ResultResponse
- Struct
- Value
- Object
Overview
Response information for the image generation result.
Included Modules
- JSON::Serializable
Defined in:
ai/provider/image_model/image_model.crConstructors
- .new(timestamp : Time, model_id : String, headers : Shared::Headers | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#headers : Shared::Headers | Nil
Response headers.
-
#model_id : String
The ID of the response model that was used.
-
#timestamp : Time
Timestamp for the start of the generated response.