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.
Language Detection
text-language
Detect the language of one or more texts. ISO 639-1 code, name and confidence.
POST {texts: [...]}. One detection per text is returned at data.results[].
POST/v1/proxy/text-language
Detect language (sync)
Parameters
Name
Type
Required
Description
texts
array<string>
required
Array of texts. One results[] entry per text.
curl -X POST https://api.cn8.io/v1/proxy/text-language \
-H "X-API-Key: <cn8_api_key>" \
-H "Content-Type: application/json" \
-d '{"texts":["your text here"]}'