Gemini
Los modelos de chat de Gemini se llaman a través de un endpoint sencillo: envía un array messages más el slug del modelo y recibe el texto de respuesta. Esta familia expone 7 modelos.
Resumen
Envía un array messages estándar (roles user / assistant / system). La facturación se descuenta de tu saldo de créditos por respuesta; la respuesta incluye tu balance restante.
Autenticación
Crea una API key en /api-keys y luego envíala como token Bearer. Las solicitudes desde el navegador con sesión iniciada también funcionan mediante la cookie de sesión.
Authorization: Bearer <YOUR_API_KEY>Completions de chat
POST
POST https://97ai.97claude.com/api/chatCuerpo: { "model": "<slug>", "messages": [{ "role": "user", "content": "…" }] }
Respuesta: { "text": "<assistant reply>", "credits": <billed>, "balance": <remaining> }
Modelos
| Modelo | Proveedor | model slug |
|---|---|---|
| Gemini 2.5 Pro | chat/gemini-2.5-pro | |
| Gemini 3 Pro | chat/gemini-3-pro | |
| Gemini 3.1 Pro | chat/gemini-3.1-pro | |
| Gemini 2.5 Flash | chat/gemini-2.5-flash | |
| Gemini 3 Flash | chat/gemini-3-flash | |
| Gemini 3.5 Flash | chat/gemini-3-5-flash | |
| Gemini 3.6 Flash | chat/gemini-3-6-flash |
Gemini 2.5 Pro
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/gemini-2.5-pro",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Gemini 3 Pro
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/gemini-3-pro",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Gemini 3.1 Pro
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/gemini-3.1-pro",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Gemini 2.5 Flash
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/gemini-2.5-flash",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Gemini 3 Flash
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/gemini-3-flash",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Gemini 3.5 Flash
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/gemini-3-5-flash",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Gemini 3.6 Flash
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/gemini-3-6-flash",
"messages": [{ "role": "user", "content": "Hello!" }]
}'