🎯 Main API Endpoints
Harness the power of AI with APIs designed for easy integration and use.
| Endpoint | Description | Example |
|---|---|---|
/api/check |
Check the status and validity of a token. | GET https://ai.trongphucpython.workers.dev/api/check?token=YOUR_TOKEN |
/api/ask |
Send a question and receive a reply from the intelligent AI system. | GET https://ai.trongphucpython.workers.dev/api/ask?token=YOUR_TOKEN&message=YOUR_MESSAGE |
💡 Quick Start Guide
- Get Token: Send a
GETrequest to retrieve a token. - Secure Token: Save the token for subsequent queries.
- Query AI: Use the token in
https://ai.trongphucpython.workers.dev/api/checkorhttps://ai.trongphucpython.workers.dev/api/ask?token=TOKEN&message=Chat.