reelfolio

Swipe

LoopSwipeTemplate

A fanned deck that throws its top card aside and sends it to the back, over and over.

Loop · Deck 1 of 13 · 2 to 16 images or videos

0:00 / 0:00
Settings

Template settings

Specific to this template. Every template also accepts the common settings (aspect ratio, background, corner radius).

SettingTypeDefaultWhat it does
loopItemSecondsnumber1.5
mediaFitenumcropHow each media fills its slot.One of: crop, natural
scaleIntensitynumber0.645
tiltAnglenumber-45
xOffsetnumber10
stackOffsetnumber8
directionenumrightOne of: right, left
easingenumsmoothOne of: smooth, snappy, elastic, linear
Request

Example request

A complete, working body for POST /api/v1/render with every default spelled out. Send only the settings you want to change.

POST /api/v1/render — Swipe
{
  "id": "LoopSwipeTemplate",
  "scale": 1,
  "inputProps": {
    "images": [
      "https://picsum.photos/seed/reelfolio1/1280/800",
      "https://picsum.photos/seed/reelfolio2/1280/800",
      "https://picsum.photos/seed/reelfolio3/1280/800"
    ],
    "settings": {
      "backgroundColor": "#0b0b0f",
      "backgroundType": "gradient",
      "backgroundGradientStart": "#111111",
      "backgroundGradientEnd": "#444444",
      "backgroundGradientNoise": 0,
      "backgroundLibraryCategory": "same",
      "backgroundLibraryImage": "",
      "blurAmount": 0,
      "backgroundOpacity": 1,
      "borderRadius": 24,
      "aspectRatio": "16:9",
      "mediaFit": "crop",
      "loopItemSeconds": 1.5,
      "cropAspectRatio": "4:5",
      "scaleIntensity": 0.645,
      "tiltAngle": -45,
      "xOffset": 10,
      "stackOffset": 8,
      "direction": "right",
      "easing": "smooth"
    }
  }
}