POST
/
api
/
v3
/
inference
/
completions
curl --request POST \
  --url https://api.nugen.in/api/v3/inference/completions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "max_tokens": 400,
  "model": "nugen-flash-instruct",
  "prompt": "The sky is",
  "stream": false,
  "temperature": 1
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Streaming text completion responses or complete response depending on stream parameter

The response is of type any.