Skip to content

API Tester

We do not persist your key (no localStorage, no URL params).

Tip: if you see “model not found”, copy a model name from the Models page.

If your browser shows a CORS block, your API hasn’t allowed docs.su8.codes yet. Use curl to verify first:

API Key
接口
模型
消息
curl 预览
curl 'https://www.su8.codes/codex/v1/responses' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -d '{
  "model": "gpt-5.2",
  "input": [
    {
      "type": "message",
      "role": "user",
      "content": [
        {
          "type": "input_text",
          "text": "你好"
        }
      ]
    }
  ],
  "stream": true
}'