> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Hy-MT2 Plus

> Hy-MT2 Plus：騰訊混元指令遵循能力較強的翻譯模型，適合可控翻譯工作流程。

Hy-MT2 Plus 是騰訊混元面向可控翻譯工作流程的模型，重點強化翻譯指令遵循。

可透過 MixRoute 的 OpenAI 相容 Chat Completions 端點呼叫 `hy-mt2-plus`。

## 核心能力

* 指令遵循 - 可處理明確的風格、格式和術語要求
* 8K 上下文 - 最大輸入 4K token，最大輸出 4K token
* 可控翻譯 - 適合可重複執行的在地化工作流程
* OpenAI 相容 - 透過 MixRoute Chat Completions 呼叫

## 快速範例

**cURL**

```bash theme={null}
curl "https://api.mixroute.ai/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy-mt2-plus",
    "messages": [
      {
        "role": "user",
        "content": "Translate into Japanese while preserving the formal tone: Our service will be unavailable for maintenance on Friday."
      }
    ],
    "max_tokens": 256
  }'
```

**Python**

```python theme={null}
from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.mixroute.ai/v1")

response = client.chat.completions.create(
    model="hy-mt2-plus",
    messages=[{"role": "user", "content": "Translate into Japanese while preserving the formal tone: Our service will be unavailable for maintenance on Friday."}],
    max_tokens=256,
)

print(response.choices[0].message.content)
```

## 參數

| Parameter | Type | 必填 | 說明 |
| - | - | - | - |
| `model` | string | 是 | 模型 ID，固定為 `hy-mt2-plus`。 |
| `messages` | array | 是 | 包含 role 與 content 的對話訊息。 |
| `max_tokens` | integer | 否 | 最大生成 token 數。 |
| `stream` | boolean | 否 | 啟用 SSE 串流輸出。 |

## 廠商參考

* [騰訊雲 TokenHub 模型列表](https://cloud.tencent.com/document/product/1823/130051)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.