Downloads · 30 days
0
czxcvcxvcx/sakana-chat-api
sakana-chat-api is a machine learning model from czxcvcxvcx. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
GRADIO SDK "PORT HIJACKING" - Running FastAPI on free CPU!
Downloads · 30 days
0
Access
Public
Updated Jul 11, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.html12.3 KB · 82%
From the Hugging Face model README
GRADIO SDK "PORT HIJACKING" - Running FastAPI on free CPU!
This Space uses a trick: select Gradio SDK but run FastAPI on port 7860 instead.
SAKANA_COOKIE = your chat.sakana.ai session cookie| Endpoint | Method | Description |
|---|---|---|
/ | GET | API info |
/health | GET | Health check |
/models | GET | List models |
/chat | POST | Send message |
curl -X POST https://your-space.hf.space/chat \
-H "Content-Type: application/json" \
-d '{"message": "Hello!"}'
With web search:
curl -X POST https://your-space.hf.space/chat \
-H "Content-Type: application/json" \
-d '{"message": "What is the weather?", "web_search": true}'
{"response": "Hello! I'm Namazu, a large language model..."}