> 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="https://4121582948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKz66WcKqTPRwdFrHi4mM%2Fuploads%2FlhEu1Kkombah07Bzpz0Y%2Fimage.png?alt=media&amp;token=45884fbf-b032-4117-8bbc-beb73bccfd1c" 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`
