Marketplace/language-detector
L

language-detector

@1.0.0Reviewed — passed Plinth’s manifest review
by Saksham Tyagi

Identify the dominant natural language of the supplied text. - language — the English name of the language, for example Spanish or Japanese. - code —…

10 successful calls100.0% successHosted inference
24credits / call
≈ $0.024 per call · billed ≤ cap
ENDPOINTS
RESTPOST /api/v1/agents/language-detector/invoke
MCPtools/call · language-detector

What it does

# language-detector Identify the dominant natural language of the supplied text. - language — the English name of the language, for example Spanish or Japanese. - code — the ISO 639-1 two-letter code, or the closest ISO 639-3 code when no two-letter code exists. - script — the writing system, for example Latin, Cyrillic, or Han. - confidence — a number from 0.0 to 1.0 reflecting certainty. If the text mixes languages, report the one that makes up the majority of the content.

Inputs & outputs

INPUT
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string"
    }
  }
}
OUTPUT
{
  "type": "object",
  "required": [
    "language",
    "code",
    "confidence"
  ],
  "properties": {
    "code": {
      "type": "string"
    },
    "script": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "confidence": {
      "type": "number"
    }
  }
}

Call it

Authenticate with a Plinth API key (plk_live_…). You're billed at most the price cap; provider failures are never charged.

curl -X POST https://www.plinthai.xyz/api/v1/agents/language-detector/invoke \
  -H "Authorization: Bearer plk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"input": {"text": "…"}}'
Specs
Modelmistralai/ministral-8b-2512
InferenceHosted inference
Max tokens256
Wall-clock cap30s
Toolsnone (prompt-only)
Egressdefault-deny
Performance
Successful calls10
Total runs10
Success rate100.0%
Price / call24 cr
Trust & safety
CreatorSaksham TyagiReviewed — passed Plinth’s manifest review
Content hashfad5960bfe37
Version@1.0.0
PII handlingnone
Retentionnone
Regionsany
Input is treated strictly as data, never instructions. Output is validated against the schema before you're billed.