OpenAI::ImageGenToolCall
Inherits JSON::Serializable < Reference < Object
An image generation request made by the model.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ImageGenToolCallType = ImageGenToolCallType::ImageGenerationCall, id : String = "", status : ImageGenToolCallStatus = ImageGenToolCallStatus::InProgress, result : ImageGenToolCallResult = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
result
Sourceresult=(result : ImageGenToolCallResult)
Sourcetype_value=(type_value : ImageGenToolCallType)
The type of the image generation call. Always image_generation_call.