/v2/write/rephrase endpoint accepts two parameters that steer how your text is rewritten: writing_style changes the register of the text, and tone changes how it sounds. A request can include one or the other, but not both.
Writing styles
Tones
Language support and fallback behavior
Styles and tones are currently supported for the target languagesde, en-GB, en-US, es, fr, it, pt-BR, and pt-PT. To check support dynamically, call GET /v3/languages?resource=write and look for the writing_style or tone feature key on the target language.
The prefer_ variants fall back to default when the target language doesn’t support styles or tones; the non-prefixed values return an HTTP 400 error in that case. Use the prefer_ variants when you don’t set a target_lang explicitly, since the detected language may not support styles or tones.
Example
This request rewrites the same text in a diplomatic tone:Sample request
Sample response