NLP, sentiment, classification & more
Production-ready AI and machine learning APIs. Sentiment analysis, text classification, entity extraction, image recognition, and custom model hosting.
Analyze sentiment in text. Detect positive, negative, and neutral sentiment with confidence scores.
POST /api/v1/ai/sentiment
{ "text": "I love this product!" }
// Response
{ "sentiment": "positive",
"confidence": 0.95,
"scores": { "positive": 0.95,
"negative": 0.02, "neutral": 0.03 } }
Classify text into categories. Support tickets, content moderation, and topic detection.
POST /api/v1/ai/classify
{ "text": "My order hasn't arrived",
"categories": ["shipping", "billing",
"product", "account"] }
// Response
{ "category": "shipping",
"confidence": 0.89,
"all_scores": {...} }
Extract named entities from text. People, places, organizations, dates, and custom entities.
POST /api/v1/ai/entities
{ "text": "Apple CEO Tim Cook announced
the event in Cupertino on Monday." }
// Response
{ "entities": [
{ "text": "Apple", "type": "ORG" },
{ "text": "Tim Cook", "type": "PERSON" },
{ "text": "Cupertino", "type": "LOC" }
] }
Summarize long text into concise summaries. Extractive and abstractive summarization.
POST /api/v1/ai/summarize
{ "text": "[long article text...]",
"max_length": 100,
"style": "bullet_points" }
// Response
{ "summary": "• Key point 1\n• Key point 2",
"compression_ratio": 0.15 }
Identify objects, scenes, and content in images. Labels, bounding boxes, and confidence scores.
POST /api/v1/ai/image/recognize
{ "image_url": "https://...cat.jpg" }
// Response
{ "labels": [
{ "name": "cat", "confidence": 0.97 },
{ "name": "pet", "confidence": 0.95 },
{ "name": "indoor", "confidence": 0.82 }
] }
Generate human-like text. Product descriptions, marketing copy, and content expansion.
POST /api/v1/ai/generate
{ "prompt": "Write a product description
for wireless headphones",
"max_tokens": 150,
"tone": "professional" }
// Response
{ "text": "Experience crystal-clear
audio with our premium...",
"tokens_used": 142 }
Translate text between 100+ languages. Neural machine translation with context awareness.
POST /api/v1/ai/translate
{ "text": "Hello, how are you?",
"source": "en", "target": "es" }
// Response
{ "translated": "Hola, ¿cómo estás?",
"detected_language": "en",
"confidence": 0.99 }
Generate vector embeddings for semantic search, clustering, and similarity matching.
POST /api/v1/ai/embeddings
{ "texts": ["Hello world", "Hi there"] }
// Response
{ "embeddings": [
[0.023, -0.012, 0.145, ...],
[0.025, -0.010, 0.142, ...]
], "dimensions": 1536 }
Get your API key and start using AI/ML APIs in minutes.