跳转到主要内容
POST
Creates a summary completion for the given video url in chat message.

授权

Authorization
string
header
必填

API Token for authentication. Use format 'Bearer YOUR_API_TOKEN'

请求体

application/json
messages
object[]
必填
model
string

ID of the model to use. Defaults to 'bibigpt' if not specified. Can be prefixed with 'bibigpt/' for custom models.

stream
boolean
默认值:false

If set, partial message deltas will be sent as a stream.

响应

Successful response with completion

id
string

Unique identifier for the completion

object
enum<string>
可用选项:
chat.completion
created
integer

Unix timestamp of when the completion was created

model
string

The model used for completion

choices
object[]