curl -X POST \
<BASE_URL>/tweet-my-asset \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"image_description": "Your image description here",
"tone": "Friendly",
"brand_description": "Your brand description",
"guidelines": "Some guidelines"
}'
{
"tweet": "Your generated tweet"
}
Body
This endpoint will generate social media tweets from an image description.
This is the image description you want to generate social media captions for.
How should the social media tweet sound like? (e.g. funny, serious, etc.)
This is the description of your brand.
Any guidelines you want our model to follow? (e.g. no profanity, etc.)
Response
This is the generated social media tweet.
curl -X POST \
<BASE_URL>/tweet-my-asset \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"image_description": "Your image description here",
"tone": "Friendly",
"brand_description": "Your brand description",
"guidelines": "Some guidelines"
}'
{
"tweet": "Your generated tweet"
}