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.

source
string

The video script or source text to generate the title/caption from.

guidelines
string

Optional: Any guidelines to consider while generating the post. Example: No political posts

tone
string

Optional: What tone should the post have? Example: Funny, Serious, Sarcastic, etc.

Response

video_title
string

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"
}