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.
Sentiment Analysis
text-sentiment
Detect sentiment for a text. Send it as a one-element texts array.
POST/v1/proxy/text-sentiment
Analyze sentiment (synchronous)
Parameters
Name
Type
Required
Description
texts
array<string>
required
The text to analyze, as a one-element array. Send one text per request.
curl -X POST https://api.cn8.io/v1/proxy/text-sentiment \
-H "X-API-Key: <cn8_api_key>" \
-H "Content-Type: application/json" \
-d '{"texts":["your text here"]}'