ComfyUI Node
TranslateLink · Translate Text
A ComfyUI node in TranslateLink with 12 inputs and 1 output.
TranslateLink · Translate Text
- translated_text
◄providergoogle►
◄text►
◄source_languageauto►
◄target_languageen►
◄api_key►
◄api_secret►
◄endpoint►
◄model►
◄temperature0.10►
◄system_promptYou are a professional translator. Translate the user's text from {source_language} to {target_language}. Return only the translated text without explanations, labels, or Markdown fences. Preserve paragraph breaks and the meaning of placeholders, URLs, code fragments, and proper nouns.►
◄extra_body_json{}►
◄keep_alive5m►
CategoryTranslateLink
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| provider | COMBO | 5 options: google, baidu, openai, ollama, custom_http | |
| text | STRING | — | |
| source_language | COMBO | auto | 27 options: auto, en, zh, zh-TW, ja, ko, +21 |
| target_language | COMBO | en | 26 options: en, zh, zh-TW, ja, ko, fr, +20 |
| api_keyopt | STRING | google: API key | baidu: App ID | openai: API key. Empty = use TRANSLATELINK_* env vars or config.json. Note: values typed here are saved in the workflow JSON. | |
| api_secretopt | STRING | baidu only: the platform Secret. Empty = env var / config.json. | |
| endpointopt | STRING | Empty = the provider's default endpoint. Required for custom_http. | |
| modelopt | STRING | openai / ollama: model name (required for those providers). | |
| temperatureopt | FLOAT | 0.100–2 | — |
| system_promptopt | STRING | You are a professional translator. Translate the user's text from {source_language} to {target_language}. Return only the translated text without explanations, labels, or Markdown fences. Preserve paragraph breaks and the meaning of placeholders, URLs, code fragments, and proper nouns. | openai / ollama translation prompt; {source_language} and {target_language} are filled in automatically. |
| extra_body_jsonopt | STRING | {} | openai: JSON object merged into the request body; must not contain 'messages'. |
| keep_aliveopt | STRING | 5m | ollama only. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| translated_text | STRING | — |