POST
/
v2
/
generate
/
{project_id}

Path Parameters

project
any
required

Body

application/json
model
string
required
max_tokens
integer
default:
100
messages
object[]
prompt
string
stop
string
temperature
number
default:
0.2

Response

200 - application/json
choices
any[]
required
created
integer
required
id
string
required
model
string
required
usage
object
required
metadata
object
object
string
default:
text_completion
system_fingerprint
string