Loading...
Loading...
Render framefields projects on framefields cloud GPUs (api.framefields.dev) or a self-hosted render worker. Use when running `framefields render --cloud`, calling `renderCloud` from `framefields/cloud`, planning cost and workers, splitting a long film across several GPUs, starting renders from the framefields dashboard, getting a project render-ready (push, lockfile, pinned assets, private repos), or fixing a cloud render error code such as ASSET_NOT_FOUND or LOCKFILE_MISSING.
npx skill4agent add gatewai-dev/framefields framefields-cloudframefields.jsonframefields-renderframefieldspackageManagerframefields assets add.gitignoreimport.meta.urlprocess.cwd()node_modulesnpx framefields check <name>FRAMEFIELDS_API_KEYrenderCloudpublicUrlpublicUrlframefields.jsonpackage.jsonnpx framefields render film --cloud --plan # workers, time, estimated cost; renders nothing
npx framefields render film --cloud # render, then download to the render's output
npx framefields render --cloud # the only named render
npx framefields render src/film.ts --cloud --export buildFilm --workers auto # a module, no manifest--workers <n|auto>--max-workers <n>--codec h264|vp9--quality--select--output--export--json--workersworkersauto--max-workers--planPlan: 4 workers, 1 h 50 min of render work, ready in about 35 min, estimated $1.20.probingstitchingDone in …: <file>, <GPU seconds>, <cost>.import { CloudRenderError, renderCloud } from "framefields/cloud";
try {
const result = await renderCloud({
render: "film", // or { entry: "src/film.ts", export: "buildFilm", workers: "auto" }
outputPath: "output/film.mp4",
onProgress: (s) => console.log(s.status, s.progress.frames, s.progress.totalFrames, s.costUsd),
// dryRun: true // plan only: result.plan, result.estimateUsd
});
console.log(result.filePath, result.gpuSeconds, result.costUsd);
} catch (err) {
if (err instanceof CloudRenderError) console.error(err.code, err.message);
else throw err;
}signalcloudClient({ apiKey })startstatuscancelPOST /v1/rendersourcetargetrenderworkersmax_workersdry_runnametitleGETDELETE /v1/render/:idAuthorization: Bearer <key>insufficient_creditsentry| Code | Fix |
|---|---|
| Connect GitHub (Settings → Connections) with access to this repo. |
| |
| Commit a lockfile that installs cleanly. |
| Fix |
| The builder throws or renders/writes; |
| |
| |
| Dashboard render of a remote without a working |
| |
| Upgrade framefields (2.11+) or use |
| |
GIT_NETWORKRENDER_STALLED{ code, hint, retryable }retryableframefields-render