How to Use Hy-MT2-7B in n8n
Hy-MT2-7B translates text with glossary, tone, and formatting instructions. Its 7-billion-parameter size sits between Hy-MT2-1.8B and Hy-MT2-30B-A3B.
Prompts to try with Hy-MT2-7B in n8n
Copy an example into n8n, or ask in your own words.
Each morning, use Hy-MT2-7B to translate new English product announcements into French. Keep product names unchanged, use a professional tone, and place each translation beside its source for review.
Every weekday, use Hy-MT2-7B to translate newly approved support replies into Japanese. Include the issue context, preserve order numbers and product names, and return translation drafts without added explanations.
Each Friday, use Hy-MT2-7B to translate approved release notes into German. Preserve version numbers and bullets, apply the approved glossary, and flag any glossary mismatch during review.
Each night, use Hy-MT2-7B to translate new English product descriptions into Spanish. Process descriptions separately, preserve brand names, and use the same neutral tone throughout.
Every Monday, use Hy-MT2-7B to translate approved team announcements into Portuguese. Preserve headings and bullet order, include company terminology as background, and return drafts for review.
How to set up Hy-MT2-7B in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run Hy-MT2-7B in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Hy-MT2-7B, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Hy-MT2-7B
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "tencent/hy-mt2-7b", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: n8n finds Hy-MT2-7B on Spiral, shows the price and runs it.
Hy-MT2-7B providers and prices
Spiral runs Hy-MT2-7B through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.001575 per run at the default inputs. $0.0962 per 1M input tokens, $0.3835 per 1M output tokens.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Max tokens | 1 to 4096 | The most output tokens to generate. | |
| Temperature | 0 to 2 |
Every API field of Tencent: Hy-MT2-7B is on its tool page: open its card above.
What can you do with Hy-MT2-7B in n8n?
Prepare recurring translations of new announcements, support replies, or product descriptions. Give each run a target language, approved glossary, and preservation rules, then check the drafts against those requirements.
Application text localization
Translate visible strings in JSON or other structured text. Specify which keys, placeholders, and tags must stay unchanged, then validate the result.
Product descriptions
Translate descriptions with approved product terminology and a consistent tone. Supply exact translations for recurring feature names.
Customer support replies
Translate a drafted reply into the customer's language. Include brief issue context and request a polite, direct tone.
Help center articles
Translate articles section by section with a shared glossary. Explicitly preserve headings, links, and product names.
Release notes
Translate update announcements while retaining version numbers, feature names, and list structure. Specify the tone used in previous announcements.
Webpage text translation
Translate visible text in supplied HTML while asking to preserve tags and attributes. Check the markup before using the output.
Internal communications
Translate meeting notes or team announcements with context for company terminology. Request the same headings and bullet structure.
More on Hy-MT2-7B and n8n
Overview
Hy-MT2-7B in other agents
More n8n guides
Questions about Hy-MT2-7B in n8n
Can n8n use Hy-MT2-7B?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Hy-MT2-7B like any built-in tool.
How much does Hy-MT2-7B cost in n8n?
Up to $0.001575 per run at the default inputs. $0.0962 per 1M input tokens, $0.3835 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an OpenRouter account to use Hy-MT2-7B in n8n?
You need no OpenRouter account. n8n uses one Spiral API key for every tool, and Spiral runs Hy-MT2-7B on its own OpenRouter account.
How long does it take to set up Hy-MT2-7B in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Hy-MT2-7B runs?
Hy-MT2-7B runs in the background. n8n starts the run, checks on it and gives you the text, json when it's ready.
What is Hy-MT2 best used for?
Use Hy-MT2 for translation that needs specific terminology, a requested tone, or preserved structure. Examples include product copy, support replies, and application text.
Which languages does Hy-MT2 support?
Tencent describes translation among 33 languages. Its published language list includes English, Chinese, Spanish, French, Portuguese, Japanese, German, Arabic, Korean, and Hindi.
How should I write a translation prompt?
Write the target language in full, provide the source text, and ask for only the translation. Add exact glossary translations, the desired tone, and brief background when those details matter.
Can Hy-MT2 translate text inside structured data?
Tencent provides instructions for translating visible text while preserving structure, keys, tags, and variable placeholders. Ask for those constraints explicitly, then validate the returned structure.
How should I handle long documents?
Tencent's inference guide specifies an 8,192-token context and recommends a 4,096-token output budget. Translate sections separately, leaving room for the output and repeating the glossary where needed.
Start using Hy-MT2-7B in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


