Skip to main content

Public Directory

Define the location of the public/ directory. If not defined, Remotion will assume the location is the `public` folder in your Remotion root.

CLI flag​

--public-dir <value>

The following CLI commands accept this option:

APIs that have this option​

The following APIs accept this option:

Config file​

remotion.config.ts
Config.setPublicDir('./custom-public-dir');

See also​