Skip to main content
Render with background_mode=transparent to get a main video + mask video for compositing onto any background.

Workflow

Render with transparent mode

Wait and download

Poll until complete, then download the video and mask from the CDN URLs in the status response.

Composite in your editor

  1. Import character.mp4 and the mask video
  2. Place character.mp4 above your background layer
  3. Add the mask as a Track Matte (Luma Matte)
  4. Character composites over your custom background

Complete script

Tips

If your editor supports chroma keying, use background_mode=solid with bg_color=0,255,0 instead. Traditional green screen without a separate mask file.