Actor picture

DeepL (AI translation) Actor

tkapler/deepl-actor

Receive high-quality translations from/to 24 languages using the DeepL API. It uses a proprietary algorithm with convolutional neural networks (CNNs) and translate far better than e.g. Google Translate. Free Tier is available.

No credit card required

Author's avatarTomas Kapler
  • Modified
  • Users7
  • Runs49
Actor picture
DeepL (AI translation) Actor

Authentication Key

auth_key

Required

string

Authentication Key for DeepL API. You can find it here https://www.deepl.com/pro-account/summary

Source text

text

Required

string

Text you want to translate

Target language

target_lang

Optional

string

The language (and variant) into which the text should be translated

Options:

"BG", "CS", "DA", "DE", "EL", "EN-GB", "EN-US", "ES", "ET", "FI", "FR", "HU", "IT", "JA", "LT", "LV", "NL", "PL", "PT-PT", "PT-BR", "RO", "RU", "SK", "SL", "SV", "ZH"

Source language

source_lang

Optional

string

Language of the text to be translated. Default is automatic detection.

Options:

"BG", "CS", "DA", "DE", "EL", "EN", "ES", "ET", "FI", "FR", "HU", "IT", "JA", "LT", "LV", "NL", "PL", "PT", "RO", "RU", "SK", "SL", "SV", "ZH"

Split sentences

split_sentences

Optional

string

Sets whether the translation engine should first split the input into sentences. This is enabled by default. For applications that send one sentence per text parameter, it is advisable to set split_sentences=0, in order to prevent the engine from splitting the sentence unintentionally.

Options:

"0", "1", "nonewlines"

Preserve formatting

preserve_formatting

Optional

string

Sets whether the translation engine should respect the original formatting, even if it would usually correct some aspects. The formatting aspects affected by this setting include: -Punctuation at the beginning and end of the sentence -Upper/lower case at the beginning of the sentence

Options:

"0", "1"

Formality

formality

Optional

string

Sets whether the translated text should lean towards formal or informal language. This feature currently only works for target languages 'DE' (German), 'FR' (French), 'IT' (Italian), 'ES' (Spanish), 'NL' (Dutch), 'PL' (Polish), 'PT-PT', 'PT-BR' (Portuguese) and 'RU' (Russian).

Options:

"default", "more", "less"

Glossary ID

glossary_id

Optional

string

Specify the glossary to use for the translation. Important: This requires the source_lang parameter to be set and the language pair of the glossary has to match the language pair of the request.