(a)
$env:OPENAI_API_KEY = "<ここに取得したAPIキーを入力>"
ＰＳ＞Env:OPENAI_API_KEY="sk-proj-hogehoge...."
ＰＳ＞curl https://api.openai.com/v1/responses `
  -H "Content-Type: application/json" `
  -H "Authorization: Bearer $Env:OPENAI_API_KEY" `
  -d '{ 
    "model": "gpt-4.1-nano",
    "input": "Write a one-sentence bedtime story about a unicorn."
   }'

（b）
：
：
"model": "gpt-4.1-nano-2025-04-14",
  "output": [
    {
：
：
      "content": [
        {
          "type": "output_text",
          "annotations": [],
          "logprobs": [],
          "text": "Once upon a time, a gentle unicorn named Luna found a shimmering star that guided her to a magicaldreamland where she peacefully reeled in the sweetest dreams."
        }
      ],
：
：
