class

OpenAI::ImageGenToolCall

Inherits JSON::Serializable < Reference < Object

An image generation request made by the model.

Constructors

new(type_value : ImageGenToolCallType = ImageGenToolCallType::ImageGenerationCall, id : String = "", status : ImageGenToolCallStatus = ImageGenToolCallStatus::InProgress, result : ImageGenToolCallResult = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The unique ID of the image generation call.

Source
id=(id : String)

The unique ID of the image generation call.

Source
result
Source
result=(result : ImageGenToolCallResult)
Source
status

The status of the image generation call.

Source
status=(status : ImageGenToolCallStatus)

The status of the image generation call.

Source
type_value

The type of the image generation call. Always image_generation_call.

Source
type_value=(type_value : ImageGenToolCallType)

The type of the image generation call. Always image_generation_call.

Source