POST
创建文本补全

授权

Authorization
string
header
必填

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

请求体

application/json
model
string
必填
示例:

"gpt-3.5-turbo-instruct"

prompt
必填
示例:

"Write a tagline for an API platform"

max_tokens
integer
示例:

128

stream
boolean

响应

补全结果

The response is of type object.