Tone and language
Two optional fields control a humanize request: tone sets the writing style of the result, and language specifies the language of the text.
Tone#
tone accepts one of 7 values: professional, academic, blog, casual, creative, scientific, technical. Omit tone to use the default style.
curl https://api.writehuman.ai/v1/humanize \ -H "Authorization: Bearer $WRITEHUMAN_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "The company reported strong quarterly earnings driven by increased demand.", "tone": "professional" }'An unrecognized tone value is ignored, not rejected, and matching is case-sensitive. For example, "Professional" with an uppercase P results in the default style and no error. If a tone has no effect, verify the spelling and case of the value.
Language#
language specifies the language of the input text, by its English name: "language": "Spanish". The result is returned in the same language.
- If
languageis omitted, the language is detected from the text. If the language is known, specify it explicitly. - An unrecognized language name is treated as if the field were omitted.
- The language also determines how words are counted for billing. See Words and billing.
- On /v1/detect, text in any language other than English is translated to English before it is scored.
Supported languages#
The API supports 44 languages: English, Chinese (Mandarin), Chinese (Taiwan), French, Spanish, Vietnamese, Portuguese, Japanese, Ukrainian, Swedish, German, Russian, Italian, Arabic, Hindi, Bengali, Korean, Turkish, Dutch, Polish, Thai, Indonesian, Malay, Persian, Hebrew, Greek, Czech, Danish, Finnish, Norwegian, Romanian, Hungarian, Slovak, Bulgarian, Croatian, Serbian, Slovenian, Lithuanian, Latvian, Estonian, Urdu, Swahili, Tagalog, Afrikaans.
Freezing is supported for English text only.