Skip to main content
POST
Create a chat completion

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required

model ID

Available options:
qwen2.5-vl-72b-instruct
Example:

"qwen2.5-vl-72b-instruct"

messages
object[]
required

List of conversation messages. Text and image content are supported.

Minimum array length: 1
Example:
max_tokens
integer
default:8192

Maximum number of tokens to generate.

Required range: 1 <= x <= 8192
temperature
number
default:1

Sampling temperature. Higher values make the output more random.

Required range: 0 <= x <= 2
stream
boolean
default:false

When true, incremental content is streamed back via SSE.

Response

Response generated successfully

id
string
object
string
Example:

"chat.completion"

created
integer

Unix timestamp

model
string
choices
object[]
usage
object