toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.image
/
ImageTokenDetails
Image
Token
Details
@
Serializable
data
class
ImageTokenDetails
(
val
textTokens
:
Int
?
=
null
,
val
imageTokens
:
Int
?
=
null
)
Token counts split by modality.
Members
Constructors
Image
Token
Details
Link copied to clipboard
constructor
(
textTokens
:
Int
?
=
null
,
imageTokens
:
Int
?
=
null
)
Properties
image
Tokens
Link copied to clipboard
@
SerialName
(
value
=
"image_tokens"
)
val
imageTokens
:
Int
?
=
null
Image tokens.
text
Tokens
Link copied to clipboard
@
SerialName
(
value
=
"text_tokens"
)
val
textTokens
:
Int
?
=
null
Text tokens.