Introduction
The Rephrase API allows users to rephrase input text in multiple languages. This documentation provides details on API usage, endpoints, input parameters, and expected responses.
API Base URL: https://paraphrase7.p.rapidapi.com/
Endpoint
POST /rephrase
Description
Rephrases input text based on user-provided parameters.
Request Format
{
"input_text": "Your input text here",
"language": "en",
"rephrase_tone": "formal"
}
Language:
{
'en': 'English',
'hi': 'Hindi',
'mr': 'Marathi',
'zh': 'Chinese',
'ru': 'Russian',
'gr': 'German',
'fr': 'French',
'it': 'Italian',
'sp': 'Spanish'
}
rephrase_tone: formal, simple, academic, corporate, casual.
Response Format
{'rephrased_text': "What's causing the issue with the code you're working on?",
'tone': 'inquisitive',
'similarity_score': 0.85
}
Validations