GPT
GPT のチャットモデルは 1 つのシンプルなエンドポイントで呼び出します:messages 配列とモデル slug を送信すると、応答テキストが返ります。このファミリーは 5 個のモデルを提供します。
概要
標準的な messages 配列(user / assistant / system ロール)を送信します。課金は応答ごとにクレジット残高から差し引かれ、レスポンスには残りの balance が含まれます。
認証
/api-keys で API キーを作成し、Bearer トークンとして送信します。ログイン中のブラウザからのリクエストはセッション cookie 経由でも動作します。
Authorization: Bearer <YOUR_API_KEY>チャット補完
POST
POST https://97ai.97claude.com/api/chatボディ: { "model": "<slug>", "messages": [{ "role": "user", "content": "…" }] }
レスポンス: { "text": "<assistant reply>", "credits": <billed>, "balance": <remaining> }
モデル
| モデル | プロバイダー | model slug |
|---|---|---|
| GPT-5.6 Terra | OpenAI | chat/gpt-5-6-terra |
| GPT-5.6 Sol | OpenAI | chat/gpt-5-6-sol |
| GPT-5.6 Luna | OpenAI | chat/gpt-5-6-luna |
| GPT-5.5 | OpenAI | chat/gpt-5-5 |
| GPT-5.4 | OpenAI | chat/gpt-5-4 |
GPT-5.6 Terra
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/gpt-5-6-terra",
"messages": [{ "role": "user", "content": "Hello!" }]
}'GPT-5.6 Sol
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/gpt-5-6-sol",
"messages": [{ "role": "user", "content": "Hello!" }]
}'GPT-5.6 Luna
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/gpt-5-6-luna",
"messages": [{ "role": "user", "content": "Hello!" }]
}'GPT-5.5
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/gpt-5-5",
"messages": [{ "role": "user", "content": "Hello!" }]
}'GPT-5.4
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/gpt-5-4",
"messages": [{ "role": "user", "content": "Hello!" }]
}'