API Documentation
API Usage
To use the Thai Text Summarization API, follow these steps:
Endpoint:
https://api.iapp.co.th/thai-summary
Method: POST
Headers:
apikey: {YOUR_API_KEY}
Content-Type: application/json
Request Body:
text
: The Thai text you want to summarizelength
: The desired length of the summary in words (1-8192)
Example cURL request:
Response: The API will return a JSON object containing the original text and the generated summary:
This system provides an efficient way to process and summarize Thai language content, making it useful for various applications such as news aggregation, content curation, and information retrieval.
Getting an API Key
To use the Thai Text Summarization API, you'll need an API key. Follow these steps to obtain one:
Visit https://ai.iapp.co.th
Click on the "Sign Up" or "Register" button if you don't have an account.
If you already have an account, click on "Log In".
Once logged in, navigate to your account dashboard or profile section.
Look for an option like "API Keys".
Press the right-most button to create a new API key.
Copy your newly generated API key and keep it secure.
Remember to never share your API key publicly or commit it to version control systems. Use environment variables or secure key management systems to store and use your API key in your applications.
Last updated