Authorization: Bearer ********************
{ "model": "gpt-5.1", "input": [ { "role": "user", "content": "写一段esp32上的helloworld" } ], "stream": false, "max_output_tokens": 2048 }
curl --location --request POST 'https://openai.api365.cloud/v1/responses' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "model": "gpt-5.1", "input": [ { "role": "user", "content": "写一段esp32上的helloworld" } ], "stream": false, "max_output_tokens": 2048 }'
{}