The endpoints of this API are:
(Using https://persuaderai.christianvillegas.com/ as a base URL)
A POST to "/api/clickbait" generate clickbait titles.
A POST to "/api/cta" generate Call-to-Action (CTA) phrases.
You need to give the prompt and quantity in a JSON on the body of the HTTP request on both of the endpoints, someting like this:
{ "input":"the result of being a bad person", "quantity": 2 }
As a result the server gives you a JSON with an array of strings like this:
[ "This Is What Happens When You Are A Bad Person", "This Is What Happens If You Are A Bad Person" ]