Basic request
Messages
Themessages array holds the conversation. Each message has a role and content.
To continue a conversation, append the assistant’s reply and the next user message, then send the whole array again.
Common parameters
number
default:"1"
Higher is more creative, lower is more focused. Range 0–2.
integer
Maximum tokens to generate in the reply.