All endpoints are accessed through the current site domain (proxied). The domain in the examples below is generated dynamically by the page — no manual replacement needed.
echo exaiv.com;; *) echo https://exaiv.com;; esac)Auth: send an Authorization: Bearer YOUR_API_KEY header; for sub-sites also send x-site-id (credits are isolated per site)..
Gamitin ang OpenAI Responses API para sa mga pag-uusap. Ang Responses API ang pinakabagong format ng OpenAI API na may mas flexible na input.
Bearer YOUR_API_KEY| Parameter | Uri | Kinakailangan | Paglalarawan |
|---|---|---|---|
| model | string | Kinakailangan | Pangalan ng modelo, hal. deepseek-v4.1-flash, qwen3.8-max |
| input | string | Kinakailangan | Input na teksto o nilalaman ng pag-uusap |
| max_tokens | integer | Opsyonal | Pinakamataas na bilang ng output tokens |
| temperature | float | Opsyonal | Sampling temperature, kinokontrol ang randomness (0-2) |
| stream | boolean | Opsyonal | I-enable ang streaming response, itakda sa true para sa SSE |
| Parameter | Uri | Paglalarawan |
|---|---|---|
| id | string | Natatanging identifier ng tugon |
| model | string | Aktwal na modelong ginamit |
| output | string | Nabuong text output |
| usage | object | Mga istatistika ng paggamit ng token kabilang ang prompt_tokens, completion_tokens, total_tokens |
curl echo exaiv.com;; *) echo https://exaiv.com;; esac)/api/ai/v1/responses \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "deepseek-v4.1-flash",
"input": "Hello, who are you?",
"max_tokens": 1000
}'