@remotion/lambda
- npm
- yarn
- pnpm
- bun
npm i --save-exact @remotion/lambda@4.0.206
npm i --save-exact @remotion/lambda@4.0.206
pnpm i @remotion/lambda@4.0.206
pnpm i @remotion/lambda@4.0.206
bun i @remotion/lambda@4.0.206
bun i @remotion/lambda@4.0.206
yarn --exact add @remotion/lambda@4.0.206
yarn --exact add @remotion/lambda@4.0.206
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.查看设置指南以获取开始的完整说明。
APIs
以下Node.JS可用:
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
deploySite()
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
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
renderMediaOnLambda()
Trigger a video or audio render
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
CLI
查看这里以获取CLI命令列表。