Quillbot Paraphraser

PAID
By quillbotapi | Updated a month ago |
Popularity

9.5 / 10

Latency

1,878ms

Service Level

99%

Quillbot Paraphraser Overview

Followers: 17
Resources:
Product Website Terms of use
API Creator:
Q
quillbotapi
quillbotapi
Rate API:
Log In to Rate API

README

  1. DO NOT train ANY machine learning/AI models using the data we provide
  2. DO NOT publicly release the data in an input/output format.
  3. DO NOT use the API in a competing product.
  4. If you wish to use the paraphraser for data augmentation, you will need explicit permission from QuillBot

Please read our terms of service for a more complete set of rules. Breaking any of these rules will mean termination of your API access.

The model that you are purchasing API access for, is the model that is on the website. We DO NOT guarantee perfect proficiency, what you see is what you get. However, we are constantly improving our model through user data and architectural changes. When the proficiency of our model increases, we will automatically update your API access to the newest model.

With each input, you can request additional paraphrases. Please note: each additional paraphrase you request will decrease in its probability of being a “good” output. This is not always true, but on average it will be true. We define “good” in 3 dimensions: grammar, edit distance, and retention of meaning. You will be billed for each additional paraphrase you request.

# Paraphrase

Character Pricing

Cost is based on the number of characters, meaning you are charged per input character. This cost is multiplied depending on how many paraphrases of a sentence you request. . For example, if you request 3 paraphrases of the sentence: “The boy walked into the store.”, you would be charged for 90 characters (30 x 3).

Additional Paraphrases

You can request additional paraphrases for each input. Please note: each additional requested paraphrase has a lower chance on average of being a “good” output. We define “good” based on 3 dimensions: grammar quality, edit distance (or how different the paraphrase is from the original), and retention of meaning. As mentioned previously, you will be billed for each additional paraphrase you request.

Proficiency of Model

The model that you are purchasing API access for is the model used on the website. We do NOT guarantee perfect proficiency: what you see is what you get. However, we are constantly improving our model through user data and architectural changes. When the proficiency of our model increases, we will automatically update your API access to the newest model.

Strict Rules

  1. DO NOT train ANY machine learning/AI models using the data we provide.
  2. DO NOT publicly release the data in an input/output format.
  3. DO NOT use the API in a competing product.
  4. If you wish to use the paraphraser for data augmentation, you will need explicit permission from QuillBot.
    Please read our terms of service for a more complete set of rules. Breaking any of these rules will result in termination of your API access.

EndPoint - paraphrase

Method Type: POST

Request Body

text: The text you want to paraphrase. The character count must be between 10 and 3000. You may input multiple sentences and they will be split automatically.
numParaphrases: The number of paraphrased sentences you want per input sentence. Can be a value between [1] and [4].
coupon: A coupon code for free characters if you have one.
includeSegs: Boolean value (true or false). If set to true, the response will include alternative words/phrases per each word. This is equivalent to the drop-down thesaurus on the website.
strength: An integer value between 1-5 that determines the strength of the paraphrasing mode used. Strength and corresponding values:- FLUENCY: 1, STANDARD: 3, CREATIVE: 5, (as available on the website) CONCISION: 2, SUGGESTIVE: 4, (older modes that have been removed)
autoflip: A decimal value between 0.0-1.0 corresponding to how frequently words in the text will be replaced with synonyms. The higher the number the less reliable/accurate the results are.

Sample Call:

curl --request POST 'https://quillbot.p.rapidapi.com/paraphrase' --header 'Content-Type: application/json' --data-raw '{ "text": "These days most People seem to be online. People with non-technical skills are effortlessly upgrading themselves, creating an online presence through online shopping and social networking.", "numParaphrases": 4, "includeSegs": true, "strength": 3, "autoflip": 0.25 } '

Success Response:

  • Code: 200
    original: A string containing the original sentence.
    paraphrases: An array of alternatives, their edit distances, and scores to the original sentence.
    ->editdistance: Float of the Normalized Levenshtein Distance between the paraphrase and the original.
    ->alt: The paraphrase of the original sentence.
    ->score: The confidence of the model on the paraphrase based off the cross-entropy loss.
    ->segs: An array containing all of the alternative words/phrases for the drop-down thesaurus functionality.
    ->->text: The original word/phrase for the drop-down thesaurus.
    ->->alts: The alternative word/phrases and cosine similarity for the drop-down thesaurus.
    ->->->text: The alternative word/phrase

Sample Response:

[ { "original": "These days most People seem to be online.", "paraphrases": [ { "editdistance": 0.4835164835164835, "alt": "The majority of people nowadays seem to be online.", "score": -0.2373562753200531, "segs": [ { "text": "The", "alts": [ { "text": "This same" }, { "text": "A" }, { "text": "Its" }, { "text": "This year's" }, { "text": "Each" } ] }, { "text": "majority of people", "alts": [...] }, ...

Error Response:

  • Code: 403 Forbidden Request
    Content: Forbidden Request
    Cause: Any request from outside of rapid-api

OR

  • Code: 422 UNPROCESSABLE ENTITY
    Content: Unexpected end of JSON input
    Cause: Syntax Errors
    OR

  • Code: 400 BAD REQUEST
    Content: child fails...
    Cause: Semantic Errors. (eg. Strength>5)
    OR

  • Code: 405 METHOD NOT ALLOWED
    Content: Invalid Method: GET
    Cause: Invalid Method type: GET|DELETE

# All-Paraphrase

Character Pricing

Cost is based on the number of characters, meaning you are charged per input character. This cost is multiplied depending on how many paraphrases of a sentence you request. . For example, if you request 3 paraphrases of the sentence: “The boy walked into the store.”, you would be charged for 90 characters (30 x 3).

Additional Paraphrases

You can request additional paraphrases for each input. Please note: each additional requested paraphrase has a lower chance on average of being a “good” output. We define “good” based on 3 dimensions: grammar quality, edit distance (or how different the paraphrase is from the original), and retention of meaning. As mentioned previously, you will be billed for each additional paraphrase you request.

Proficiency of Model

The model that you are purchasing API access for is the model used on the website. We do NOT guarantee perfect proficiency: what you see is what you get. However, we are constantly improving our model through user data and architectural changes. When the proficiency of our model increases, we will automatically update your API access to the newest model.

Strict Rules

  1. DO NOT train ANY machine learning/AI models using the data we provide.
  2. DO NOT publicly release the data in an input/output format.
  3. DO NOT use the API in a competing product.
  4. If you wish to use the paraphraser for data augmentation, you will need explicit permission from QuillBot.
    Please read our terms of service for a more complete set of rules. Breaking any of these rules will result in termination of your API access.

EndPoint - paraphrase-all

Method Type: POST

Request Body

text: The text you want to paraphrase. The character count must be between 10 and 3000. You may input multiple sentences and they will be split automatically.
numParaphrases: The number of paraphrased sentences you want per input sentence per mode. Can be a value between [1] and [4]. note - input by default will have 3 modes and 2 different autoflip values, permutations of which will be returned as output.
coupon: A coupon code for free characters if you have one.
includeSegs: Boolean value (true or false). If set to true, the response will include alternative words/phrases per each word. This is equivalent to the drop-down thesaurus on the website.
####Implicit Values
strength: All integer values from 3-5 will be used as the strength for the paraphrasing mode. Strength modes and corresponding values:- [STANDARD: 3, SUGGESTIVE: 4, CREATIVE:5]
autoflip: 2 extreme border values used which renders most diverse output - [0.1, 1]

Sample Call:

curl --request POST ‘https://quillbot.p.rapidapi.com/paraphrase-all
–header ‘Content-Type: application/json’
–data-raw ‘{
“text”: “These days most People seem to be online. People with non-technical skills are effortlessly upgrading themselves, creating an online presence through online shopping and social networking.”,
“numParaphrases”: 1,
“includeSegs”: false
}

Success Response:

  • Code: 200
    original: A string containing the original sentence.
    paraphrases: An array of alternatives, their edit distances, and scores to the original sentence.
    ->editdistance: Float of the Normalized Levenshtein Distance between the paraphrase and the original.
    ->alt: The paraphrase of the original sentence.
    ->segs: An array containing all of the alternative words/phrases for the drop-down thesaurus functionality.
    ->->text: The original word/phrase for the drop-down thesaurus.
    ->->alts: The alternative word/phrases and cosine similarity for the drop-down thesaurus.
    ->->->text: The alternative word/phrase

Sample Response:

[
{
“original”: “These days most People seem to be online.”,
“paraphrases”: [
{
“editdistance”: 0.4835164835164835,
“alt”: “The majority of people nowadays seem to be online.”,
“segs”: []
},
{
“editdistance”: 0.5348837209302325,
“alt”: “The bulk of citizens today tend to be online.”,
“segs”: []
},
{
“editdistance”: 0.6904761904761905,
“alt”: “Most people appear to be online these days.”,
“segs”: []
},
{
“editdistance”: 0.6904761904761905,
“alt”: “Most people appear to be online these days.”,
“segs”: []
},
{
“editdistance”: 0.7631578947368421,
“alt”: “most people appear online nowadays.”,
“segs”: []
},
{
“editdistance”: 0.8674698795180723,
“alt”: “Most citizens appear digitally these days.”,
“segs”: []
}
]
},
{
“original”: “People with non-technical skills are effortlessly upgrading themselves, creating an online presence through online shopping and social networking.”,
“paraphrases”: [
{
“editdistance”: 0.37410071942446044,
“alt”: “Non-technical people are easily upgrading their skills and establishing an online presence by online shopping and social networking.”,
“segs”: []
},
{
“editdistance”: 0.4172661870503597,
“alt”: “Non-technical people are easily upgrading their skills and establishing an online identity by online shopping and social networking.”,
“segs”: []
},
{
“editdistance”: 0.39705882352941174,
“alt”: “Non-technically trained people are easily upgraded and built an online presence through online shopping and social networking.”,
“segs”: []
},
{
“editdistance”: 0.46441947565543074,
“alt”: “Non-technical individuals are quickly upgraded, establishing an online identity by online shopping and social networking.”,
“segs”: []
},
{
“editdistance”: 0.8740157480314961,
“alt”: “via online shopping and social networks, persons with non-technical know-how are easy to upgrade themselves.”,
“segs”: []
},
{
“editdistance”: 0.8527131782945736,
“alt”: “Through the online market and social networking, citizens with non-technical skills are upgraded without effort.”,
“segs”: []
}
]
}
]

Error Response:

  • Code: 403 Forbidden Request
    Content: Forbidden Request
    Cause: Any request from outside of rapid-api

OR

  • Code: 422 UNPROCESSABLE ENTITY
    Content: Unexpected end of JSON input
    Cause: Syntax Errors
    OR

  • Code: 400 BAD REQUEST
    Content: child fails...
    Cause: Semantic Errors. (eg. Strength>5)
    OR

  • Code: 405 METHOD NOT ALLOWED
    Content: Invalid Method: GET
    Cause: Invalid Method type: GET|DELETE

Rating: 4 - Votes: 4