🎥 Make videos programmatically with React
add documentation for lambda
Jonny Burgerc1ff34d324ac
diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.mdindex 79e42397a0..8b08cfa3c4 100644--- a/packages/docs/docs/lambda/cli/render.md+++ b/packages/docs/docs/lambda/cli/render.md@@ -12,11 +12,11 @@ Using the `npx remotion lambda render` command, you can render a video in the clThe structure of a command is as follows:```-npx remotion lambda render <serve-url> <composition-id> [<output-location>]+npx remotion lambda render <serve-url> [<composition-id>] [<output-location>]```- The serve URL is obtained by deploying a project to Remotion using the [`sites create`](/docs/lambda/cli/sites#create) command or calling [`deploySite()`](/docs/lambda/deploysite).-- The composition ID is the [`id` of your `<Composition/>`](/docs/the-fundamentals#defining-compositions).+- The [composition ID](/docs/terminology#composition-id). If not specified, the list of compositions will be fetched and you can choose a composition.- The `output-location` parameter is optional. If you don't specify it, the video is stored in your S3 bucket. If you specify a location, it gets downloaded to your device in an additional step.## Example commandsdiff --git a/packages/docs/docs/lambda/cli/still.md b/packages/docs/docs/lambda/cli/still.mdindex 2e9a01d0e2..b06a382e88 100644--- a/packages/docs/docs/lambda/cli/still.md+++ b/packages/docs/docs/lambda/cli/still.md@@ -10,11 +10,11 @@ Using the `npx remotion lambda still` command, you can render a still frame in tThe command has the following structure:```-npx remotion lambda still <serve-url> <composition-id> [<output-location>]+npx remotion lambda still <serve-url> [<composition-id>] [<output-location>]```- The serve URL is obtained by deploying a project to Remotion using the [`sites create`](/docs/lambda/cli/sites#create) command or calling [`deploySite()`](/docs/lambda/deploysite).-- The composition ID is the [`id` of your `<Composition/>`](/docs/the-fundamentals#defining-compositions).+- The [composition ID](/docs/terminology#composition-id). If not specified, the list of compositions will be fetched and you can choose a composition.- The `output-location` parameter is optional. If you don't specify it, the still is stored in your S3 bucket. If you specify a location, it gets downloaded to your device in an additional step.## Example commandsdiff --git a/packages/docs/docs/terminology.md b/packages/docs/docs/terminology.mdindex c906ebe7d1..e68b210a96 100644--- a/packages/docs/docs/terminology.md+++ b/packages/docs/docs/terminology.md@@ -16,6 +16,10 @@ A [`<Sequence>`](/docs/sequence) is a built-in component that manipulates the tiUsing a sequence, you can also trim the start and end of an animation by passing the [`durationInFrames`](/docs/sequence#durationinframes) prop.+## Composition ID++The string that you pass to the [`<Composition>` component](#composition). You need the composition ID to reference what you would like to render, for example: `npx remotion render src/index <composition-id>`. See: [Defining compositions](/docs/the-fundamentals#defining-compositions)+## BundleOnce you have written your video in React, you need to bundle it using Webpack in order to render it. The output artifact of the bundling process is called the bundle. It is a folder containing HTML, CSS, JavaScript and other assets.