POST
/
style
/
transform

Authorizations

Authorization
string
headerrequired

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
id
string

ID of the chat completion.

object
string

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

created
integer

Unix timestamp for when the completion was created.

model
string

Model used for the completion.

choices
object[]
usage
object
histogram_delta
object