fe8
  1. 会话
fe8
  • 会话
    • chat
      POST
    • responses
      POST
  • 嵌入向量
    • 向量化
      POST
  • 排序
    • 排序
      POST
  • 支持模型列表
    GET
  1. 会话

responses

POST
https://a.fe8.cn/v1/responses
openai官方文档:https://platform.openai.com/docs/api-reference/responses/create

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "model": "gpt-4.1",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://a.fe8.cn/v1/responses' \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "gpt-4.1",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'

返回响应

🟢200成功
application/json
Body

示例
{}
修改于 2026-01-06 02:17:31
上一页
chat
下一页
向量化
Built with