Declare the inputs
Declare variables on the document, then bind them in the composition. This example exposes a headline and accent color:Test locally
Render one realistic payload before using cloud infrastructure:--strict-variables rejects undeclared keys and values with the wrong type.
Render one version on Lambda
--wait, the command returns a render ID. Check it later with:
Reuse the project upload
lambda render can upload the project for each call. For repeated renders,
create a content-addressed site once:
Render a batch
Create one JSON object per line.outputKey is required; variables and
executionName are optional.
Keep variables small
The complete Step Functions Standard execution input is limited to 256 KiB. HyperFrames checks this before starting the execution. Use variables for JSON data. Store images, audio, and video separately and pass their URLs instead of base64 content.Control concurrency
Three settings control different layers:
Start conservatively and measure a real composition before increasing them.
Use the SDK
For a backend service,@hyperframes/aws-lambda/sdk exposes deploySite,
renderToLambda, and getRenderProgress. See the
AWS package reference for the current types and a
working example.