Swipe Stack
LoopSwipeStackTemplateA 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).
| Setting | Type | Default | What it does |
|---|---|---|---|
loopDuration | number | 12 | |
loopRepeat | number | 2 | |
mediaFit | enum | crop | How each media fills its slot.One of: crop, natural |
scaleIntensity | number | 0.645 | |
tiltAngle | number | -45 | |
xOffset | number | 10 | |
stackOffset | number | 8 | |
direction | enum | right | One of: right, left |
easing | enum | smooth | One 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 Stack
{
"id": "LoopSwipeStackTemplate",
"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",
"loopRepeat": 2,
"loopDuration": 12,
"cropAspectRatio": "4:5",
"scaleIntensity": 0.645,
"tiltAngle": -45,
"xOffset": 10,
"stackOffset": 8,
"direction": "right",
"easing": "smooth"
}
}
}