Caption Templates

Animated caption styles for your videos. Select a template to see the API code.

Available Templates

22 templates
Preview
REAL OFICIAL
Simples Branco
Texto branco limpo com contorno suave
id: simple-whitestyle: colored-words
API Code
json
{
  "captionTemplate": {
    "id": "simple-white",
    "style": "colored-words",
    "config": {
      "fontFamily": "Montserrat",
      "fontSize": 44,
      "fontWeight": "bold",
      "textTransform": "none",
      "primaryColor": "#ffffff",
      "secondaryColor": "#ffffff",
      "strokeColor": "#000000",
      "strokeWidth": 6,
      "maxWidth": 900
    }
  }
}
Full API Request Example
json
// POST /v1/createShorts
{
  "url": "https://youtube.com/watch?v=...",
  "title": "My Video",
  "aspect_ratio": "vertical",
  "clipDuration": "60",
    "captionTemplate": {
    "id": "simple-white",
    "style": "colored-words",
    "config": {
      "fontFamily": "Montserrat",
      "fontSize": 44,
      "fontWeight": "bold",
      "textTransform": "none",
      "primaryColor": "#ffffff",
      "secondaryColor": "#ffffff",
      "strokeColor": "#000000",
      "strokeWidth": 6,
      "maxWidth": 900
    }
  }
}

API Reference

Template Styles

colored-wordsAlternates highlight color between words
scaling-wordsScales up the current word
animated-backgroundColored box behind active word
bounceBouncing animation
shakeShaking effect
zoomZoom in/out effect
fadeFade in/out effect
glitchGlitch/tech effect
rotatingRotation animation
explosiveExplosive scaling effect
glowingPulsing glow effect

Config Options

fontFamily(string)Google Font name
fontSize(number)Font size in pixels
fontWeight(string)Font weight (bold, normal, etc)
textTransform(string)none | uppercase | lowercase
primaryColor(string)Main text color (hex)
secondaryColor(string)Highlight color (hex)
strokeColor(string)Text stroke color (hex)
strokeWidth(number)Stroke width in pixels
maxWidth(number)Max caption width in pixels

Surprise Template

Use id: "surprise" to randomly select a template style for each video. Great for A/B testing different caption styles!

json
{
  "captionTemplate": {
    "id": "surprise",
    "style": "random",
    "config": {
      "fontFamily": "Montserrat"
    }
  }
}