{"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."
}'