Skip to content

OpenAI Responses ​

Responses 接口用于统一多模态输入、结构化输出和工具调用场景。

请求地址 ​

http
POST /v1/responses

示例 ​

json
{
  "model": "gpt-4.1-mini",
  "input": "Summarize the latest Cubicspaces release notes."
}

适用场景 ​

  • 统一文本与图像输入
  • 更清晰的输出结构
  • 与新一代 OpenAI SDK 保持兼容