class

OpenAI::ImagesUsageInputTokensDetails

Inherits JSON::Serializable < Reference < Object

The input tokens detailed information for the image generation.

Constructors

new(text_tokens : Int64 = 0, image_tokens : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

image_tokens

The number of image tokens in the input prompt.

Source
image_tokens=(image_tokens : Int64)

The number of image tokens in the input prompt.

Source
text_tokens

The number of text tokens in the input prompt.

Source
text_tokens=(text_tokens : Int64)

The number of text tokens in the input prompt.

Source