Skip to content

🎥 Make videos programmatically with React

public license key

Jonny Burgerb39c322a9f57
diff --git a/packages/docs/docs/cli/studio.mdx b/packages/docs/docs/cli/studio.mdx
index 666b7346f3..72e66fc8c5 100644
--- a/packages/docs/docs/cli/studio.mdx
+++ b/packages/docs/docs/cli/studio.mdx
@@ -106,3 +106,11 @@ npx remotion studio --ipv4
```sh
npx remotion studio --enable-cross-site-isolation
```
+
+### `--public-license-key`<AvailableFrom v="4.0.398" />
+
+<Options id="public-license-key" />
+
+```sh
+npx remotion studio --public-license-key="your-license-key"
+```
diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdx
index f2492277ab..f086692d76 100644
--- a/packages/docs/docs/config.mdx
+++ b/packages/docs/docs/config.mdx
@@ -871,6 +871,20 @@ Using this feature is discouraged. Before using it, we want to make you aware of
Before you use this hack, reach out to the Remotion team on [Discord](https://remotion.dev/discord) and ask us if we are open to implement the feature you need in a clean way - we often do implement new features quickly based on users feedback.
:::
+## `setPublicLicenseKey()`<AvailableFrom v="4.0.398" />
+
+<Options id="public-license-key" />
+<br />
+<br />
+
+```ts twoslash title="remotion.config.ts"
+import {Config} from '@remotion/cli/config';
+// ---cut---
+Config.setPublicLicenseKey('your-license-key');
+```
+
+The [command line flag](/docs/cli/studio#--public-license-key) `--public-license-key` will take precedence over this option.
+
## ~~`setQuality()`~~
Renamed to `setJpegQuality` in `v4.0.0`.