Powered by WebAssembly

Fade Video via API

Add professional fade-in and fade-out transitions to your videos. Control duration, start point, and fade color for both video and audio tracks.

Try it in your browser

Loading FFmpeg engine... (~31 MB)

Use the API

curl -X POST https://renderio.dev/v1/commands \
  -H "X-API-KEY: ffsk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "ffmpeg_command": "-i {in_video} -vf \"fade=t=in:st=0:d=1,fade=t=out:st=9:d=1\" -af \"afade=t=in:st=0:d=1,afade=t=out:st=9:d=1\" {out_video}",
  "input_files": {
    "in_video": "https://example.com/input.mp4"
  },
  "output_files": {
    "out_video": "output.mp4"
  }
}'

Need an API key? Get your free API key to start processing files programmatically.

Common Variations

Fade in only (2 seconds)
-i input.mp4 -vf "fade=t=in:st=0:d=2" -af "afade=t=in:st=0:d=2" output.mp4
Fade out only (last 3 seconds)
-i input.mp4 -vf "fade=t=out:st=7:d=3" -af "afade=t=out:st=7:d=3" output.mp4
Fade to white instead of black
-i input.mp4 -vf "fade=t=out:st=9:d=1:color=white" output.mp4

Related Operations

Need to process at scale?

Automate this with the RenderIO FFmpeg API. Process thousands of files programmatically or through no-code video automation.