Rewrite given text without changing its meaning. Take keywords into consideration.
CURL
curl -H 'content-type: application/json'
-H 'Accept: application/json'
-H 'api-key: your-key'
-X POST https://www.learnitive.com/api/v1/paraphrases
--data '{"input": "When it comes to car, two of the most popular brands that come to mind are BMW and Toyota",
"model":"balanced",
"keywords": ["Tesla"] ,
"max_tokens":"100",
"temperature":".65"
}'
Example output.
{
"success": true,
"status": "success",
"message": [{
"index": 0,
"text": "Two of the most popular brands are BMW and Toyota, but Tesla is also gaining traction...",
"id":"b2f5ff95-46b2-4c92-8674-74aaa0c73830"
}]
}
Parameter
- input: string. The topic of the blog post.
- keywords: array[string]. Keywords to use in the body.
- max_tokens: integer. The maximum number of tokens to generate. Default: 256
- model: The language model to use, “fast”, “balanced”, “strong” and “expart”. Defaul: “fast”.
- temperature: number. The sampling temperature to be used in text generation. The higher the temperature, the higher the risk of the output to sound “made up”. Default: 0.65