Generates tokens for a string using a model’s tokenizer.
The name of the model to use for tokenization.
The text to tokenize.
Successful response.
Unique ID for the token.
Type of object (tokens).
Timestamp of when the tokens were generated.
The name of the model used.
An array of token data.