Skip to main content

Video Generation Clips & Transitions

Videos in JsonCut are built using clips - discrete segments that play sequentially. Each clip contains layers and can have smooth transitions to the next clip, creating professional-looking videos with seamless scene changes.

Understanding Clips

Clips are the building blocks of your video. Think of them as scenes or segments that each have their own duration and visual content.

{
"type": "video",
"config": {
"width": 1280,
"height": 720,
"clips": [
{
"duration": 3,
"layers": [
{
"type": "fill-color",
"color": "#667eea"
},
{
"type": "title",
"text": "Scene 1",
"textColor": "#ffffff",
"position": "center"
}
]
},
{
"duration": 4,
"layers": [
{
"type": "fill-color",
"color": "#764ba2"
},
{
"type": "title",
"text": "Scene 2",
"textColor": "#ffffff",
"position": "center"
}
]
}
]
}
}

Clip Properties

PropertyTypeRequiredDescription
durationnumberClip duration in seconds (uses default if omitted)
layersarrayVisual and audio layers for this clip
transitionobjectTransition effect to the next clip

Default Duration

You can set a default duration for all clips and override it individually:

{
"type": "video",
"config": {
"defaults": {
"duration": 4
},
"clips": [
{
// Uses default 4 seconds
"layers": [...]
},
{
"duration": 2,
// Override to 2 seconds
"layers": [...]
}
]
}
}

Available Transitions

JsonCut supports a comprehensive collection of transition effects. Here's a showcase of different transition categories:

{
"type": "video",
"config": {
"defaults": {
"duration": 3,
"transition": { "duration": 1 }
},
"clips": [
{
"layers": [{ "type": "title-background", "text": "Fade" }],
"transition": { "name": "fade" }
},
{
"layers": [{ "type": "title-background", "text": "Wipe Left" }],
"transition": { "name": "wipeLeft" }
},
{
"layers": [{ "type": "title-background", "text": "Circle Open" }],
"transition": { "name": "circleopen" }
},
{
"layers": [{ "type": "title-background", "text": "3D Cube" }],
"transition": { "name": "cube" }
},
{
"layers": [{ "type": "title-background", "text": "Glitch" }],
"transition": { "name": "GlitchDisplace" }
},
{
"layers": [{ "type": "title-background", "text": "Water Drop" }],
"transition": { "name": "WaterDrop" }
},
{
"layers": [{ "type": "title-background", "text": "Morph" }],
"transition": { "name": "morph" }
},
{
"layers": [{ "type": "title-background", "text": "End" }],
"transition": { "duration": 0 }
}
]
}
}

Complete Transition Reference

Transition NameCategoryDescription
fadeBasicFade through black
fadecolorBasicFade through color
fadegrayscaleBasicFade through grayscale
wipeLeftWipeWipe from left to right
wipeRightWipeWipe from right to left
wipeUpWipeWipe from bottom to top
wipeDownWipeWipe from top to bottom
directionalwipeWipeAdvanced directional wipe
directionalwarpWipeWarping directional effect
DirectionalWipeSimple directional push
circleGeometricCircular transition
circleopenGeometricCircle opening effect
CircleCropGeometricCircle crop transition
hexagonalizeGeometricHexagonal pattern
kaleidoscopeGeometricKaleidoscope effect
pinwheelGeometricPinwheel rotation
GridFlipGeometricGrid flip pattern
randomsquaresGeometricRandom squares
MosaicGeometricMosaic pattern
BowTieHorizontalGeometricHorizontal bow tie
BowTieVerticalGeometricVertical bow tie
cube3D3D cube rotation
SimpleZoomZoomSimple zoom effect
CrossZoomZoomCross zoom transition
DreamyZoomZoomDreamy zoom effect
ZoomInCirclesZoomZoom with circles
rotate_scale_fadeMotionRotate, scale and fade
BounceMotionBouncing effect
GlitchDisplaceDigitalGlitch displacement
GlitchMemoriesDigitalGlitch memories effect
crosshatchDigitalCrosshatch pattern
windowblindsDigitalWindow blinds effect
windowsliceDigitalWindow slice transition
pixelizeDigitalPixelization effect
displacementDistortionDisplacement mapping
crosswarpDistortionCross warping
SwirlDistortionSwirling effect
LinearBlurBlurLinear blur transition
WaterDropOrganicWater drop effect
rippleOrganicRipple effect
luminance_meltOrganicLuminance melting
windOrganicWind effect
undulatingBurnOutOrganicUndulating burn out
burnOrganicBurn transition
DreamyCreativeDreamy effect
ColourDistanceCreativeColor distance
colorphaseCreativeColor phase shift
multiply_blendCreativeMultiply blend
CrazyParametricFunCreativeParametric fun effect
polar_functionCreativePolar function
perlinCreativePerlin noise
angularCreativeAngular transition
squeezeCreativeSqueeze effect
swapCreativeSwap transition
morphCreativeMorphing effect
ButterflyWaveScrawlerSpecialButterfly wave scrawler
DoomScreenTransitionSpecialDoom screen effect
InvertedPageCurlSpecialInverted page curl
PolkaDotsCurtainSpecialPolka dots curtain
RadialSpecialRadial transition
StereoViewerSpecialStereo viewer effect
cannabisleafSpecialCannabis leaf shape
doorwaySpecialDoorway effect
flyeyeSpecialFly eye effect
heartSpecialHeart shape
lumaSpecialLuma transition
squareswireSpecialSquares wire frame

Transition Properties

PropertyTypeRequiredDescription
namestringTransition effect name
durationnumberTransition duration in seconds

Default Transitions

Set default transitions for all clips:

{
"type": "video",
"config": {
"defaults": {
"transition": {
"name": "fade",
"duration": 1
}
},
"clips": [
{
"duration": 3,
"layers": [...]
// Uses default fade transition
},
{
"duration": 2,
"layers": [...],
"transition": {
"name": "wipeLeft",
"duration": 0.5
}
// Overrides default
}
]
}
}

Audio During Transitions

Audio automatically fades during transitions. The duration of the audio fade matches the transition duration.

Timing Best Practices

Transition Duration Guidelines

Transition TypeRecommended DurationUse Case
Quick cuts0.2 - 0.5sFast-paced content
Standard0.8 - 1.5sGeneral purpose
Dramatic2 - 3sCinematic effects
Text transitions0.5 - 1sTitle sequences

Clip Duration Guidelines

Content TypeRecommended DurationNotes
Title cards2 - 4sAllow reading time
Product shots3 - 5sShowcase details
Text content4 - 6sReading comprehension
Action scenes1 - 3sMaintain engagement

Next Steps

  • Audio & Sound - Add background music and audio effects
  • Examples - See complete video examples with transitions
  • Layer Types - Explore all available layer types