English
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 } '
{}
Creates a model response.
The authentication header format is Bearer <API_KEY>, where <API_KEY> is your API token.
Bearer <API_KEY>
<API_KEY>
Model name
"gpt-4.1"
Message content
"Hello, how are you?"
Whether to stream the return
Model response
The response is of type object.
object
Was this page helpful?