Skip to main content
POST
/
v1
/
responses
cURL
curl --request POST \
  --url https://proxy.innk.cc/v1/responses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "gpt-4.1",
  "input": "Hello, how are you?",
  "stream": false
}
'
{}

Authorizations

Authorization
string
header
required

身份验证标头格式为 Bearer <API_KEY>,其中 <API_KEY> 是您的API令牌。

Body

application/json
model
string
required

模型名称

Example:

"gpt-4.1"

input
string
required

消息内容

Example:

"Hello, how are you?"

stream
boolean
default:false

是否流式返回

Response

200 - application/json

Model response

The response is of type object.