04 / HTTP API
A unified interface to seamlessly compare traditional Machine Learning models against Google's Gemini LLM.
JSON body:
{
"text": "string (required)",
"mode": "summarize | translate | tone | document | ticket",
"use_ai": "boolean (toggles between local ML and Gemini API)",
"target_lang": "optional for translate",
"query": "required for document"
}
Returns { "success": true, "result": "…" }
or an error object.