yajuusenp-api

処方箋はこちら

POST /v1/chat/completions

curl -s $BASE/v1/chat/completions \
  -H 'content-type: application/json' \
  -d '{"model":"gpt-5.4","messages":[{"role":"user","content":"こんにちは"}]}'

GET /v1/models

curl -s $BASE/v1/models

model は gpt-5.4 / gpt-5.2 を受け付けます(既定 gpt-5.4)。 stream: true は疑似 SSE に対応。最後のメッセージは非空の user 文字列である必要があります。