Dive
LoopDepthStackScrollTemplateFly straight through a receding stack of cards.
Loop · 3D & Perspective 8 of 24 · 4 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 | 14 | |
loopRepeat | number | 2 | |
mediaFit | enum | natural | How each media fills its slot.One of: crop, natural |
shadowEnabled | boolean | false | |
shadowX | number | 0 | |
shadowY | number | 1 | |
shadowBlur | number | 1.5 | |
shadowSpread | number | -0.25 | |
shadowOpacity | number | 40 | |
shadowColor | color | #000000 | |
scaleIntensity | number | 0.25 | |
cardCount | number | 24 | |
spacing | number | 32 | |
layout | enum | scatter | One of: fan, scatter |
spread | number | 74 | |
spreadAngle | number | -58 | |
wobble | number | 0 | |
depthFade | number | 45 | |
blur | number | 0 | |
direction | enum | forward | One of: forward, backward |
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 — Dive
{
"id": "LoopDepthStackScrollTemplate",
"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",
"https://picsum.photos/seed/reelfolio1/1280/800"
],
"settings": {
"backgroundColor": "#0b0b0f",
"backgroundType": "gradient",
"backgroundGradientStart": "#111111",
"backgroundGradientEnd": "#444444",
"backgroundGradientNoise": 0,
"backgroundLibraryCategory": "same",
"backgroundLibraryImage": "",
"blurAmount": 0,
"backgroundOpacity": 1,
"borderRadius": 32,
"aspectRatio": "16:9",
"mediaFit": "natural",
"loopDuration": 14,
"loopRepeat": 2,
"shadowEnabled": false,
"shadowX": 0,
"shadowY": 1,
"shadowBlur": 1.5,
"shadowSpread": -0.25,
"shadowOpacity": 40,
"shadowColor": "#000000",
"scaleIntensity": 0.25,
"cardCount": 24,
"spacing": 32,
"layout": "scatter",
"spread": 74,
"spreadAngle": -58,
"wobble": 0,
"depthFade": 45,
"blur": 0,
"direction": "forward",
"cropAspectRatio": "1:1"
}
}
}