Loading API Reference...
CN8 is an AI gateway: a single proxy layer that gives you access to AI capabilities — chatbots with RAG, multi-agent orchestration, LLM completions, dubbing, TTS, media generation, and production-grade video/audio processing — all through one consistent API with unified auth, billing, and usage tracking.
Detect the language of one or more texts. ISO 639-1 code, name, confidence.
POST {texts: [...]}. One detection per input string is returned at data.results[].
/v1/proxy/text-languageDetect language (sync)
| Name | Type | Required | Description |
|---|---|---|---|
texts | array<string> | required | Array of texts. One results[] entry per input. |
{
"status": "success",
"data": {
"results": [
{ "language": "fr", "language_name": "French", "confidence": 0.5357 }
]
}
}