framefields-cloud
Installation
SKILL.md
framefields-cloud
The cloud renders the pushed commit of a project on framefields' GPUs and can split a long film across several. Local rendering, checks and named renders in framefields.json are in framefields-render; project setup is in framefields.
Make the project render-ready
The worker clones the repo, installs from the lockfile, fetches assets and calls the render's export. So:
- Commit and push first. Uncommitted changes aren't rendered (the CLI warns); a commit not on the remote, a folder outside git, or a repo without a remote is refused.
- Commit the lockfile and pin
packageManager. The worker renders with the project's own framefields version (2.11+ for split renders, 2.12+ for named renders). bun lockfiles can't be installed by the worker. - Every input must reach the worker: pinned with
framefields assets add(preferred), tracked in Git LFS and pushed, or committed. Other.gitignored files don't exist there. - Build asset paths from
import.meta.url, neverprocess.cwd(). Nothing may write intonode_moduleswhile rendering. - Builders stay pure: no rendering, generation or writes while building.
npx framefields check <name>runs the same import locally; run it before every cloud render. - Private repos: the user connects GitHub once at https://framefields.dev/dashboard/settings#connections (the framefields GitHub App, ideally on all repositories). Public repos need nothing.
- Key: it bills the account behind
FRAMEFIELDS_API_KEY(https://framefields.dev/dashboard/keys), the same key as the AI gateway. Ask the user to set it in the environment; never print, write or embed it.
Pinned assets: the CLI and renderCloud upload any the bucket lacks and sign reads for remotes without a publicUrl (24 h; keys stay local). Workers download and cache them by hash; R2 downloads are free, unlike LFS bandwidth. Dashboard renders have nobody to sign, so they only read remotes with a publicUrl.