@remotion/cloudrun
EXPERIMENTAL
Cloud Run is in Alpha status and not actively being developed.
- Remotion CLI
- npm
- bun
- pnpm
- yarn
npx remotion add @remotion/cloudrun
This assumes you are currently using v4.0.417 of Remotion.npm i --save-exact @remotion/cloudrun@4.0.417
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.417 of Remotion.pnpm i @remotion/cloudrun@4.0.417
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.417 of Remotion.bun i @remotion/cloudrun@4.0.417
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.417 of Remotion.yarn --exact add @remotion/cloudrun@4.0.417
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:
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.