@remotion/lambda
- Remotion CLI
- npm
- bun
- pnpm
- yarn
npx remotion add @remotion/lambda
This assumes you are currently using v4.0.543 of Remotion.npm i --save-exact @remotion/lambda@4.0.543
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.543 of Remotion.pnpm i @remotion/lambda@4.0.543
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.543 of Remotion.bun i @remotion/lambda@4.0.543
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.543 of Remotion.yarn --exact add @remotion/lambda@4.0.543
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.See the setup guide for complete instructions on how to get started.
APIs
The following Node.JS are available:
estimatePrice()
Estimate the price of a render
deployFunction()
Create a new function in AWS Lambda
deleteFunction()
Delete a function in AWS Lambda
getFunctionInfo()
Gets information about a function
getFunctions()
Lists available Remotion Lambda functions
getCompositionsOnLambda()
Gets list of compositions inside a Lambda function
deleteSite()
Delete a bundle from S3
deploySiteFromBundle()
Upload an existing bundle to S3
deploySite()
Deprecated: Bundle and upload a site to S3
getAwsClient()
Access the AWS SDK directly
getRegions()
Get all available regions
getSites()
Get all available sites
downloadMedia()
Download a render artifact from S3
cancelRenderOnLambda()
Cancel an in-progress render
deleteRender()
Delete a render and its metadata from S3
getUserPolicy()
Get the policy JSON for your AWS user
getRolePolicy()
Get the policy JSON for your AWS role
getOrCreateBucket()
Ensure a Remotion S3 bucket exists
getRenderProgress()
Query the progress of a render
presignUrl()
Make a private file public to those with the link
renderFramesOnLambda()
Trigger an image sequence render
renderFramesOnLambdaAndStream()
Render an image sequence and stream progress
renderMediaOnLambda()
Trigger a video or audio render
renderMediaOnLambdaAndStream()
Render a video or audio and stream progress
renderStillOnLambda()
Trigger a still render
simulatePermissions()
Ensure permissions are correctly set up
speculateFunctionName()
Get the lambda function name based on its configuration
validateWebhookSignature()
Validate an incoming webhook request is authentic
appRouterWebhook()
Handle incoming webhooks specifically for the Next.js app router
pagesRouterWebhook()
Handle incoming webhooks specifically for the Next.js pages router
expressWebhook()
Handle incoming webhooks specifically for Express.js
Customization
Function naming convention
Understand the default function names
Custom function names
Deploy functions with your own names
Bucket naming
Use a custom S3 bucket name
Multiple buckets
Use more than one bucket per region
Custom destination
Save renders to another bucket or cloud
Custom Layers
Customize Chrome, fonts, and emojis
CLI
See here for a list of CLI commands.