Related issue: xulihang/ImageTrans-docs#375
Usage:
- Enter your key in the API preference settings.
- You can customize the prompt in the settings as well. The default prompt is
Translate the following into {langcode}: {source}.{langcode}and{source}will be replaced with the name of the target language and the source text. An example after replacing is like this:Translate the following into Chinese: Hello world!. - You can use third-party ChatGPT hosts by setting the host parameter.