Skip to content

Server-side Rendering JSON Examples ​

This section provides complete JSON examples for common server-side rendering capabilities. Select a category below; every child page contains complete, parseable business JSON and a key-parameter reference.

The media URLs and package IDs in these examples demonstrate the data structure. Replace them with media accessible to your rendering environment and packages installed in that environment.

Every example is rooted at timeline, which maps to the timeline field of the start synthesis task request body, so it can be copied as is.

Categories ​

CategoryContents
Minimal JSON ExampleContains one video clip and one compound caption for quickly validating the rendering flow.
Video TransitionsBuilt-in transitions, package transitions, and transition duration.
General CaptionsCaption styling, outlines, shadows, layout, position, and rotation.
Stylized CaptionsStyle resources, backgrounds, outlines, shadows, animations, and letter spacing.
StickersGeneral stickers, stickers with audio, and sticker animations.
Compound CaptionsCaption items, per-item styling, and compound-caption transforms.
Timeline EffectsPackage effects, filters, and intensity.
Particle EffectsFull-screen particle parameters and hand-drawn particle paths.
WatermarksCustom-media watermarks and multiple watermark tracks.

Shared Project Fields ​

The following fields form the shared project structure used by the rendering examples. Capability-specific sections focus on transition, caption, sticker, effect, and watermark parameters.

Timeline Fields ​

Field pathPurposeType and constraintsExample values
timeline.compoundCaptionTracks[]Business parameterSee the corresponding object definitionNot set
timeline.durationTimeline position or durationinteger, microseconds; normally >= 049200000
timeline.enableRenderOrderByZValueBusiness parameterSee the corresponding object definitiontrue
timeline.fpsBusiness parameterSee the corresponding object definition25
timeline.isDefaultCaptionFadeBusiness parameterSee the corresponding object definitionfalse
timeline.outputEndBusiness parameterSee the corresponding object definition-1
timeline.outputStartBusiness parameterSee the corresponding object definition0
timeline.outputTypeBusiness parameterSee the corresponding object definitionNot set
timeline.resHeightBusiness parameterSee the corresponding object definition540
timeline.resWidthBusiness parameterSee the corresponding object definition960
timeline.safeFrameSizeBusiness parameterSee the corresponding object definition1
timeline.sizeLevelBusiness parameterSee the corresponding object definition-1
timeline.templateIdPackage, style, or animation IDstring; required when the referenced resource is usedNot set
timeline.timelineFlagsBusiness parameterSee the corresponding object definition562
timeline.videoSizeBusiness parameterSee the corresponding object definition16:9
timeline.volumeVolumenumber; supported range depends on the rendering service1

Shared Track, Clip, and Base-effect Fields ​

Field pathPurposeType and constraintsExample values
timeline.audioTracks[].channelTypeBusiness parameterSee the corresponding object definitionstereo
timeline.audioTracks[].indexObject indexinteger; unique or ordered within the containing collection1
timeline.audioTracks[].showBusiness parameterSee the corresponding object definitiontrue
timeline.audioTracks[].volumeVolumenumber; supported range depends on the rendering service1
timeline.musicLyricsTracks[].indexObject indexinteger; unique or ordered within the containing collection0
timeline.musicLyricsTracks[].showBusiness parameterSee the corresponding object definitiontrue
timeline.videoTracks[].channelTypeBusiness parameterSee the corresponding object definitionstereo
timeline.videoTracks[].indexObject indexinteger; unique or ordered within the containing collection2 to 3
timeline.videoTracks[].showBusiness parameterSee the corresponding object definitiontrue
timeline.videoTracks[].videos[].aliasTagBusiness parameterSee the corresponding object definitionNot set
timeline.videoTracks[].videos[].blendingModeBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].captions[]Business parameterSee the corresponding object definitionNot set
timeline.videoTracks[].videos[].combinationBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].combinationOrderBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].enableClipFreezeFrameBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].enableRawSourceModeBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].extraRotationBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].fadeInDurationBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].fadeOutDurationBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].fillModeBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].freezeFrameTrimPosBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].horizontalFlipBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].idPackage, style, or animation IDstring; required when the referenced resource is used155953 to 156213
timeline.videoTracks[].videos[].inPointTimeline position or durationinteger, microseconds; normally >= 0520000 to 34480000
timeline.videoTracks[].videos[].indexObject indexinteger; unique or ordered within the containing collection0 to 2
timeline.videoTracks[].videos[].isTimelineClipBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].keepAudioPitchBusiness parameterSee the corresponding object definitiontrue
timeline.videoTracks[].videos[].m3u8PathBusiness parameterSee the corresponding object definition/m3u8/0c3fef7c-7b57-4cd7-9cee-1604e90d59d5.m3u8, /m3u8/4281f88f-8cf3-4a15-acb5-f5be6a37158f.m3u8, /m3u8/c1bc8ea2-b964-44a1-b2ad-5693533f6b7e.m3u8
timeline.videoTracks[].videos[].noAudioBusiness parameterSee the corresponding object definitiontrue, false
timeline.videoTracks[].videos[].outPointTimeline position or durationinteger, microseconds; normally >= 014440000 to 49200000
timeline.videoTracks[].videos[].pathMedia URLstring; must be reachable by the rendering service3 non-empty values
timeline.videoTracks[].videos[].rawFilterProcessesModeBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].refImageHeightBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].refImageWidthBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].reverseBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].reversePathBusiness parameterSee the corresponding object definitionNot set
timeline.videoTracks[].videos[].separatedBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].speedBusiness parameterSee the corresponding object definition1
timeline.videoTracks[].videos[].stickers[]Business parameterSee the corresponding object definitionNot set
timeline.videoTracks[].videos[].trimInTimeline position or durationinteger, microseconds; normally >= 00
timeline.videoTracks[].videos[].trimOutTimeline position or durationinteger, microseconds; normally >= 013920000 to 20040000
timeline.videoTracks[].videos[].verticalFlipBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].videoFxs[].absoluteTimeUsedBusiness parameterSee the corresponding object definitiontrue
timeline.videoTracks[].videos[].videoFxs[].durationTimeline position or durationinteger, microseconds; normally >= 0-1
timeline.videoTracks[].videos[].videoFxs[].fxParams[].keyEffect parameter namestring; defined by the SDK or package36 values
timeline.videoTracks[].videos[].videoFxs[].fxParams[].typeObject or parameter typestring; allowed values depend on the containing objectfloat, menu, color, bool
timeline.videoTracks[].videos[].videoFxs[].fxParams[].valueParameter valuestring; logical numbers and booleans remain strings7 values
timeline.videoTracks[].videos[].videoFxs[].inPointTimeline position or durationinteger, microseconds; normally >= 00
timeline.videoTracks[].videos[].videoFxs[].indexObject indexinteger; unique or ordered within the containing collection0 to 8
timeline.videoTracks[].videos[].videoFxs[].intensityEffect intensitynumber; [0, 1]1
timeline.videoTracks[].videos[].videoFxs[].isIgnoreBackgroundBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].videoFxs[].isInverseRegionBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].videoFxs[].isRawBusiness parameterSee the corresponding object definitionfalse, true
timeline.videoTracks[].videos[].videoFxs[].isRegionalBusiness parameterSee the corresponding object definitionfalse
timeline.videoTracks[].videos[].videoFxs[].nameBuilt-in effect namestring; required when type=builtin7 values
timeline.videoTracks[].videos[].videoFxs[].regionalFeatherWidthBusiness parameterSee the corresponding object definition0
timeline.videoTracks[].videos[].videoFxs[].shapeBusiness parameterSee the corresponding object definitionNot set
timeline.videoTracks[].videos[].videoFxs[].typeObject or parameter typestring; allowed values depend on the containing objectproperty, builtin
timeline.videoTracks[].videos[].volumeVolumenumber; supported range depends on the rendering service0 to 1
timeline.videoTracks[].volumeVolumenumber; supported range depends on the rendering service1

Parameter Reference ​

Object Paths ​

CapabilityJSON path
Video transitionstimeline.videoTracks[].transitions[]
General and stylized captionstimeline.captionTracks[].captions[]
Stickerstimeline.stickerTracks[].stickers[]
Compound captionstimeline.captionTracks[].compoundCaptions[]
Timeline effectstimeline.timelineVideoFxTracks[].timelineVideoFxs[]
Watermarkstimeline.watermarkTracks[].stickerTracks[].stickers[]

Parameter Rules ​

ParameterRule
Timeline timeinPoint, outPoint, trimIn, trimOut, and ordinary duration values use microseconds.
Animation timeanimationPeroid, inAnimationDuration, and outAnimationDuration use milliseconds.
Curve-point timecurvePoint.timeSec uses seconds.
ColorColors use #AARRGGBB; the first two digits are alpha.
Effect intensityintensity must be within [0, 1].
Built-in effectA non-empty name is required when type=builtin.
Package effectA non-empty id is required when type=package.
Parameter valuefxParams[].value and keyFrames[].value remain strings.
Array orderVideo clips, transitions, effects, keyframes, and caption items are processed in array order.
Media URLThe rendering service must be able to access path values for ordinary media and custom watermarks.