Paraphrase

フリーミアム
よって Vibhu Goel | 更新済み एक महीने पहले | Text Analysis
人気

1.8 / 10

レイテンシー

2,109ms

サービスレベル

100%

Health Check

N/A

README

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"
}
  • input_text (string, required): The input text to be rephrased
  • language (string, required): Language of the input text
  • rephrase_tone (string, optional): Tone/Style for rephrasing. If not provided then inherent tone of the input_text is taken

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
}
  • ** rephrased_text** (string): paraphrased text.
  • ** tone** (string): Style/tone of the paraphrased text.
  • ** similarity_score** (float): similarity score of input text and paraphrased text.

Validations

  • Input text must be between 8 and 2500 characters.
  • The API enforces a rate limit of 2 requests per second (can be increased as per specific needs).
フォロワー:1
API作成者:
Rapid account: Vibhu Goel
Vibhu Goel
vibhu-goel
評価APIにログイン
評価:5-投票:1