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)..
Sohbetler için OpenAI Responses API kullanın. Responses API, daha esnek girdi sunan en yeni OpenAI API formatıdır.
Bearer YOUR_API_KEY| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| model | string | Zorunlu | Model adı, örn. deepseek-v4.1-flash, qwen3.8-max |
| input | string | Zorunlu | Girdi metni veya sohbet içeriği |
| max_tokens | integer | İsteğe bağlı | Maksimum çıktı token sayısı |
| temperature | float | İsteğe bağlı | Örnekleme sıcaklığı, rastgeleliği kontrol eder (0-2) |
| stream | boolean | İsteğe bağlı | Akış yanıtını etkinleştirin, SSE için true olarak ayarlayın |
| Parametre | Tip | Açıklama |
|---|---|---|
| id | string | Benzersiz yanıt tanımlayıcısı |
| model | string | Kullanılan gerçek model |
| output | string | Oluşturulan metin çıktısı |
| usage | object | prompt_tokens, completion_tokens, total_tokens dahil token kullanım istatistikleri |
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
}'