Nodes/comfyUI-tool-2lab/Youdao translator 有道翻译
ComfyUI Node

Youdao translator 有道翻译

The Youdao translator that needs no key

By AI2lab·Created 2 years ago·Updated 2 years ago· 23
Youdao translator 有道翻译
    • text
    text
    to_langen

    Here's a name that's a lie in the best possible way. YoudaoTranslator (2lab) looks exactly like its sibling youdao_translator (2lab) - same Youdao translation API, same to_lang options, same string-in/string-out - except this one has no key fields at all. No app_key, no app_secret. You drop it in, type your text, and it translates. Zero setup.

    That's the whole point of this variant: it's the frictionless version for people who just want a prompt translated without registering for a Youdao developer account. In a pack whose audience is "build workflows fast and publish them," skipping the signup step is a real feature. The trade is in who owns the credentials - and that's the thing to think about before you rely on it.

    Inputs and output

    • text - the text to translate, multiline.
    • to_lang - en or zh-CHS (default en), same two options as the keyed sibling.
    • Output: text - the translated string.

    That's the whole surface: two inputs, one output. Wire the output into a CLIP text encoder and you're done.

    How it works

    The translation still has to happen somewhere, which means there are credentials in play - they're just not yours. The keyless node is almost certainly calling Youdao's API with a key baked into the pack's code by the author (that's why there's also a keyed sibling for people who want to supply their own). Which explains the practical difference between the two nodes: the keyed one is yours, the keyless one is the author's.

    So what does that mean for you? Two honest trade-offs. One: you're trusting the author's account quota - if it's shared or metered, it can throttle or stop working with no warning. Two: you're implicitly trusting the author with whatever text you send, since it leaves your machine through their credentials. For prompt translation that's low-stakes. For anything sensitive, use the keyed version with your own account instead.

    Installing it

    Same install as the rest of comfyUI-tool-2lab:

    cd ComfyUI/custom_nodes
    git clone https://github.com/AI2lab/comfyUI-tool-2lab
    

    Or install "comfyUI-tool-2lab" via ComfyUI Manager and restart ComfyUI. No models, no pip extras - and notably, no keys to configure.

    Gotchas

    • It can just stop working. Because the credentials aren't yours, you have no visibility into quota or uptime. If translations start returning errors out of nowhere, that's the likely cause - and the only real fix is switching to the keyed node.
    • Your text goes through the author's account. Prompt text is rarely secret, but know what you're sending and where.
    • You're sending text to a third-party API over the network. Same standing advice as all API nodes: check the pack's code if you're security-conscious, since custom nodes run arbitrary code on your machine.
    • Repo visibility. The pack's GitHub page currently returns 404, likely made private or renamed. A fresh clone can fail even though existing installs keep working - known quirk, not your error.
    Category🦊2lab/api

    Inputs (2)

    NameTypeDefaultDescription
    textSTRING
    to_langCOMBOen2 options: en, zh-CHS

    Outputs (1)

    NameTypeDescription
    textSTRING