API Quick Start
Use a gateway API key as a bearer token. Choose a model identifier returned by the model-list endpoint; this page does not guarantee a particular model.
List models
curl https://shadanai.cc/v1/models \
-H "Authorization: Bearer <YOUR_API_KEY>"Send a generic chat request
curl https://shadanai.cc/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model":"<MODEL_ID>","messages":[{"role":"user","content":"Hello"}]}'