Skip to main content
POST
对话补全

接口说明

该页面演示如何使用 OpenAI 风格调用聊天接口。
  • style 固定为 openai
  • 适合使用 OpenAI SDK 或兼容 OpenAI 返回结构的应用

请求示例

相关页面

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

模型名称

messages
object[]
required
style
enum<string>
default:openai

接口风格,支持 OpenAI、Claude、Gemini

Available options:
openai,
claude,
gemini
stream
boolean

是否流式

Response

200

成功响应 (流式)