Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The name of the model to use.
"nugen-flash-instruct"
The prompt to generate completions for. It can be a single string or a list of strings. It can also be an array of integers or an array of integer arrays, which allows to pass already tokenized prompt.
"The sky is"
The maximum number of tokens to generate in the completion.
x >= 0
400
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
0 <= x <= 2
1
Whether to stream back partial progress as server-sent events.
Response
Streaming text completion responses or complete response depending on stream parameter
The response is of type any
.