curl -X POST \
<BASE_URL>/generate-video-title \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"source": "Your_Source_Value",
"guidelines": "Your_Guidelines_Value",
"tone": "Your_Tone_Value"
}'
{
"video_title": "Unraveling the Mystery: Understanding the Different Types of Fats and Making Informed Dietary Choices"
}
Body
Generate title/caption for a video.
The video script or source text to generate the title/caption from.
Optional: Any guidelines to consider while generating the post. Example: No political posts
Optional: What tone should the post have? Example: Funny, Serious, Sarcastic, etc.
Response
A string containing the title/caption for the video.
curl -X POST \
<BASE_URL>/generate-video-title \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"source": "Your_Source_Value",
"guidelines": "Your_Guidelines_Value",
"tone": "Your_Tone_Value"
}'
{
"video_title": "Unraveling the Mystery: Understanding the Different Types of Fats and Making Informed Dietary Choices"
}