NeuralBridge
Sign in Download IDE

Other APIs

Models that currently have no separate section on the site. Endpoints, parameters and examples are the same as on each model’s page.

Endpoints

POSThttps://api.neuralbridge.ru/v1/translateprimary
Translate — Translate text between languages with a machine translation model.

Parameters

The set depends on the model: on the right — how many models out of 2 accept the parameter. Default and allowed values on the model page.

source_lang2 of 2
Language of the source text.
target_lang2 of 2
Language to translate into.

Request example

Models ai4bharat/indictrans2-en-indic-1b-08130. For another model, insert its identifier from the table below.

bash
curl https://api.neuralbridge.ru/v1/translate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ai4bharat/indictrans2-en-indic-1b-08130", "text": "Добрый день", "source_lang": "ru", "target_lang": "en"}'

2 models

ai4bharat/indictrans2-en-indic-1b-08130
AI4Bharat IndicTrans2 translation model from English to 22 Indian languages.
meta-llama/m2m100-1.2b-08130
Multilingual machine translation model Meta M2M100 (1.2B) for translation between many languages.