translation

Translation

Language Detection

Language Detection is a translation capability available through Google Cloud Translation on Aweb. Automatic language identification. Access it through a single unified API with automatic failover and intelligent routing.

Try Language DetectionAPI docs

Best for

Highest quality

Google Cloud Translation

Premium tier

Contract

Max Latency1000ms

Providers (1)

ProviderScoreQualityPricing
Google Cloud TranslationDEFAULT
80premiumstandard

Public discovery and orchestration

Inspect the live capability descriptor directly, then route orchestration through a capability filter. Generic public execute examples are intentionally withheld until the canonical public execute contract is normalized.

cURL

curl "https://aweblabs.ai/api/v2/capabilities/translation.detect"

TypeScript

import Aweb from '@aweb/sdk';

const client = new Aweb({
  baseUrl: 'https://aweblabs.ai/api/v2',
});

const capability = await client.capabilities.get('translation.detect');

console.log(capability.data.runtime.providers);

Orchestration pipeline

import Aweb from '@aweb/sdk';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });

const result = await aweb.orchestrate.run({
  query: 'Use Language Detection to help with a hello-world task and summarize the output',
  capabilities: ['translation.detect'],
  policy: 'balanced',
});

console.log(result.data.status);

Related Translation capabilities

Text Translation

translation

Text Translation

translation

Document Translation

translation

Getting started →API reference →All providers →All capabilities →