With this library, one should be able to use https://developers.deepl.com/docs/api-reference/improve-text Cheers