> For the complete documentation index, see [llms.txt](https://docs.vntranslator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vntranslator.com/features/local-server.md).

# Local Server

<div align="left"><figure><img src="/files/RXiimXBKoN9k1f5cNkCf" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
This feature is available in **VNTranslator Pro v0.9.2**
{% endhint %}

## Server Configuration

* Server Host: `127.0.0.1` (default)
* Server Port: `7788` (default)

***

## APIs

### Translate

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/translate`

<mark style="color:green;">**`POST`**</mark>  `/api/v1/translate`

<mark style="color:green;">**`POST`**</mark>  `/api/v2/translate`

### TranslationServices

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/services`

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/service/{id}`

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/service/{id}/models`

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/service/{id}/reset`

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/service/{id}/config`

<mark style="color:orange;">**`PUT`**</mark>  `/api/v1/servive/{id}/config`

### TranslationMemories

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/tm/{id}`

<mark style="color:orange;">**`PUT`**</mark>  `/api/v1/tm/{id}`

<mark style="color:red;">**`DELETE`**</mark>  `/api/v1/tm/{id}`

<mark style="color:red;">**`DELETE`**</mark>  `/api/v1/tm/all`

<mark style="color:blue;">**`GET`**</mark>  `/api/v1/tm`

<mark style="color:green;">**`POST`**</mark>  `/api/v1/tm`

<mark style="color:green;">**`POST`**</mark>  `/api/v1/tm/search`
