AI::Provider::ImageModel::Usage
Inherits JSON::Serializable < Struct < Value < Object
Usage information for an image model call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(input_tokens : Int32 | Nil = nil, output_tokens : Int32 | Nil = nil, total_tokens : Int32 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source