File size: 1,215 Bytes
1e3b872
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Deep Translator nodes for ComfyUI

Custom nodes for ComfyUI, translate promt from other languages into english

> Includes:
> **DeepTranslatorCLIPTextEncodeNode** - translate text, and return CONDITIONING
>
> **DeepTranslatorTextNode** - translte text and return text (STRING)

## Changelog:

> 2024.02.17 - Change name nodes js and python file for correct, and fix not saved selected languages in deep_translator node.

## DeepTranslatorTextNode and DeepTranslatorCLIPTextEncodeNode

Used module **deep_translator**: https://pypi.org/project/deep-translator/

**Info nodes:**

> **The settings nodes are in the config.json file**

> You can select a service for text translation in the service field. In the description of the service there is a note asking whether **api_key** is required, if required, enter the appropriate values in the authorization field.

**Example:**

```
api_key=your_api_key
```

**Proxyes:**

> You can also specify a proxy for both http and https

**Example:**

```
https=34.195.196.27:8080
http=34.195.196.27:8080
```

## Image:

![DeepTranslatorCLIPTextEncodeNode](https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/raw/master/DeepTranslatorNode/image_DeepTranslator_Node.jpg)