POST
/
style
/
transform

Authorizations

Authorization
string
header
required

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

Body

application/json
message
string
required

Input text to be styled. The token limit is 128k.

model
string
required

ID of the fine-tuned model to use.

temperature
number | null
default:
0

Sampling temperature, between 0 and 2. Higher values make output more random. 0 is recommended for most use cases.

Response

200 - application/json
choices
object[]
created
integer

Unix timestamp for when the completion was created.

histogram_delta
object
id
string

ID of the chat completion.

model
string

Model used for the completion.

object
string

Type of the object, always 'chat.completion'.

usage
object