Opus Motion ★ Star on GitHub

Recipe · portrait · 2 scenes

Social short with captions (portrait)

A vertical short / reel / TikTok: photo plates with a slow push, word-by-word kinetic captions with highlighted keywords, and a soft grade.

  • social
  • short
  • reel
  • tiktok
  • portrait
  • vertical
  • captions
  • story
  • photo
Social short with captions (portrait) recipe preview
Social short with captions (portrait) — frames from the recipe.

Motions in this recipe

Use it in Remotion, React or HTML

CLI

CLI
# render the recipe to out/social-short-captions.mp4 (run in the library folder)
node cli/mgl.mjs recipe social-short-captions

# copy just this recipe's source into a Remotion / React project
node cli/mgl.mjs add social-short-captions --to ../my-app/src

React

React
import {MotionMix} from 'opus-motion-library/web';

<MotionMix recipe="social-short-captions"
  playOnView
/>

HTML

HTML
<script src="opus-motion.element.js" defer></script>

<opus-motion recipe="social-short-captions">
</opus-motion>

recipes/social-short-captions.json

recipes/social-short-captions.json
{
  "id": "social-short-captions",
  "title": "Social short with captions (portrait)",
  "useFor": "A vertical short / reel / TikTok: photo plates with a slow push, word-by-word kinetic captions with highlighted keywords, and a soft grade.",
  "format": "portrait",
  "tags": [
    "social",
    "short",
    "reel",
    "tiktok",
    "portrait",
    "vertical",
    "captions",
    "story",
    "photo"
  ],
  "background": "#000",
  "scenes": [
    {
      "duration": 150,
      "transition": {
        "type": "flash",
        "variant": "plain"
      },
      "layers": [
        {
          "motion": "ken-burns",
          "props": {
            "src": "demo/city.jpg",
            "mode": "push",
            "rate": 2,
            "punchAt": -1,
            "grain": 0.05
          }
        },
        {
          "motion": "kinetic-captions",
          "props": {
            "lines": [
              "Every *city* has",
              "a *second* shift."
            ],
            "framesPerLine": 70,
            "background": "transparent",
            "position": "bottom",
            "size": 78
          }
        }
      ]
    },
    {
      "duration": 150,
      "layers": [
        {
          "motion": "ken-burns",
          "props": {
            "src": "demo/lantern.jpg",
            "mode": "push",
            "rate": 2,
            "punchAt": -1,
            "grain": 0.05
          }
        },
        {
          "motion": "kinetic-captions",
          "props": {
            "lines": [
              "Here is who",
              "keeps it *running.*"
            ],
            "framesPerLine": 70,
            "background": "transparent",
            "position": "bottom",
            "size": 78
          }
        }
      ]
    }
  ],
  "overlays": [
    {
      "motion": "film-look",
      "from": 0,
      "duration": 290,
      "props": {
        "overlay": true,
        "grain": 0.06,
        "vignette": 0.3,
        "flare": false,
        "letterbox": "off",
        "bloom": 0,
        "fringe": 0
      }
    }
  ],
  "notes": "Swap ken-burns.src for your photos and the caption lines (*word* = highlighted). Captions sit at the bottom third, clear of the platform UI; nothing else in the frame carries text."
}