POST
创建文本补全

Authorizations

Authorization
string
header
required

在请求头中传入:Authorization: Bearer sk-...

Body

application/json
model
string
required
Example:

"gpt-3.5-turbo-instruct"

prompt
required
Example:

"Write a tagline for an API platform"

max_tokens
integer
Example:

128

stream
boolean

Response

补全结果

The response is of type object.