rephrase_text_with_ai()¶
- async Client.rephrase_text_with_ai()¶
Rephrases text using an AI model tone.
Usable by Users Bots- Parameters:
text (
str|FormattedText) – The original text.tone (
str|InputAiComposeTone, optional) – The desired AI composition tone (e.g. “formal”, “casual”, “poetic”). Defaults to “formal”.
- Returns:
FormattedText– On success, information about the rephrased text is returned.
Example
result = await app.rephrase_text_with_ai("hey guys what's up", tone="formal") print(result.text)