Completions

Create Completion

post/v1/completions

Request body

modelstring required
promptstring required
frequency_penaltynumber nullable
presence_penaltynumber nullable
logit_biasobject nullable
logprobsinteger nullable
temperaturenumber nullable
ninteger nullable
best_ofinteger nullable
seedinteger nullable
stopstring[] nullable
streamboolean nullable
max_tokensinteger nullable
top_pnumber nullable
userstring nullable
suffixstring nullable
extra_model_argsobject nullable

Response

Successful Response

contentstring required
response_metadataobject nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.