@remotion/cloudrun
EXPERIMENTAL
Cloud Run 处于 Alpha 状态,且尚未积极开发。
- Remotion CLI
- npm
- bun
- pnpm
- yarn
npx remotion add @remotion/cloudrun
This assumes you are currently using v4.0.431 of Remotion.npm i --save-exact @remotion/cloudrun@4.0.431
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.431 of Remotion.pnpm i @remotion/cloudrun@4.0.431
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.431 of Remotion.bun i @remotion/cloudrun@4.0.431
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.431 of Remotion.yarn --exact add @remotion/cloudrun@4.0.431
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 有:
🌐 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
请参见 这里 获取 CLI 命令列表。
🌐 See here for a list of CLI commands.