Welcome to the Language Detection API documentation! 🌍🔍
This tool helps identify the language of a given text input with high accuracy. It supports over 100 languages and is ideal for multilingual applications.
📌 Endpoints
- GET /ai_toolkit/en/docs/api-documentation/nlp/language-detection
Retrieve this documentation page.
📦 Request Parameters
Parameter | Description | Required |
---|---|---|
text |
The input text to analyze | ✅ Yes |
model |
Optional: Specify a language detection model (e.g., fast , precise ) |
❌ No |
Example request:
curl "https://cloud-api.ullrai.com/ai_toolkit/en/docs/api-documentation/nlp/language-detection?text=Hello_world&model=fast"
📊 Response Format
{
"language": "en",
"confidence": 0.98,
"detected_text": "Hello world"
}
📌 Tip: For best results, keep input text under 10,000 characters.
🔗 Explore other NLP tools to enhance your application!