SOLANA-FOUNDATIONOTHER
SOLANA-FOUNDATIONOTHER

Cloud Translation API

solana-foundation/google/translate

Translate text and documents across 130+ languages. Supports language detection, romanization, synchronous and batch translation, glossaries for domain terminology, adaptive MT datasets, custom models, and document formatting.

Use for multilingual content, localization, document translation, language detection, cross-language communication, glossary-controlled terminology, romanization, batch translation jobs, adaptive MT, and custom translation models.

Payment rails

Works with agents

Use with pay

# First time
$ brew install pay
$ pay setup

# Inspect and call this API
$ pay catalog show solana-foundation/google/translate
$ pay curl https://translate.google.gateway-402.com/v3/projects/{projectsId}/locations/{locationsId}:detectLanguage \
  -X POST \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"getHealth"}'

Endpoints

7 total
MethodPathPricing
POSTv3/projects/{projectsId}/locations/{locationsId}:detectLanguageDetects the language of text within a request.$0.001/requests
POSTv3/projects/{projectsId}/locations/{locationsId}:translateDocumentTranslates documents in synchronous mode.$0.08/requests
POSTv3/projects/{projectsId}/locations/{locationsId}:translateTextTranslates input text and returns translated text.$0.001/requests
GETv3/projects/{projectsId}/supportedLanguagesReturns a list of supported languages for translation.free
POSTv3/projects/{projectsId}:detectLanguageDetects the language of text within a request.$0.001/requests
POSTv3/projects/{projectsId}:romanizeTextRomanize input text written in non-Latin scripts to Latin text.free
POSTv3/projects/{projectsId}:translateTextTranslates input text and returns translated text.free