Intent Detection
Detect user intent from natural language messages for routing, support, and workflow automation.
/api/v1/ai/intent-detection
Natural language processing REST APIs for translation, grammar enhancement, text summarization, and data redaction.
{
"text": "Your order has shipped and will arrive on Friday.",
"target_language": "es"
}
{
"data": {
"result": {
"detected_language": "en",
"translation_applied": true,
"translated_text": "Tu pedido ha sido enviado y llegará el viernes.",
"target_language": "es"
}
}
}
1 credit per call. Each one has its own page with parameters, code and examples.
Detect user intent from natural language messages for routing, support, and workflow automation.
/api/v1/ai/intent-detection
Translate text between multiple languages using AI for high-quality contextual translations.
/api/v1/ai/translation
Analyze the emotional tone of text to identify positive, negative, neutral, or mixed sentiments.
/api/v1/ai/sentiment-analysis
Condense long-form text, articles, or transcripts into configurable summaries and optionally extract structured data.
/api/v1/ai/text-summarize
Automatically correct spelling, grammar, and punctuation while optionally adjusting tone and dialect.
/api/v1/ai/grammar-fix
RSFlowHub Text & Language APIs provide a multi-model REST gateway for high-throughput natural language processing tasks including multi-lingual translation across 50+ languages, context-aware grammar correction, recursive document summarization, and regex-free PII masking. All endpoints return a consistent JSON envelope, route requests across multiple AI providers with automatic fallback, and never use your text to train AI models.
X-API-Key headerA real request to POST /api/v1/ai/translation. Every API in this category works the same way.
curl -X POST "https://rsflowhub.com/api/v1/ai/translation" \
-H "X-API-Key: rfh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"Your order has shipped and will arrive on Friday.","target_language":"es"}'
<?php
$response = (new \GuzzleHttp\Client())->post('https://rsflowhub.com/api/v1/ai/translation', [
'headers' => ['X-API-Key' => 'rfh_your_api_key'],
'json' => json_decode('{"text":"Your order has shipped and will arrive on Friday.","target_language":"es"}', true),
]);
print_r(json_decode($response->getBody(), true));
const response = await fetch("https://rsflowhub.com/api/v1/ai/translation", {
method: "POST",
headers: {
"X-API-Key": "rfh_your_api_key",
"Content-Type": "application/json"
},
body: JSON.stringify({"text":"Your order has shipped and will arrive on Friday.","target_language":"es"})
});
console.log(await response.json());
import requests
response = requests.post(
"https://rsflowhub.com/api/v1/ai/translation",
headers={"X-API-Key": "rfh_your_api_key"},
json={"text":"Your order has shipped and will arrive on Friday.","target_language":"es"},
)
print(response.json())
{
"success": true,
"request_id": "req_3f9a2c7e-5b1d-4e8a-9c2f-7d6e1a0b4c8d",
"data": {
"result": {
"detected_language": "en",
"translation_applied": true,
"translated_text": "Tu pedido ha sido enviado y llegará el viernes.",
"target_language": "es"
}
},
"meta": {
"version": "v1",
"timestamp": "2026-10-05T09:30:00Z"
}
}
Managed AI gateway with provider fallback for real-time text processing.
Understands nuance, idioms, and technical terms across 50+ languages.
Automatically detects and masks sensitive personal data (emails, SSNs, credit cards).
Typical pipelines built with Text & Language APIs.
Translate user-generated reviews, marketing copy, and knowledge base articles across 50+ languages while preserving brand terminology and tone.
Condense lengthy legal contracts, customer support call logs, and technical whitepapers into digestible bulleted summaries with key takeaways.
Analyze inbound support tickets and chat transcripts in real-time to detect customer frustration, prioritize urgent SLAs, and route to specialized human agents.
Mask personally identifiable information (credit cards, phone numbers, SSNs, medical IDs) prior to saving records into vector databases or third-party analytics.
How the Text & Language APIs compare with calling a provider directly or running your own models.
| Topic | RSFlowHub | Provider SDK | Self-hosted |
|---|---|---|---|
| Global Model Failover | Automatic 3-State Circuit Breaker | Manual Client Try/Catch | Complex k8s Multi-Region |
| Payload Contract | Strict Validated JSON Schema | Raw Markdown / Chat Drift | Custom FastAPI Wrapper |
| Authentication | 1 Unified Master API Key | Multiple Provider API Keys | Custom OAuth / Vault Setup |
| PII Masking & Privacy | Redact PII Before It Reaches Logs | Default Vendor Logging Opt-In | Your own servers (high infra cost) |
| Billing & Credits | Pre-Authorized Universal Wallet | Fragmented Monthly Invoices | Fixed 24/7 Idle GPU Compute |
Free plan with 100 credits/month + 1,000 bonus credits when you sign in before 23 Nov. One key works for every API in every category.
Flowy
AI assistant