LINDAT Translation Models API

Translation-model operations of the LINDAT Machine Translation API, operated by UFAL at Charles University. Models are neural MT systems such as CUBBITT, addressed by source-target code.

Operations 3

GET /models/ Returns a list of available models #
GET /models/{model} Get model's details #
POST /models/{model} Send text to be processed by the selected model #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/charles-models-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

charles-models-api-openapi.yml Raw ↑
# Provenance: Per-tag split by refine-openapis from openapi/_original/charles-lindat-translation.yaml.
# method: derived
# x-source-url: https://lindat.mff.cuni.cz/services/translation/api/v2/swagger.json
# x-operator: institution (UFAL, Faculty of Mathematics and Physics, Charles University)
openapi: 3.2.0
info:
  title: LINDAT Translation Models API
  version: '2.0'
  description: Public REST API for neural machine translation operated by the Institute of Formal and Applied Linguistics (UFAL) at Charles University as part of the LINDAT/CLARIAH-CZ research infrastructure. Converted faithfully from the upstream Swagger 2.0 specification at https://lindat.mff.cuni.cz/services/translation/api/v2/swagger.json
servers:
- url: https://lindat.mff.cuni.cz/services/translation/api/v2
tags:
- name: models
  description: Operations related to translation models
paths:
  /models/:
    get:
      operationId: get_model_collection
      summary: Returns a list of available models
      tags:
      - models
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsResource'
  /models/{model}:
    parameters:
    - name: model
      in: path
      required: true
      description: model name
      schema:
        type: string
      example: en-cs
    get:
      operationId: get_model_item
      summary: Get model's details
      tags:
      - models
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelResource'
    post:
      operationId: post_model_item
      summary: Send text to be processed by the selected model
      description: It expects the text in variable called `input_text` and handles both "application/x-www-form-urlencoded" and "multipart/form-data" (for uploading text/plain files). If you don't provide src or tgt some will be chosen for you!
      tags:
      - models
      parameters:
      - name: src
        in: query
        description: src query param description
        schema:
          type: string
        example: en
      - name: tgt
        in: query
        description: tgt query param description
        schema:
          type: string
        example: cs
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                input_text:
                  type: string
                  description: text to translate
                  example: this is a sample text
          multipart/form-data:
            schema:
              type: object
              properties:
                input_text:
                  type: string
                  description: text to translate
                  example: this is a sample text
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
            text/plain:
              schema:
                type: string
        '415':
          description: You sent a file but it was not text/plain
components:
  schemas:
    ModelsResource:
      type: object
      properties:
        _links:
          $ref: '#/components/schemas/ModelLinks'
        _embedded:
          $ref: '#/components/schemas/EmbeddedModels'
    ModelResourceLinks:
      type: object
      properties:
        self:
          $ref: '#/components/schemas/Link'
        translate:
          $ref: '#/components/schemas/Link'
    Link:
      type: object
      properties:
        href:
          type: string
        name:
          type: string
        title:
          type: string
        type:
          type: string
        deprecation:
          type: string
        profile:
          type: string
        templated:
          type: boolean
        hreflang:
          type: string
    EmbeddedModels:
      type: object
      properties:
        item:
          type: array
          items:
            $ref: '#/components/schemas/ModelResource'
    ModelLinks:
      type: object
      properties:
        item:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        self:
          $ref: '#/components/schemas/Link'
    ModelResource:
      type: object
      required:
      - model
      - supports
      properties:
        _links:
          $ref: '#/components/schemas/ModelResourceLinks'
        default:
          type: boolean
          example: true
        domain:
          type: string
          example: Domain name is usually empty
        model:
          type: string
          example: en-cs
        supports:
          type: object
          example:
            en:
            - cs
        title:
          type: string
          example: en-cs (English->Czech (CUBBITT))