ComfyUI Node
π± Artha Gemini Translate
Gemini Translate node can be used to translate one language to another.
π± Artha Gemini Translate
- response
βtextβΊ
βlang_fromChineseβΊ
βlang_toEnglishβΊ
βapi_keyβΊ
βmodelgemini-2.5-flashβΊ
βmax_tokens5000βΊ
βtemperature0.7βΊ
CategoryArtha/LLM/Gemini
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | β | |
| lang_from | COMBO | Chinese | 12 options: Chinese, Spanish, English, Hindi, Portuguese, Bengali, +6 |
| lang_to | COMBO | English | 12 options: Chinese, Spanish, English, Hindi, Portuguese, Bengali, +6 |
| api_key | STRING | API key will be visible in plain text. Consider adding your api to the api.json located inside this custom node folder. | |
| model | COMBO | gemini-2.5-flash | 5 options: gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash, gemini-2.0-flash-lite |
| max_tokens | INT | 50001β8192 | For Gemini models, a token is equivalent to about 4 characters. 100 tokens is equal to about 60β80 English words. |
| temperature | FLOAT | 0.70β2 | A temperature of 0 means only the most likely tokens are selected. Higher values increase randomness. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| response | STRING | β |