跳转到主要内容
设置 stream: true 即可逐块接收增量内容(Server-Sent Events)。
curl https://tokendog.io/v1/chat/completions \
  -H "Authorization: Bearer $TOKENDOG_API_KEY" \
  -H "Content-Type: application/json" \
  -N \
  -d '{"model":"gpt-5","stream":true,"messages":[{"role":"user","content":"数到5"}]}'