Triggering renders from Ruby
available from v4.0.232
To trigger a Lambda render using Ruby, install the remotion_lambda gem.
The version should be the same version of the @remotion/lambda NPM package version that you used to deploy your function.
Notes
- This module is experimental and might have breaking changes in minor versions. Check on this page for up-to-date examples.
- The implemented methods are renderMediaOnLambda(),renderStillOnLambda()andgetRenderProgressOnLambda().
- We will maintain the Ruby SDK to ensure the fields stay in sync with the Node.js functions.
- The fields in the input payload are snake_caseversions of the Node.js field names.
- Nested field names, e.g. s3_output_provder.accessKeyIdhave the originalcamelCasecapitalization.
- All fields of the response payloads are in camelCaselike the original Node.js functions.
- The maximum input payload size is around 60KB. The workaround for bigger payloads where they get uploaded to S3 is not implemented in the Ruby SDK.
Rendering a video and getting the progress
Rendering a video from Rubyrb
Rendering a still
Rendering a still from Rubyruby