@remotion/cloudrun
EXPERIMENTAL
Cloud Run is in Alpha, which means APIs may change in any version and documentation is not yet finished. See the changelog to stay up to date with breaking changes.
- npm
- yarn
- pnpm
bash
npm i @remotion/cloudrun
bash
npm i @remotion/cloudrun
bash
pnpm i @remotion/cloudrun
bash
pnpm i @remotion/cloudrun
bash
yarn add @remotion/cloudrun
bash
yarn add @remotion/cloudrun
Also update all the other Remotion packages to have the same version: remotion
, @remotion/cli
and others.
note
Make sure no package version number has a ^
character in front 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:
getServiceInfo()
Gets information about a service
deployService()
Create a new service in GCP Cloud Run
deleteService()
Delete a service in GCP Cloud Run
getServices()
Lists available Remotion Cloud Run services
speculateServiceName()
Speculate a service name based on its configuration
getRegions()
Get all available regions
deploySite()
Bundle and upload a site to Cloud Storage
deleteSite()
Delete a bundle from Cloud Storage
getSites()
Get all available sites from Cloud Storage
getOrCreateBucket()
Ensure a Remotion Cloud Storage bucket exists
renderMediaOnCloudrun()
Trigger a video or audio render
renderStillOnCloudrun()
Trigger a still render
testPermissions()
Ensure permissions are correctly set up in GCP
CLI
See here for a list of CLI commands.