Tokens

Get Tokens

post/v1/tokens

Request

  • Base URL: https://api.fanar.qa (the document declares no server; this is the origin it was published from)
  • URL: https://api.fanar.qa/v1/tokens
  • Auth: HTTP bearer

Request body

contentstring required
model'Fanar-S-1-7B' | 'Fanar-C-1-8.7B' | 'Fanar-C-2-27B' required

Example request

{
  "content": "Hello, how are you?",
  "model": "Fanar-S-1-7B"
}

Response

Successful Response

idstring required

A unique identifier for the tokenization.

tokensinteger required
max_request_tokensinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.