跳转到主要内容
POST
创建 Response
使用支持 Responses 协议的模型。设置 stream: true 可获得 SSE 响应。

其他支持的模型

  • openai/gpt-6-astra
  • xai/grok-4.6
  • openai/gpt-5.5
  • openai/gpt-5.4
  • openai/gpt-5.2
  • openai/gpt-6.1-sol
  • openai/gpt-6.1-terra
  • openai/gpt-6-sol
  • openai/gpt-6-luna
  • deepseek/deepseek-v4.1-flash
在根级发送协议字段,不需要生成接口的 input 包装。input 不能为空。

授权

Authorization
string
header
必填

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

请求体

application/json
model
string
必填
示例:

"openai/gpt-6-astra"

input
any
必填

非空的协议 input。其他协议字段会转发给上游。

stream
boolean
默认值:false

响应

Response 或 SSE 流

The response is of type object.