ComfyUI Node
Prompt Translator (GGUF)
A ComfyUI node in utils/prompt with 5 inputs and 2 outputs.
Prompt Translator (GGUF)
- translated
- origin
◄prompt►
◄modelnone►
◄devicecpu►
◄n_gpu_layers-1►
◄target_languageEnglish►
Categoryutils/prompt
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| model | COMBO | none | 1 options: none |
| device | COMBO | cpu | 3 options: cpu, cuda, mps |
| n_gpu_layers | INT | -1-1–100 | Number of GPU layers (-1 for all, 0 for CPU). Only used when device=cuda |
| target_language | COMBO | English | 2 options: English, Chinese (Simplified) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| translated | STRING | — |
| origin | STRING | — |