curl -X POST \
  <BASE_URL>/tweet \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{
    "text": "Your text here",
    "tone": "Friendly",
    "brand_description": "Your brand description",
    "guidelines": "Some guidelines",
    "expand": true
}'

{
    "tweet": "Your generated tweet"
}

Body

This endpoint will generate social media tweets.
text
string
This is the text you want to generate social media tweets for.
tone
string
How should the social media tweet sound like? (e.g. funny, serious, etc.)
brand_description
string
This is the description of your brand.
guildelines
string
Any guidelines you want our model to follow? (e.g. no profanity, etc.)
expand
boolean
Optional: This is a boolean value to expand the text to a longer caption. Default is false.

Response

tweet
string
This is the generated social media tweet.
curl -X POST \
  <BASE_URL>/tweet \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{
    "text": "Your text here",
    "tone": "Friendly",
    "brand_description": "Your brand description",
    "guidelines": "Some guidelines",
    "expand": true
}'

{
    "tweet": "Your generated tweet"
}