Run preparation in Node at upload time or in a CLI. It returns files and metadata; your application chooses storage and publishes only after the files are written. Video requires FFmpeg and ffprobe on PATH and an explicit video option. Run heavy video work in a worker, not an edge request.

For a deliberate boomerang, add --boomerang to a GIF or video input. Preparation renders a silent forward/reverse MP4, ready for Video with loop enabled. Clips must be 0.1–10 seconds. Without this option, GIF bytes and animation stay intact.

the output of real preparation

Prepared river landscape